Пример #1
0
 void EditName(CollectionLibraryItemViewModel collection) {
     _dialogManager.MessageBoxSync(
         new MessageBoxDialogParams(
             "You need to name your collection before you can Publish it!",
             "Collection name missing"));
     collection.IsEditing = true;
 }
Пример #2
0
 void EditDescription(CollectionLibraryItemViewModel collection) {
     _dialogManager.MessageBoxSync(
         new MessageBoxDialogParams(
             "You need to add a description to your collection before you can Publish it!",
             "Collection description missing"));
     collection.IsEditingDescription = true;
 }