Beispiel #1
0
 /// <summary>
 /// Shuts down the system tray hooks.
 /// </summary>
 public void ShutdownSystray()
 {
     InteropCalls.ShutdownSystray();
 }
Beispiel #2
0
        //private SystrayDelegate trayDelegate;
        //private WndProcDelegate wndProcDelegate;

        /// <summary>
        /// Sets the delegate for the system tray callback.
        /// </summary>
        /// <param name="theDelegate">The system tray callback delegate.</param>
        public void SetSystrayCallback(SystrayDelegate theDelegate)
        {
            InteropCalls.SetSystrayCallback(theDelegate);

            //trayDelegate = theDelegate;
        }
Beispiel #3
0
 /// <summary>
 /// Starts the system tray listener (send the TaskbarCreated message).
 /// </summary>
 public void Run()
 {
     InteropCalls.Run();
 }
 /// <summary>
 /// Sets the delegate for the icon data callback.
 /// </summary>
 /// <param name="theDelegate">The system tray callback delegate.</param>
 public void SetIconDataCallback(IconDataDelegate theDelegate)
 {
     InteropCalls.SetIconDataCallback(theDelegate);
 }