private void welcomeToAuthjrizationLabel_Click(object sender, EventArgs e) { this.Hide(); AuthorizationForm authorizationForm = new AuthorizationForm(); authorizationForm.StartPosition = FormStartPosition.CenterScreen; authorizationForm.ShowDialog(); this.Close(); }
public void toAuthorizationForm(Form form) { form.Hide(); AuthorizationForm authorizationForm = new AuthorizationForm(); authorizationForm.StartPosition = FormStartPosition.CenterScreen; authorizationForm.ShowDialog(); form.Close(); }
public void getAuthorizationError(AuthorizationForm authorizationForm) { authorizationForm.errorLabel.Visible = true; }