Exemplo n.º 1
0
 private void tstbtnSave_Click(object sender, EventArgs e)
 {
     try
     {
         _storeProcessor.UpdateStoreLimit(_currentStore);
         _drugStoreInfoDt.Rows[dgrdStoreInfo.CurrentCell.RowIndex]["UPPERLIMIT"] = _currentStore.UpperLimit;
         _drugStoreInfoDt.Rows[dgrdStoreInfo.CurrentCell.RowIndex]["LOWERLIMIT"] = _currentStore.LowerLimit;
         _currentState = NORMAL;
         ShowState();
         txtQueryCode.Focus();
     }
     catch (Exception error)
     {
         MessageBox.Show(error.Message);
     }
 }