コード例 #1
0
        private void welcomeToAuthjrizationLabel_Click(object sender, EventArgs e)
        {
            this.Hide();
            AuthorizationForm authorizationForm = new AuthorizationForm();

            authorizationForm.StartPosition = FormStartPosition.CenterScreen;
            authorizationForm.ShowDialog();
            this.Close();
        }
コード例 #2
0
        public void toAuthorizationForm(Form form)
        {
            form.Hide();
            AuthorizationForm authorizationForm = new AuthorizationForm();

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