コード例 #1
0
    private async void OnBrowseFolderClickAsync(object sender, RoutedEventArgs e)
    {
        await Controller.DisableCommandAsync(typeof(SearchCommand));

        await Controller.ExecuteAsync(typeof(SelectFolderCommand));
    }
コード例 #2
0
ファイル: WakekWindow.xaml.cs プロジェクト: aspenlaub/Wakek
 private async void Execute_OnClick(object sender, RoutedEventArgs e)
 {
     Cursor = Cursors.Wait;
     await Controller.ExecuteAsync(typeof(ExecuteCommand));
 }