Source/Wizard/WizardPage.cs

(开头部分) 20KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Text;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;

namespace DevComponents.DotNetBar
{
    [ToolboxItem(false), Designer(typeof(Design.WizardPageDesigner))]
    public class WizardPage : PanelControl
    {
        #region Private Variables
        private eWizardButtonState m_BackButtonEnabled = eWizardButtonState.Auto;
        private eWizardButtonState m_BackButtonVisible = eWizardButtonState.Auto;

        private eWizardButtonState m_NextButtonEnabled = eWizardButtonState.Auto;
        private eWizardButtonState m_NextButtonVisible = eWizardButtonState.Auto;

        private eWizardButtonState m_FinishButtonEnabled = eWizardButtonState.Auto;

        private eWizardButtonState m_CancelButtonEnabled = eWizardButtonState.Auto;
        private eWizardButtonState m_CancelButtonVisible = eWizardButtonState.Auto;

        private eWizardButtonState m_HelpButtonEnabled = eWizardButtonState.Auto;
        private eWizardButtonState m_HelpButtonVisible = eWizardButtonState.Auto;

        private string m_PageTitle = "";
        private string m_PageDescription = "";
        private Image m_PageHeaderImage = null;
        private string m_FormCaption = "";

        private bool m_InteriorPage = true;
        #endregion

        #region Events
        /// <summary>
        /// Occurs before page is displayed. This event can cancel the page change. You can perform any additional setup of the Wizard page in this event.
        /// </summary>
        [Description("Occurs before page is displayed")]
        public event WizardCancelPageChangeEventHandler BeforePageDisplayed;

        /// <summary>
        /// Occurs after page has been displayed.This event can cancel the page change. You can perform any additional setup of the Wizard page in this event.
        /// </summary>
        [Description("Occurs before page is displayed")]
        public event WizardPageChangeEventHandler AfterPageDisplayed;

        /// <summary>
        /// Occurs after page is hidden. You can perform any additional steps that are needed to complete wizard step in this event.
        /// </summary>
        public event WizardPageChangeEventHandler AfterPageHidden;

        /// <summary>
        /// Occurs when Back button is clicked. You can cancel any default processing performed by Wizard control by setting Cancel=true on event arguments.
        /// </summary>
        [Description("Occurs when Back button is clicked.")]
        public event CancelEventHandler BackButtonClick;
        /// <summary>
        /// Occurs when Next button is clicked. You can cancel any default processing performed by Wizard control by setting Cancel=true on event arguments.
        /// </summary>
后面还有 483 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。