예제 #1
0
        /////////////////////////////////////////////////////////////////////////////////

        #region Login Form
        /////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Creates a new Login Form
        /// </summary>
        /// <param name="pluginManager"></param>
        public static ILoginForm PrepareLoginForm(IPluginManager pluginManager)
        {
            if (pluginManager == null)
            {
                return(null);
            }

            ILoginForm loginForm = pluginManager.CreateLoginForm();

            // reset oneAll page
            LoginPageCleanup(pluginManager);

            // Give focus to login button
            loginForm.InitialFocus();

            return(loginForm);
        }
예제 #2
0
        /////////////////////////////////////////////////////////////////////////////////

        #region Login Form
        /////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Creates a new Login Form
        /// </summary>
        /// <param name="pluginManager"></param>
        public static ILoginForm PrepareLoginForm(IPluginManager pluginManager)
        {
            if (pluginManager == null)
                return null;

            ILoginForm loginForm = pluginManager.CreateLoginForm();

            // reset oneAll page
            LoginPageCleanup(pluginManager);

            // Give focus to login button
            loginForm.InitialFocus();

            return loginForm;
        }