コード例 #1
0
        public MainViewModel() {
            OpenFileDialogViewModel = ViewModelSource.Create(() => new OpenFileDialogViewModel());
            SaveFileDialogViewModel = ViewModelSource.Create(() => new SaveFileDialogViewModel());
#if !SILVERLIGHT
            FolderBrowserDialogViewModel = ViewModelSource.Create(() => new FolderBrowserDialogViewModel());
#endif
        }
コード例 #2
0
        public MainViewModel()
        {
            OpenFileDialogViewModel = ViewModelSource.Create(() => new OpenFileDialogViewModel());
            SaveFileDialogViewModel = ViewModelSource.Create(() => new SaveFileDialogViewModel());
#if !SILVERLIGHT
            FolderBrowserDialogViewModel = ViewModelSource.Create(() => new FolderBrowserDialogViewModel());
#endif
        }