예제 #1
0
 protected async override void OnExecute(object parameter)
 {
     try
     {
         await ExportFontCommand.ExecuteAsync(this.shell);
     }
     catch (Exception e)
     {
         await AppMessageBox.ShowErrorAsync(e);
     }
 }
예제 #2
0
 protected override bool OnCanExecute(object parameter)
 {
     return(ExportFontCommand.CanExecute(this.shell));
 }