12345678910111213141516171819202122232425262728293031323334353637 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace OTSPartA_STDEditor
- {
-
- static class Program
- {
- /// <summary>
- /// 应用程序的主入口点。
- /// </summary>
- [STAThread]
- static void Main(string[] args)
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- //Application.Run(new Form_ConstantsEditor2());
- Form_Main form_ConstantsEditor2;
- if (args.Length > 1)
- {
- form_ConstantsEditor2 = new Form_Main(args);
- }
- else
- {
- form_ConstantsEditor2 = new Form_Main();
- }
- if (args.Length > 0)
- {
- form_ConstantsEditor2.STDDBAddress = args[0];
- }
- Application.Run(form_ConstantsEditor2);
- }
- }
- }
|