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