public LoginForm(Form1 mainform, RegisterNewUser registerNewUserForm)
 {
     m_MainForm            = mainform;
     m_RegisterNewUserForm = registerNewUserForm;
     InitializeComponent();
 }
 private void Form1_Load(object sender, EventArgs e)
 {
     m_RegisterNewUserForm = new RegisterNewUser(this);
     m_LoginForm           = new LoginForm(this, m_RegisterNewUserForm);
     m_LoginForm.ShowDialog();
 }