示例#1
0
 /// <summary>
 /// Shuts down the system tray hooks.
 /// </summary>
 public void ShutdownSystray()
 {
     InteropCalls.ShutdownSystray();
 }
示例#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;
        }
示例#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);
 }