Esempio n. 1
0
        /// <summary>
        /// 载入每一步的控件
        /// </summary>
        protected virtual void LoadStepControl(CWizardTitleBase title, CWizardContentBase content)
        {
            title.Dock = DockStyle.Fill;
            TitlePanel.SuspendLayout();
            TitlePanel.Controls.Clear();
            TitlePanel.Controls.Add(title);
            TitlePanel.ResumeLayout(false);

            content.Dock = DockStyle.Fill;
            ContentPanel.SuspendLayout();
            ContentPanel.Controls.Clear();
            ContentPanel.Controls.Add(content);
            ContentPanel.ResumeLayout(false);
        }