void CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == (int)enumColumn.ENUM_EDIT_BTN) { using (AntennaEditForm dlg = new AntennaEditForm(this.reader, this.antennaList[e.RowIndex])) { if (DialogResult.OK == dlg.ShowDialog( )) { view.Refresh( ); } dlg.Close( ); } } }
void CellContentClick( object sender, DataGridViewCellEventArgs e ) { if (e.ColumnIndex == (int)enumColumn.ENUM_EDIT_BTN) { using ( AntennaEditForm dlg = new AntennaEditForm( this.reader, this.antennaList[ e.RowIndex ] ) ) { if ( DialogResult.OK == dlg.ShowDialog( ) ) { view.Refresh( ); } dlg.Close( ); } } }