private UCRightPane() { this.InitializeComponent(); base.SuspendLayout(); this._tabctrl = new TabControl(); base.Controls.Add(this._tabctrl); this._tabctrl.Dock = DockStyle.Fill; this._uctoolbar = new UCItemToolBar(); this._uctoolbar.Dock = DockStyle.Fill; TabPage tabPage = new TabPage(); tabPage.Text = this._uctoolbar.Title; tabPage.Controls.Add(this._uctoolbar); this._tabctrl.TabPages.Add(tabPage); this._ucsum = UCSummary.GetInstance(); this._ucsum.Dock = DockStyle.Fill; TabPage tabPage2 = new TabPage(); tabPage2.Text = this._ucsum.Title; tabPage2.Controls.Add(this._ucsum); this._tabctrl.TabPages.Add(tabPage2); this._tabctrl.MouseClick += new MouseEventHandler(this._tabctrl_MouseClick); base.ResumeLayout(); }
// Methods public NestIPropertiesSetting(UCItemToolBar bar) { this._bar = bar; }
public void SetDispatchObj(UCItemToolBar bar) { this._ucitemtoolbar = bar; }