コード例 #1
0
 private void Registration_Click(object sender, EventArgs e)
 {
     if (phoneTextBox.Text == string.Empty || nameTextBox.Text == string.Empty || passwordTextBox.Text == string.Empty)
     {
         MessageBox.Show("Вы ввели не все данные!");
     }
     else
     {
         MessageBox.Show("Вы вошли в систему!");
         this.Hide();
         LoginRegistration.Show();
     }
 }
コード例 #2
0
ファイル: Вход.cs プロジェクト: Ideas4Life/BookStores
 private void Entrance_entrance_Click(object sender, EventArgs e)
 {
     if (login_entrance.Text == string.Empty || password_entrance.Text == string.Empty)
     {
         MessageBox.Show("Вы ввели не все данные!");
     }
     else
     {
         MessageBox.Show("Вы вошли с систему!");
         // bLogin = true;  //изменить когда подключим бд и сделаем авторизацию
         this.Hide();
         //  if (bLogin)
         loginRegistr.Show();
     }
 }
コード例 #3
0
 private void Back_peronal_Click(object sender, EventArgs e)
 {
     this.Hide();
     loginRegistr.Show();
 }