private void ViewModel_OpenRegister(object sender, EventArgs e) { _mainView.Hide(); _registerView.Show(); }