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