Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            try
            {
                MeniuInserareUser miu = new MeniuInserareUser();
                miu.Show();

                this.Hide();
            }
            catch (Exception exp)
            {
                MessageBox.Show(exp.Message, "Eroare aparuta in urma operatiilor!", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Beispiel #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (Form1.UN == "Timotei")
            {
                MeniuInserare mp = new MeniuInserare();
                mp.Show();

                this.Hide();
            }
            else
            {
                MeniuInserareUser mu = new MeniuInserareUser();
                mu.Show();

                this.Hide();
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {
            if (Form1.UN == "Timotei")
            {
                MeniuInserare mi = new MeniuInserare();
                mi.Show();

                this.Close();
            }
            else
            {
                MeniuInserareUser miu = new MeniuInserareUser();
                miu.Show();

                this.Close();
            }
        }