コード例 #1
0
        private void btnThemDaiLy_Click(object sender, EventArgs e)
        {
            frmDaiLy DaiLy = new frmDaiLy();

            DaiLy.ShowDialog();
            ctrlKhachHang.HienthiAutoComboBox(cmbKhachHang, true);
        }
コード例 #2
0
 private void mnuDaiLy_Click(object sender, EventArgs e)
 {
     if (DaiLy == null || DaiLy.IsDisposed)
     {
         DaiLy           = new frmDaiLy();
         DaiLy.MdiParent = this;
         DaiLy.Show();
     }
     else
     {
         DaiLy.Activate();
     }
 }