Example #1
0
 public LoginWindowViewModel(LoginWindow loginWindow)
 {
     LoginWindow = loginWindow;
     ButtonLogin = new RelayCommand(pars => Login());
     ButtonExit = new RelayCommand(pars => ExitWindow());
     ContextHelp = new RelayCommand(pars => ContextHelpHelper.ContextHelp());
 }
Example #2
0
 public MainWindowViewModel()
 {
     ContextHelp = new RelayCommand(pars => ContextHelpHelper.ContextHelp());
     Load();
 }