private void RegisterAction(object sender, RoutedEventArgs e) { RegisterAttempt?.Invoke(this, new Register_eventargs(control_model.model.login, control_model.model.password, control_model.model.r_password, control_model.model.accept)); tb_Name.Clear(); tb_Passw.Clear(); tb_RPassw.Clear(); }
private void RegisterAction(object sender, RoutedEventArgs e) { RegisterAttempt?.Invoke(this, new RegisterEventArgs(registerControlViewModel.Model.Name, registerControlViewModel.Model.Password, registerControlViewModel.Model.RepeatedPassword, registerControlViewModel.Model.Accept)); tb_Passw.Clear(); tb_RPassw.Clear(); }
private void Button_Click(object sender, RoutedEventArgs e) { RegisterAttempt?.Invoke(this, new RegisterEventArgs(login.Text, password.Text, re_password.Text)); password.Clear(); re_password.Clear(); }