コード例 #1
0
        private void barButtonItem19_ItemClick(object sender, ItemClickEventArgs e)
        {
            frm_QL_NhomNguoiDung frm = new frm_QL_NhomNguoiDung();

            frm.MdiParent = this;
            frm.Show();
            StartPosition = FormStartPosition.CenterParent;
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: QLTC-DAMH-Vern/QLTC_Ver2
        private void barButtonItem19_ItemClick(object sender, ItemClickEventArgs e)
        {
            foreach (Form child in MdiChildren)
            {
                if (child.Name == a.Name)
                {
                    child.Activate();
                    return(true);
                }
            }
            return(false);

            frm_QL_NhomNguoiDung frm = new frm_QL_NhomNguoiDung();

            frm.MdiParent = this;
            frm.Show();
            StartPosition = FormStartPosition.CenterParent;
        }