private void button2_Click(object sender, EventArgs e)
        {
            Admin_login new_form = new Admin_login();

            new_form.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Admin_login entry_admin = new Admin_login();

            this.Hide();
            entry_admin.Show();
        }
Esempio n. 3
0
        private void button2_Click(object sender, EventArgs e)
        {
            myhost.Service1 new_admin = new myhost.Service1();
            string          username  = textBox1.Text;
            string          password  = textBox2.Text;

            new_admin.admin_registration(username, password);

            MessageBox.Show("Admin Registered");
            Admin_login new_entry = new Admin_login();

            this.Hide();
            new_entry.Show();
        }