Esempio n. 1
0
        private void bulkEffectMoveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var dialog = new BulkEffectMoveForm(TimelineControl.grid.CursorPosition);

            using (dialog)
            {
                if (dialog.ShowDialog() == DialogResult.OK)
                {
                    TimelineControl.grid.MoveElementsInRangeByTime(dialog.Start, dialog.End, dialog.IsForward ? dialog.Offset : -dialog.Offset, dialog.ProcessVisibleRows);
                }
            }
        }
Esempio n. 2
0
 private void bulkEffectMoveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var dialog = new BulkEffectMoveForm(TimelineControl.grid.CursorPosition);
     using (dialog)
     {
         if (dialog.ShowDialog() == DialogResult.OK)
         {
             TimelineControl.grid.MoveElementsInRangeByTime(dialog.Start, dialog.End, dialog.IsForward?dialog.Offset:-dialog.Offset);
         }
     }
 }