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); } } }
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); } } } }