예제 #1
0
        private void btnThemPDKy_Click(object sender, EventArgs e)
        {
            PhieuDangKy pdk = new PhieuDangKy();

            pdk.ShowDialog();
            ptctrl.HienthiComboBoxMaPhieuThue(cmbMaPThue);
        }
 private void DataGridview_DoubleClick(object sender, EventArgs e)
 {
     if (dangky == null || dangky.IsDisposed)
     {
         dangky = new PhieuDangKy(ctrl);
         dangky.Show();
     }
     else
     {
         dangky.Activate();
     }
 }
 private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
 {
     if (dangky == null || dangky.IsDisposed)
     {
         dangky = new PhieuDangKy();
         dangky.Show();
     }
     else
     {
         dangky.Activate();
     }
 }
예제 #4
0
        private void buttonX1_Click(object sender, EventArgs e)
        {
            PhieuDangKy pdk = new PhieuDangKy();

            pdk.ShowDialog();
        }