public MainWindowViewModel() { AutoDetectCommand = new ModelCommand(AutoDetect); AutoDetect(); Bin64Path = (string)Registry.GetValue(RegistryKey, RegistryValueName, Bin64Path); }
/// <summary> /// Creates a new instance of <see cref="DialogViewModel"/> /// </summary> protected DialogViewModel() { SaveAndCloseCommand = new ModelCommand(SaveAndClose); CancelCommand = new ModelCommand(Cancel); }