Exemplo n.º 1
0
        private void goToReg_Click(object sender, EventArgs e)
        {
            this.Hide();
            RegForm regForm = new RegForm();

            regForm.Show();
        }
Exemplo n.º 2
0
        private void metroButton17_Click(object sender, EventArgs e)
        {
            if (ActiveMdiChild != null)
            {
                ActiveMdiChild.Close();
            }
            RegForm newMDIChild = new RegForm();

            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
            newMDIChild.Dock = DockStyle.Fill;
        }
Exemplo n.º 3
0
        private void Sign_up_Click(object sender, EventArgs e)
        {
            this.Enabled = false;
            Form RegForm;

            if (isManager.Checked)
            {
                RegForm = new Registry_form();
            }
            else
            {
                RegForm = new reader_reg_form();
            }
            RegForm.Show();
        }
Exemplo n.º 4
0
 private void backBtn_Click(object sender, EventArgs e)
 {
     RegForm.Show();
     this.Close();
 }