示例#1
0
 public PlaylistItemRemoveAtAction(IPlaylistItemService dragDropControl, PlaylistItemControl btn, int index)
 {
     this._dragDropControl = dragDropControl;
     this._btn             = btn;
     this._index           = index;
     Name = "Delete message from playlist";
 }
示例#2
0
 public PlaylistItemInsertAction(IPlaylistItemService dragDropControl, PlaylistItemControl btn, int index)
 {
     this._dragDropControl = dragDropControl;
     this._btn             = btn;
     this._index           = index;
     Name = "Insert Message to playlist";
 }
示例#3
0
 public static void AddPlaylistItemInsertAction(IPlaylistItemService dragDropControl, PlaylistItemControl btn, int index)
 {
     if (UndoService.CandAddAction)
     {
         UndoService.AddAction(new PlaylistItemInsertAction(dragDropControl, btn, index));
     }
 }