Beispiel #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            //Application.Restart();
            this.Close();
            Form_admin admin = new Form_admin();

            admin.Show();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            Login        login  = new Login();
            DialogResult Result = login.ShowDialog();

            if (Result == DialogResult.OK)
            {
                Form_admin admin = new Form_admin();
                admin.Show();
            }
        }