public SuperbarPresenter() { timer = new Timer(); Taskbar.AppID = "HudsonTray"; jumpList = Taskbar.JumpList; firstPoll = true; OnStatusChange += SuperbarPresenterOnStatusChange; statusWindow = new StatusWindow { WindowState = WindowState.Minimized }; statusWindow.Show(); statusWindow.HideOnClose = false; }
/// <summary> /// Shows the status window. /// </summary> protected void ShowStatusWindow() { if (statusWindow == null) statusWindow = new StatusWindow(); statusWindow.Bind(Model); }