///////////////////////////////////////////////////////////////////////////////// #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); }
///////////////////////////////////////////////////////////////////////////////// #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; }