예제 #1
0
        private void taoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DC1.tenhs = Connect.GetStr(grvKQ.GetFocusedRowCellValue(colmshs));
            Form frm = new Forms.ThoaiKX.ThoaiTest();

            frm.ShowDialog();
        }
예제 #2
0
 private void inBiểuĐồDinhToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Modules.DC1.iform == 1)
     {
         Modules.DC1.iform = 2;
         Form frm = new Forms.ThoaiKX.ThoaiTest();
         frm.MdiParent = this;
         frm.Show();
     }
     else
     {
         MessageBox.Show("Bạn cần đóng form hiện tại!", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }