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;
        }
예제 #2
0
        /// <summary>
        /// Shows the status window.
        /// </summary>
        protected void ShowStatusWindow()
        {
            if (statusWindow == null) statusWindow = new StatusWindow();

            statusWindow.Bind(Model);
        }