private void button2_Click(object sender, EventArgs e) { MeniuModificareUser mfu = new MeniuModificareUser(); mfu.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { if (Form1.UN == "Timotei") { MeniuModificare mm = new MeniuModificare(); mm.Show(); this.Hide(); } else { MeniuModificareUser mmu = new MeniuModificareUser(); mmu.Show(); this.Hide(); } }