internal void MainTable_CellValueChanged(object sender, DataGridViewCellEventArgs e) { try { if (e.RowIndex >= 0 && e.ColumnIndex == (int)TableLocation.Brightness) { MainUI.UpdateBrightness(e.RowIndex, (string)MainTable.Rows[e.RowIndex].Cells[(int)TableLocation.Brightness].Value); } } catch (Exception ex) { Error.Report("MainTable_CellValueChanged", ex); } }
private void HandleBrightnessCellEdited(int Row, string value) { try { MainUI.UpdateBrightness(Row, value); } catch (Exception ex) { Error.Report("HandleBrightnessCellEdited", ex); } }
private void CellEdited(object o, EditedArgs args) { try { MainUI.UpdateBrightness(GetIndex(new TreePath(args.Path)), args.NewText); } catch (Exception ex) { Error.Report("Cell edited", ex); } }