コード例 #1
0
        public MainWindowViewModel()
        {
            AutoDetectCommand = new ModelCommand(AutoDetect);

            AutoDetect();
            Bin64Path = (string)Registry.GetValue(RegistryKey, RegistryValueName, Bin64Path);
        }
コード例 #2
0
ファイル: DialogViewModel.cs プロジェクト: zkkorion/MDK-SE
 /// <summary>
 /// Creates a new instance of <see cref="DialogViewModel"/>
 /// </summary>
 protected DialogViewModel()
 {
     SaveAndCloseCommand = new ModelCommand(SaveAndClose);
     CancelCommand       = new ModelCommand(Cancel);
 }