Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            MeniuModificareUser mfu = new MeniuModificareUser();

            mfu.Show();

            this.Hide();
        }
Esempio n. 2
0
        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();
            }
        }