//窗体载入 private void MainWin_Load(object sender, EventArgs e) { Config.LoadConfig(); this.Text += " Version: " + Config.Version; Control.CheckForIllegalCrossThreadCalls = false; ServerHandle = this; }