예제 #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();
        }