/// <summary>MVVMパターンでShowDialogボタンのClickコマンドを処理します。</summary> private void showOpenFileDialog() { var openFileComfirm = new OpenFileDialogConfirmation() { Title = "ファイルを開く" }; if (this.commonDialogService.ShowDialog(openFileComfirm) == System.Windows.MessageBoxResult.OK) { this.SelectedFolderPath.Value = openFileComfirm.FileName; } }
private void FileChoosen(OpenFileDialogConfirmation ChFile) { ChoosenFile = ChFile.FileName; }