Exemple #1
0
        private void ConfigEControl_Load(object sender, EventArgs e)
        {
            if (m_IsInitializing == true)
            {
                return;
            }
            else
            {
                m_IsInitializing = true;
            }

            m_ConfigEControlSub0           = new PolicyEControlSub0();
            m_ConfigEControlSub0.Dock      = DockStyle.Fill;
            m_ConfigEControlSub0.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
            m_ConfigEControlSub0.Visible   = false;

            m_ConfigEControlSub1           = new PolicyEControlSub1();
            m_ConfigEControlSub1.Dock      = DockStyle.Fill;
            m_ConfigEControlSub1.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
            m_ConfigEControlSub1.Visible   = false;

            m_ConfigEControlSub2           = new PolicyEControlSub2();
            m_ConfigEControlSub2.Dock      = DockStyle.Fill;
            m_ConfigEControlSub2.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
            m_ConfigEControlSub2.Visible   = false;

            m_ConfigEControlSub3           = new PolicyEControlSub3();
            m_ConfigEControlSub3.Dock      = DockStyle.Fill;
            m_ConfigEControlSub3.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
            m_ConfigEControlSub3.Visible   = false;

            m_ConfigEControlSub4           = new PolicyEControlSub4();
            m_ConfigEControlSub4.Dock      = DockStyle.Fill;
            m_ConfigEControlSub4.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
            m_ConfigEControlSub4.Visible   = false;

            m_ConfigEControlSub5           = new PolicyEControlSub5();
            m_ConfigEControlSub5.Dock      = DockStyle.Fill;
            m_ConfigEControlSub5.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
            m_ConfigEControlSub5.Visible   = false;

            m_ConfigEControlSub6                     = new PolicyEControlSub6();
            m_ConfigEControlSub6.Dock                = DockStyle.Fill;
            m_ConfigEControlSub6.BackColor           = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);
            m_ConfigEControlSub6.Visible             = false;
            m_ConfigEControlSub6.EventButtonSetting += new EventHandler(OnEventButtonSetting);

            m_CurrentConfigEControlSub = m_ConfigEControlSub0;
            this.Panel.Controls.Add(m_ConfigEControlSub0);
            this.Panel.Controls.Add(m_ConfigEControlSub1);
            this.Panel.Controls.Add(m_ConfigEControlSub2);
            this.Panel.Controls.Add(m_ConfigEControlSub3);
            this.Panel.Controls.Add(m_ConfigEControlSub4);
            this.Panel.Controls.Add(m_ConfigEControlSub5);
            this.Panel.Controls.Add(m_ConfigEControlSub6);

            this.ButtonO_Click(this, EventArgs.Empty);
        }
        private void ConfigEControl_Load( object sender, EventArgs e )
        {
            if ( m_IsInitializing == true )
                return;
            else
                m_IsInitializing = true;

            m_ConfigEControlSub0 = new PolicyEControlSub0();
            m_ConfigEControlSub0.Dock = DockStyle.Fill;
            m_ConfigEControlSub0.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE );
            m_ConfigEControlSub0.Visible = false;

            m_ConfigEControlSub1 = new PolicyEControlSub1();
            m_ConfigEControlSub1.Dock = DockStyle.Fill;
            m_ConfigEControlSub1.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE );
            m_ConfigEControlSub1.Visible = false;

            m_ConfigEControlSub2 = new PolicyEControlSub2();
            m_ConfigEControlSub2.Dock = DockStyle.Fill;
            m_ConfigEControlSub2.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE );
            m_ConfigEControlSub2.Visible = false;

            m_ConfigEControlSub3 = new PolicyEControlSub3();
            m_ConfigEControlSub3.Dock = DockStyle.Fill;
            m_ConfigEControlSub3.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE );
            m_ConfigEControlSub3.Visible = false;

            m_ConfigEControlSub4 = new PolicyEControlSub4();
            m_ConfigEControlSub4.Dock = DockStyle.Fill;
            m_ConfigEControlSub4.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE );
            m_ConfigEControlSub4.Visible = false;

            m_ConfigEControlSub5 = new PolicyEControlSub5();
            m_ConfigEControlSub5.Dock = DockStyle.Fill;
            m_ConfigEControlSub5.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE );
            m_ConfigEControlSub5.Visible = false;

            m_ConfigEControlSub6 = new PolicyEControlSub6();
            m_ConfigEControlSub6.Dock = DockStyle.Fill;
            m_ConfigEControlSub6.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE );
            m_ConfigEControlSub6.Visible = false;
            m_ConfigEControlSub6.EventButtonSetting += new EventHandler( OnEventButtonSetting );

            m_CurrentConfigEControlSub = m_ConfigEControlSub0;
            this.Panel.Controls.Add( m_ConfigEControlSub0 );
            this.Panel.Controls.Add( m_ConfigEControlSub1 );
            this.Panel.Controls.Add( m_ConfigEControlSub2 );
            this.Panel.Controls.Add( m_ConfigEControlSub3 );
            this.Panel.Controls.Add( m_ConfigEControlSub4 );
            this.Panel.Controls.Add( m_ConfigEControlSub5 );
            this.Panel.Controls.Add( m_ConfigEControlSub6 );

            this.ButtonO_Click( this, EventArgs.Empty );

        }