private void назадToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); AUTH auth = new AUTH(); auth.Show(); }
private void button1_Click(object sender, EventArgs e) { if (grayTXT1.Text == this.text) { MessageBox.Show("Верно!"); this.Hide(); AUTH auth = new AUTH(); auth.Show(); } else { MessageBox.Show("Ошибка!"); } }