public Performance(int perf_id, Afisha a, int Month_id) { InitializeComponent(); this.perf_id = perf_id; this.a = a; this.Month_id = Month_id; }
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(); }