コード例 #1
0
ファイル: WizardForm.cs プロジェクト: uvbs/FullSource
        public WizardForm()
        {
            InitializeComponent();

            m_Panels = new WizardPanelCollection();

            m_Panels.AddPanel += new WizardPanelCollection.AddPanelHandler(m_Panels_AddPanel);

            m_Panels.AddPanelRange += new WizardPanelCollection.AddPanelRangeHandler(m_Panels_AddPanelRange);

            m_Panels.InsertPanel += new WizardPanelCollection.InsertPanelHandler(m_Panels_InsertPanel);

            m_Panels.RemovePanel += new WizardPanelCollection.RemovePanelHandler(m_Panels_RemovePanel);
        }
コード例 #2
0
ファイル: WizardControl.cs プロジェクト: NTDLS/SyntaxBox
        public WizardControl()
        {
            InitializeComponent();

            m_Panels = new WizardPanelCollection();

            m_Panels.AddPanel += new WizardPanelCollection.AddPanelHandler(m_Panels_AddPanel);

            m_Panels.AddPanelRange += new WizardPanelCollection.AddPanelRangeHandler(m_Panels_AddPanelRange);

            m_Panels.InsertPanel += new WizardPanelCollection.InsertPanelHandler(m_Panels_InsertPanel);

            m_Panels.RemovePanel += new WizardPanelCollection.RemovePanelHandler(m_Panels_RemovePanel);

            this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true);
        }