private void label1_Click(object sender, EventArgs e) { if (User.Right == 1) { Editing form = new Editing(this); form.Show(); } else { Afisha form = new Afisha(this); form.Show(); } this.Hide(); }
private void label1_Click(object sender, EventArgs e) { if (Program.user.Right == 1) { Editing_performance_list form = new Editing_performance_list(this); form.Show(); } else { Afisha form = new Afisha(this); form.Show(); } this.Hide(); }
private void Performance_FormClosing(object sender, FormClosingEventArgs e) { a.Show(); }