Questor.QuestorfrmMain.QuestorfrmMain C# (CSharp) Метод

QuestorfrmMain() публичный Метод

public QuestorfrmMain ( ) : System
Результат System
        public QuestorfrmMain()
        {
            if (Settings.Instance.DebugUI) Logging.Log("QuestorUI", "QuestorfrmMain", Logging.White);
            if (Settings.Instance.DebugUI) Logging.Log("QuestorUI", "InitializeComponent", Logging.White);
            InitializeComponent();
            if (Settings.Instance.DebugUI) Logging.Log("QuestorUI", "_questor = new Questor(this);", Logging.White);
            _questor = new Questor(this);
            if (Settings.Instance.DebugUI) Logging.Log("QuestorUI", "PopulateStateComboBoxes", Logging.White);
            PopulateStateComboBoxes();
            if (Settings.Instance.DebugUI) Logging.Log("QuestorUI", "PopulateBehaviorStateComboBox", Logging.White);
            PopulateBehaviorStateComboBox();
            //if (Settings.Instance.DebugUI) Logging.Log("QuestorUI", "CreateLavishCommands", Logging.White);
            //CreateLavishCommands();
            if (Settings.Instance.DebugUI) Logging.Log("QuestorUI", "this.Show();", Logging.White);
            Show();
            if (Settings.Instance.DebugAttachVSDebugger)
            {
                //if (!System.Diagnostics.Debugger.IsAttached)
                //{
                    //
                    // this is temporarily disabled as CCP is crazy and is now detecting that a debugger is attached (thinking it is a way to catch bots? no idea but odd)
                    //

                    //Logging.Log("QuestorUI", "VS Debugger is not yet attached: System.Diagnostics.Debugger.Launch()", Logging.Teal);
                    //System.Diagnostics.Debugger.Launch();
                //}
            }
        }
QuestorfrmMain