private void ConfigBControl_Load(object sender, EventArgs e) { if (m_IsInitializing == true) { return; } else { m_IsInitializing = true; } m_ConfigBControlSub0 = new PolicyDControlSub0(); m_ConfigBControlSub0.Dock = DockStyle.Fill; m_ConfigBControlSub0.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); m_ConfigBControlSub0.Visible = false; m_ConfigBControlSub1 = new PolicyDControlSub1(); m_ConfigBControlSub1.Dock = DockStyle.Fill; m_ConfigBControlSub1.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); m_ConfigBControlSub1.Visible = false; m_ConfigBControlSub2 = new PolicyDControlSub2(); m_ConfigBControlSub2.Dock = DockStyle.Fill; m_ConfigBControlSub2.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); m_ConfigBControlSub2.Visible = false; m_ConfigBControlSub3 = new PolicyDControlSub3(); m_ConfigBControlSub3.Dock = DockStyle.Fill; m_ConfigBControlSub3.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); m_ConfigBControlSub3.Visible = false; m_ConfigBControlSub4 = new PolicyDControlSub4(); m_ConfigBControlSub4.Dock = DockStyle.Fill; m_ConfigBControlSub4.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); m_ConfigBControlSub4.Visible = false; m_ConfigBControlSub5 = new PolicyDControlSub5(); m_ConfigBControlSub5.Dock = DockStyle.Fill; m_ConfigBControlSub5.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); m_ConfigBControlSub5.Visible = false; m_ConfigBControlSub6 = new PolicyDControlSub6(); m_ConfigBControlSub6.Dock = DockStyle.Fill; m_ConfigBControlSub6.BackColor = MainForm.Instance.AxSkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); m_ConfigBControlSub6.Visible = false; m_CurrentConfigBControlSub = m_ConfigBControlSub0; this.Panel.Controls.Add(m_ConfigBControlSub0); this.Panel.Controls.Add(m_ConfigBControlSub1); this.Panel.Controls.Add(m_ConfigBControlSub2); this.Panel.Controls.Add(m_ConfigBControlSub3); this.Panel.Controls.Add(m_ConfigBControlSub4); this.Panel.Controls.Add(m_ConfigBControlSub5); this.Panel.Controls.Add(m_ConfigBControlSub6); this.ButtonO_Click(this, EventArgs.Empty); }
private void ConfigBControl_Load( object sender, EventArgs e ) { if ( m_IsInitializing == true ) return; else m_IsInitializing = true; m_ConfigBControlSub0 = new PolicyDControlSub0(); m_ConfigBControlSub0.Dock = DockStyle.Fill; m_ConfigBControlSub0.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE ); m_ConfigBControlSub0.Visible = false; m_ConfigBControlSub1 = new PolicyDControlSub1(); m_ConfigBControlSub1.Dock = DockStyle.Fill; m_ConfigBControlSub1.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE ); m_ConfigBControlSub1.Visible = false; m_ConfigBControlSub2 = new PolicyDControlSub2(); m_ConfigBControlSub2.Dock = DockStyle.Fill; m_ConfigBControlSub2.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE ); m_ConfigBControlSub2.Visible = false; m_ConfigBControlSub3 = new PolicyDControlSub3(); m_ConfigBControlSub3.Dock = DockStyle.Fill; m_ConfigBControlSub3.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE ); m_ConfigBControlSub3.Visible = false; m_ConfigBControlSub4 = new PolicyDControlSub4(); m_ConfigBControlSub4.Dock = DockStyle.Fill; m_ConfigBControlSub4.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE ); m_ConfigBControlSub4.Visible = false; m_ConfigBControlSub5 = new PolicyDControlSub5(); m_ConfigBControlSub5.Dock = DockStyle.Fill; m_ConfigBControlSub5.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE ); m_ConfigBControlSub5.Visible = false; m_ConfigBControlSub6 = new PolicyDControlSub6(); m_ConfigBControlSub6.Dock = DockStyle.Fill; m_ConfigBControlSub6.BackColor = MainForm.Instance.AxSkinFramework.GetColor( XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE ); m_ConfigBControlSub6.Visible = false; m_CurrentConfigBControlSub = m_ConfigBControlSub0; this.Panel.Controls.Add( m_ConfigBControlSub0 ); this.Panel.Controls.Add( m_ConfigBControlSub1 ); this.Panel.Controls.Add( m_ConfigBControlSub2 ); this.Panel.Controls.Add( m_ConfigBControlSub3 ); this.Panel.Controls.Add( m_ConfigBControlSub4 ); this.Panel.Controls.Add( m_ConfigBControlSub5 ); this.Panel.Controls.Add( m_ConfigBControlSub6 ); this.ButtonO_Click( this, EventArgs.Empty ); }