private void ExecuteLoginButton(object o) { // TODO: implement password checking with SHA1: // http://stackoverflow.com/questions/26256351/encrypt-passwords-on-sql-server-2008-using-sha1 var mainWindow = new MainWindowViewModel(); mainWindow.ShowWindow(); }
public MainWindow(MainWindowViewModel viewModel) { InitializeComponent(); DataContext = viewModel; }