コード例 #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     FileSync.CreateDir();
     FileSync.CheckVersionFile();
     ListBoxAddItem(public_list, FileSync.VERSION_INFO.publicVersions);
     ListBoxAddItem(ea_list, FileSync.VERSION_INFO.eaVersions);
 }
コード例 #2
0
        static void Main()
        {
            // 创建、检查相关文件夹
            FileSync.CreateDir();
            // check,备份,download version.json文件
            // FileSync.CheckVersionFile();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }