示例#1
0
 //启动程序,检查配置文件,启动主线程
 private void Form1_Load(object sender, EventArgs e)
 {
     if (ConfigCore.InitConfig())
     {
         MainStart();
     }
 }
示例#2
0
 //点击启动
 public void button1_Click(object sender, EventArgs e)
 {
     if (ConfigCore.InitConfig())
     {
         MainStart();
     }
 }