private void quickMoveButton_Click(object sender, RibbonControlEventArgs e)
 {
     using (var dialog = new QuickMoveForm(model))
     {
         dialog.ShowDialog();
         if (dialog.DialogResult == System.Windows.Forms.DialogResult.OK) {
             if (model.CheckValid())
                 FolderUtils.MoveCurrentSelectionToFolder(model.SelectedFolder.Id, model.SelectedFolder.StoreId);
         }
     }
     
 }
Exemple #2
0
 private void quickMoveButton_Click(object sender, RibbonControlEventArgs e)
 {
     using (var dialog = new QuickMoveForm(model))
     {
         dialog.ShowDialog();
         if (dialog.DialogResult == System.Windows.Forms.DialogResult.OK)
         {
             if (model.CheckValid())
             {
                 FolderUtils.MoveCurrentSelectionToFolder(model.SelectedFolder.Id, model.SelectedFolder.StoreId);
             }
         }
     }
 }