示例#1
0
 // SuuperW: Marker renaming can be done with a right-click.
 // A much more useful feature would be to easily jump to it.
 private void MarkerView_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (MarkerView.CurrentCell?.RowIndex != null && MarkerView.CurrentCell.RowIndex < MarkerView.RowCount)
     {
         var marker = Markers[MarkerView.CurrentCell.RowIndex.Value];
         Tastudio.GoToFrame(marker.Frame);
     }
 }
示例#2
0
 private void JumpToBranchToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (SelectedBranch != null)
     {
         int       index  = BranchView.SelectedRows.First();
         TasBranch branch = Movie.GetBranch(index);
         Tastudio.GoToFrame(branch.Frame);
     }
 }
示例#3
0
 private void JumpToMarkerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (MarkerView.AnyRowsSelected)
     {
         var index  = MarkerView.SelectedRows.First();
         var marker = Markers[index];
         Tastudio.GoToFrame(marker.Frame);
     }
 }
示例#4
0
 // SuuperW: Marker renaming can be done with a right-click.
 // A much more useful feature would be to easily jump to it.
 private void MarkerView_MouseDoubleClick(object sender, EventArgs e)
 {
     if (MarkerView.AnyRowsSelected)
     {
         var index  = MarkerView.SelectedRows.First();
         var marker = Markers[index];
         Tastudio.GoToFrame(marker.Frame);
     }
 }