Inheritance: System.Windows.Forms.Form
        private void cmdRegister_Click(object sender, System.EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();

            var F = new RegistrationForm();
            F.ShowDialog();
        }