Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Developing a simple Windows system tray desktop app to consume a .NET web service

I'm required to develop a simple Windows system tray desktop app to consume a .NET web service but I'm proficient in PHP, and I have little background in desktop applications. What platform would you advise me to use, preferably with a very low learning curve?

The system tray app will show (in a context menu) a counter of notifications of new events as received from the .NET web service; and will also write all the event logs into a text file.

I'm already thinking Adobe AIR or C# .NET but I want to know if there are any better options that I can learn quickly to develop the app.

like image 293
Cogicero Avatar asked Nov 30 '12 10:11

Cogicero


People also ask

How do you make a an app in the system tray?

Instead, double-click the app to start running it in the background. It's a portable app and doesn't install anything. Then, right-click the minimize button in any window to instantly minimize it to the system tray. When you want it back, click the minimized app's icon to maximize it and return it to the taskbar.

What is Windows system tray?

The system tray (or "systray") is a section of the taskbars in the Microsoft Windows operating system (OS) user interface that provides easy access icons to the user's most commonly used apps and displays the clock. A system tray is also available in other OSes such as Linux, Mac OS, Android and iOS.

What is the system app tray?

The system tray, also known as the notification area or taskbar status area, is a display menu where users can access various shortcuts and commands.


1 Answers

Keep it all in .NET. You can easily write a Windows Forms application to display a tray icon and display notifications as and when something happens in the web service (you'd probably need a timer to do the polling).

There are plenty of articles around that will show you how to do this. Here's one to get you started:

http://www.codeproject.com/Articles/290013/Formless-System-Tray-Application

like image 196
Lloyd Avatar answered Oct 17 '22 09:10

Lloyd