예제 #1
0
 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;
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: Catofes/HostChange
 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;
     }
 }