Пример #1
0
        private void назадToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            AUTH auth = new AUTH();

            auth.Show();
        }
Пример #2
0
 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("Ошибка!");
     }
 }