/// <summary>
        /// Editor Config button event. Makes config editor UI.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void EditConfig_Click(object sender, EventArgs e)
        {
            if (ConfigEditorInstance == null || ConfigEditorInstance.IsDisposed)
            {
                ConfigEditorInstance = ConfigEditor.ConfigEditorFactoryFromConfig(false);
            }

            if (!ConfigEditorInstance.Visible)
            {
                ConfigEditorInstance.Show();
            }
        }
        static internal ConfigEditor ConfigEditorFactoryFromConfig(bool NeedVerdict = false)
        {
            ConfigEditor NewInstance = new ConfigEditor(NeedVerdict);

            NewInstance.TexBox_LocalLogOutput.Text         = ArcadeGameStartAndStopService.MainConfig.MachineGUID;
            NewInstance.TexBox_LocalLogOutput.Text         = ArcadeGameStartAndStopService.MainConfig.LocalLogOutput;
            NewInstance.TexBox_MachineName.Text            = ArcadeGameStartAndStopService.MainConfig.MachineName;
            NewInstance.TexBox_MasterServerURL.Text        = ArcadeGameStartAndStopService.MainConfig.MasterServerURL;
            NewInstance.TexBox_MasterStarterMasterLoc.Text = ArcadeGameStartAndStopService.MainConfig.MasterStarterMasterLoc;
            NewInstance.TexBox_Password.Text                = ArcadeGameStartAndStopService.MainConfig.ServerCredential.Password;
            NewInstance.TexBox_UserName.Text                = ArcadeGameStartAndStopService.MainConfig.ServerCredential.UserName;
            NewInstance.TexBox_ServerLogOutput.Text         = ArcadeGameStartAndStopService.MainConfig.ServerLogOutput;
            NewInstance.TexBox_MasterStarterMasterPort.Text = ArcadeGameStartAndStopService.MainConfig.PortNumber.ToString();
            //NewInstance.TexBox_DefualtGameGUID.Text = NewInstance.Config.DefualtGameGUID;
            NewInstance.LisBox_GameStarterMode.SelectedIndex = NewInstance.LisBox_GameStarterMode.FindStringExact(ArcadeGameStartAndStopService.MainConfig.StarterMode.ToString());
            NewInstance.LisBox_ServerMode.SelectedIndex      = NewInstance.LisBox_ServerMode.FindStringExact(ArcadeGameStartAndStopService.MainConfig.ServerMode.ToString());
            NewInstance.LisBox_CardMode.SelectedIndex        = NewInstance.LisBox_CardMode.FindStringExact(ArcadeGameStartAndStopService.MainConfig.CardModeMode.ToString());
            if (ArcadeGameStartAndStopService.MainConfig.StarterMode != GameStartMode.MultiSocketStarterSlave)
            {
                DisableBox(NewInstance.TexBox_MasterStarterMasterLoc);
            }
            return(NewInstance);
        }