Exemple #1
0
 private void btnCanTong_Click(object sender, EventArgs e)
 {
     Utilities.KLCan   = blKLCan.Text;
     Utilities.LoaiCan = "CanTong";
     _frmPhieuCan      = new frmPhieuCan(this);
     _frmPhieuCan.ShowDialog();
 }
Exemple #2
0
        private void btnTaoMoi_Click(object sender, EventArgs e)
        {
            Utilities.KLCan = blKLCan.Text;
            _frmPhieuCan    = new frmPhieuCan(this);

            // reset BSX
            Utilities.BienSoXe = null;

            new Thread(new ThreadStart(LayBienSoXe)).Start();

            _frmPhieuCan.ShowDialog();
        }
Exemple #3
0
 private void dGVPhieuCan_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     try
     {
         int numrow;
         numrow             = e.RowIndex;
         Utilities.PhieuCan = _PhieuCanCtrl.LayPhieuCan2(dGVPhieuCan.Rows[numrow].Cells[0].Value.ToString());
         Utilities.KLCan    = blKLCan.Text;
         frmPhieuCan frmPhieuCan = new frmPhieuCan(this);
         frmPhieuCan.ShowDialog();
     }
     catch
     {
         Utilities.frmMain.lbThongBao.Text = "Lỗi";
     }
 }
Exemple #4
0
 private void btnTimPhieu_Click(object sender, EventArgs e)
 {
     Utilities.KLCan = blKLCan.Text;
     _frmPhieuCan    = new frmPhieuCan(this);
     _frmPhieuCan.ShowDialog();
 }