public CollectNamesVM() { Opendial = new MOpenFileDialog() { }; Opendial.Dialog.Multiselect = true; // 4. I cant know what do you want here, but Its same as this Opendial.OnOpenFileCommand += CollectFilesFolder(Opendial.Dialog.FileNames); // Wrong Way }
//public ObservableCollection<Name> Names { get; set; } #endregion #region Constructor public MainWindowVM() { OpenETABS = new MOpenFileDialog(); OpenETABS.Dialog.Filter = "app (.exe)|*.exe"; OpenModel = new MOpenFileDialog(); StartCommand = new RelayCommand <object>(ETABSCode); }