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

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

            manageUserForm = new ManageUserForm(user, loginForm);
            manageUserForm.Show();
        }