Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }