Пример #1
0
        private void btnPhong_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            FrmPhong fPhong = new FrmPhong();

            fPhong.MdiParent = this;
            fPhong.Show();
        }
Пример #2
0
        private void barButtonItem7_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = Checkform((typeof(FrmPhong)));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                FrmPhong frmPhong = new FrmPhong();
                frmPhong.MdiParent = this;
                frmPhong.Show();
            }
        }