public RegistForm(LoginForm loginForm) : this() { this.loginForm = loginForm; }
private void showLoginForm() { loginForm = new LoginForm(this); loginForm.Visible = true; }