public HostChange() { maincore = new MainCore(); InitializeComponent(); if (maincore.data.SmartHost_Beijing.Count() != 0) { Version.Text = maincore.data.SmartHost_Beijing[0]; } else { Version.Text = "No Data , Please Update"; } if (!maincore.data.custom_enable) { Custom.Enabled = false; } }