private void welcomeToAuthjrizationLabel_Click(object sender, EventArgs e)
        {
            this.Hide();
            AuthorizationForm authorizationForm = new AuthorizationForm();

            authorizationForm.StartPosition = FormStartPosition.CenterScreen;
            authorizationForm.ShowDialog();
            this.Close();
        }
Esempio n. 2
0
        public void toAuthorizationForm(Form form)
        {
            form.Hide();
            AuthorizationForm authorizationForm = new AuthorizationForm();

            authorizationForm.StartPosition = FormStartPosition.CenterScreen;
            authorizationForm.ShowDialog();
            form.Close();
        }