コード例 #1
0
 private void btnHuy_Click(object sender, EventArgs e)
 {
     if (BaseMessages.ShowUndoQuestionMessage() == DialogResult.No)
     {
         return;
     }
     LockEdit(true);
     Loadfg();
 }
コード例 #2
0
 private void btnHuy_Click(object sender, EventArgs e)
 {
     if (BaseMessages.ShowUndoQuestionMessage() == DialogResult.No)
     {
         return;
     }
     LockEdit(true);
     fg.Cols["SoLuongXuat"].Visible = false;
     fg.Cols["ID_KhoXuat"].Visible  = false;
     Loadfg();
     cmbKho.EditValue = 0;
 }
コード例 #3
0
        private void btnHuy_Click(object sender, EventArgs e)
        {
            int fgRow = fgQD.Row;

            if (BaseMessages.ShowUndoQuestionMessage() == DialogResult.No)
            {
                return;
            }
            LockEdit(true);
            LockEditfgChiTiet(true);
            Loadfg();

            ResetTextboxs();
            fgChiTiet.Rows.Count = fgChiTiet.Rows.Fixed;

            fgQD.Row = fgRow;
        }