예제 #1
0
 internal void MainTable_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     try
     {
         if (e.RowIndex >= 0 && e.ColumnIndex == (int)TableLocation.Keyframe)
         {
             MainUI.Click_KeyframeToggle(e.RowIndex, (bool)MainTable.Rows[e.RowIndex].Cells[(int)TableLocation.Keyframe].Value);
         }
     }
     catch (Exception ex) { Error.Report("MainTable_CellMouseClick", ex); }
 }
예제 #2
0
 partial void KFCell_Changed(NSObject sender)
 {
     try { MainUI.Click_KeyframeToggle(MainTable.SelectedRow, (bool)((TableDataSource)MainTable.DataSource).Rows[MainTable.SelectedRow][(int)TableLocation.Keyframe]); }
     catch (Exception ex) { Error.Report("KFCell_Changed", ex); }
 }
예제 #3
0
 private void KeyframeCell_Toggled(object o, ToggledArgs args)
 {
     try { MainUI.Click_KeyframeToggle(GetIndex(new TreePath(args.Path)), GetToggleState(new TreePath(args.Path), TableLocation.Keyframe)); }
     catch (Exception ex) { Error.Report("Keyframecell toggled", ex); }
 }