示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DeviceCommandManager.initialCommandList();
            List<CommandMatch> cmdList = CommandMatchHelper.importCommand();
            DeviceCommandManager.matchCommand(cmdList);

            serverForm form = new serverForm();
            services.showStateForm = form;
            //frmProtocolTest form = new frmProtocolTest();
            Application.Run(form);
        }
示例#2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);


            DeviceCommandManager.initialCommandList();
            List <CommandMatch> cmdList = CommandMatchHelper.importCommand();

            DeviceCommandManager.matchCommand(cmdList);

            serverForm form = new serverForm();

            services.showStateForm = form;
            //frmProtocolTest form = new frmProtocolTest();
            Application.Run(form);
        }