示例#1
0
        private void btnReg_Click(object sender, EventArgs e)
        {
            Visible = false;
            FormRegistration reg = new FormRegistration();

            reg.ShowDialog();
            if (reg.DialogResult == DialogResult.OK)
            {
                Visible = true;
            }
        }
示例#2
0
        private void showRegistrationForm()
        {
            FormRegistration formRegistration = new FormRegistration();

            formRegistration.Show();
        }