Example #1
0
 private void regButton_Click(object sender, RoutedEventArgs e)
 {
     if (loginTextBox.Text == "" || passwordTextBox.Password == "" || emailTextBox.Text == "")
     {
         MessageBox.Show(CheckData());
     }
     else
     {
         RegistrationWindowClass.CreateUser(this);
         MessageBox.Show("Успешно сохранено!");
     }
 }
Example #2
0
 private void regButton_Click(object sender, RoutedEventArgs e)
 {
     RegistrationWindowClass.ShowRegistrationWindow(this);
 }