private void GetBack() { AActionsForm aaform = new AActionsForm(); aaform.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { string login = "******"; string password = "******"; if (textBox1.Text == login && textBox2.Text == password) { AActionsForm aaform = new AActionsForm(); aaform.Show(); this.Hide(); } else { MessageBox.Show("Неверный логин/пароль"); } }