Пример #1
0
        /// <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;
            }
        }
Пример #2
0
 private void FileChoosen(OpenFileDialogConfirmation ChFile)
 {
     ChoosenFile = ChFile.FileName;
 }