コード例 #1
0
        public void ShowPasswordChangeForm(LoginForm loginForm)
        {
            foreach (Form form in Application.OpenForms)
            {
                if (String.Compare(form.Name, "PasswordChangeForm") == 0)
                {
                    form.Show(); return;
                }
            }

            passwordChangeForm = new PasswordChangeForm(loginForm);
            passwordChangeForm.Show();
        }
コード例 #2
0
        public void ShowPasswordChangeForm(LoginForm loginForm)
        {
            foreach (Form form in Application.OpenForms)
            {
                if (String.Compare(form.Name, "PasswordChangeForm") == 0) { form.Show(); return; }
            }

            passwordChangeForm = new PasswordChangeForm(loginForm);
            passwordChangeForm.Show();
        }