private void 设置布局RToolStripMenuItem_Click(object sender, EventArgs e) { FrmLayout frm = new FrmLayout(); frm.LayoutList = (this.tcMain.SelectedTabPage.Controls[0] as PageControl).LayoutList; frm.ControlType = htPage[this.tcMain.SelectedTabPage]; frm.ShowDialog(this); }
private void btnLayout_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FrmLayout frm = new FrmLayout(); frm.ControlType = this.GetType(); frm.LayoutList = this.LayoutList; frm.ShowDialog(this); }
public virtual void RefreshLayout() { FrmLayout.SetLayout(this.LayoutList, this.GetType()); }
private void FrmBase_Load(object sender, EventArgs e) { FrmLayout.SetLayout(this.LayoutList, this.GetType()); }