private void EditButton_Click(object sender, EventArgs e) { HPS.BLL.StopFeeBLL.BLLStopFee_TKeys StopFeeKey = new HPS.BLL.StopFeeBLL.BLLStopFee_TKeys(); StopFeeKey.StopFeeID_int = (Int32)this.StopFeeGridView.CurrentRow.Cells["colStopFeeID_int"].Value; StopFeeEntityForm StopFee = new StopFeeEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.StopFeeGridView.DataSource, StopFeeKey); StopFee.ShowDialog(); }
private void NewButton_Click(object sender, EventArgs e) { StopFeeEntityForm StopFee = new StopFeeEntityForm((DataTable)this.StopFeeGridView.DataSource); StopFee.ShowDialog(); }