コード例 #1
0
ファイル: Form1.cs プロジェクト: jiajun85/PNPControllerKFlop
        public Form1()
        {
            InitializeComponent();

            usbController = new usbDevice(0x04D8, 0x0042);

            usbController.usbEvent += new usbDevice.usbEventsHandler(usbEvent_receiver);

            usbController.findTargetDevice();

            InitializeBackgroundWorker();
            this.FormClosing += new FormClosingEventHandler(Form_FormClosing);

            dtFeeders = cf.POPFeedersTable();
            kf.initdevice();
            LoadSettings();

            RunBoardInit();
            Thread thrdRemote = new Thread(new ThreadStart(initRemote));
            thrdRemote.Start();
            thrdRemote.IsBackground = true;

            csvload.SetupGridView(dataGridView1);

            // setup manual feeder single picker list
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: trigrass2/PNPControllerKFlop
        public Form1()
        {
            InitializeComponent();


            usbController = new usbDevice(0x04D8, 0x0042);


            usbController.usbEvent += new usbDevice.usbEventsHandler(usbEvent_receiver);


            usbController.findTargetDevice();



            InitializeBackgroundWorker();
            this.FormClosing += new FormClosingEventHandler(Form_FormClosing);

            dtFeeders = cf.POPFeedersTable();
            kf.initdevice();
            LoadSettings();


            RunBoardInit();
            Thread thrdRemote = new Thread(new ThreadStart(initRemote));

            thrdRemote.Start();
            thrdRemote.IsBackground = true;


            csvload.SetupGridView(dataGridView1);


            // setup manual feeder single picker list
        }