コード例 #1
0
        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);
        }