Пример #1
0
        private void InitializeMOG()
        {
            // Check to see if we can init the server
            if (!MOG_Main.Init_Client("", "Remote Server Manager"))
            {
                // Inform the user that we failed to connect and will continue in an offline mode
                string message = "Failed to connect to the MOG Server.\n" +
                                 "Please be advised that you will most likely experience limited functionality during this session.";
                MOG_Report.ReportMessage("Connection Failed", message, "", MOG_ALERT_LEVEL.ALERT);
            }

            RemoteServerSettings.Initialize();
        }