Пример #1
0
        /// <summary>
        /// Shows the welcome page.
        /// </summary>
        /// <param name="sender">Control that sent the welcome page request.</param>
        internal void ShowWelcomePage(object sender)
        {
            this.SuspendLayout();

            this.workPage = null;

            this.Controls.Clear();
            this.Controls.Add(this.welcomePage);
            this.Controls.Add(this.statusStrip);

            this.ResumeLayout(true);
        }
Пример #2
0
        /// <summary>
        /// Shows the work page for the specified extension.
        /// </summary>
        /// <param name="sender">Control that sent the work page request.</param>
        /// <param name="extension">Extension to show the work page for.</param>
        internal void ShowWorkPage(object sender, ClickThroughUIExtension extension)
        {
            this.SuspendLayout();

            this.workPage           = new WorkPage();
            this.workPage.Dock      = DockStyle.Fill;
            this.workPage.Extension = extension;

            this.Controls.Clear();
            this.Controls.Add(this.workPage);
            this.Controls.Add(this.statusStrip);

            this.ResumeLayout(true);
        }
Пример #3
0
        /// <summary>
        /// Shows the work page for the specified extension.
        /// </summary>
        /// <param name="sender">Control that sent the work page request.</param>
        /// <param name="extension">Extension to show the work page for.</param>
        internal void ShowWorkPage(object sender, ClickThroughUIExtension extension)
        {
            this.SuspendLayout();

            this.workPage = new WorkPage();
            this.workPage.Dock = DockStyle.Fill;
            this.workPage.Extension = extension;

            this.Controls.Clear();
            this.Controls.Add(this.workPage);
            this.Controls.Add(this.statusStrip);

            this.ResumeLayout(true);
            this.workPage.Focus();
        }
Пример #4
0
        /// <summary>
        /// Shows the welcome page.
        /// </summary>
        /// <param name="sender">Control that sent the welcome page request.</param>
        internal void ShowWelcomePage(object sender)
        {
            this.SuspendLayout();

            this.workPage = null;

            this.Controls.Clear();
            this.Controls.Add(this.welcomePage);
            this.Controls.Add(this.statusStrip);

            this.ResumeLayout(true);
            this.welcomePage.Focus();
        }