コード例 #1
0
        public MainWindowViewModel()
        {
            _MainWindowViewModel = new MainWindowModel();

            CloseCommand = new RelayCommand(o => OnRequestClose(), o => true);
            MinimizeCommand = new RelayCommand(o => OnRequestMinimize(), o => true);
        }
コード例 #2
0
 public LoginViewModel()
 {
     _authNModel = new AuthenticationModel();
     LoginCommand = new RelayCommand(o => OnRequestLogin(), o => true);
     wNumber = "";
     password = ""; ;
 }