private void btnRestart_Click(object sender, EventArgs e) { this.Hide(); Autorization autor = new Autorization(); autor.ShowDialog(); }
private void btnExit_Click(object sender, EventArgs e) { try { this.Hide(); Autorization autor = new Autorization(); autor.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }