Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
 public virtual void RefreshLayout()
 {
     FrmLayout.SetLayout(this.LayoutList, this.GetType());
 }
Beispiel #4
0
 private void FrmBase_Load(object sender, EventArgs e)
 {
     FrmLayout.SetLayout(this.LayoutList, this.GetType());
 }