Пример #1
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);
         }
     }
     
 }
Пример #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);
             }
         }
     }
 }