Ejemplo n.º 1
0
        public void onInit()
        {
            if (InvokeRequired)
            {
                BeginInvoke(new onInitDelegate(onInit), new object[] { });
                return;
            } // if (InvokeRequired)


            cPluginParams.HostApplication.Register(this);
            setGUIActive();
            cPluginParams.HostApplication.PluginSetStatus(this, "grey");
            cTask.onInit();
        }
Ejemplo n.º 2
0
        public void onInit()
        {
            if (InvokeRequired)
            {
                BeginInvoke(new onInitDelegate(onInit), new object[] { });
                return;
            } // if (InvokeRequired)

            PluginParameters.HostApplication.Register(this);
            setGUIActive();
            PluginParameters.HostApplication.PluginSetStatus(this, "grey");

            WebServerConfig lWebServerConfig = new WebServerConfig();

            lWebServerConfig.BasisDirectory  = Config.BaseDir;
            lWebServerConfig.isDebuggingOn   = false;
            lWebServerConfig.isRedirect      = false;
            lWebServerConfig.RedirectToURL   = String.Empty;
            lWebServerConfig.RemoteHostName  = String.Empty;
            lWebServerConfig.onWebServerExit = onWebServerExited;

            cTask.onInit(lWebServerConfig);
            cAccountPatterns = cTask.readAuthenticationPatterns();
        }