Exemplo n.º 1
0
        private void 条码模块协议分析实验ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SerialPortConfigItem spci =
                SerialPortConfigItem.GetConfigItem(SerialPortConfigItemName.条码模块);
            BarcodeCommandItem item  = new BarcodeCommandItem();
            FrmSerialPort      frmSP = new FrmSerialPort(item, spci);

            frmSP.Text = "条码模块协议分析实验";
            frmSP.ShowDialog();
        }
Exemplo n.º 2
0
        private void tsmi条码识别实验_Click(object sender, EventArgs e)
        {
            SerialPortConfigItem spci =
                ConfigManager.GetConfigItem(SerialPortConfigItemName.条码模块);
            BarcodeCommandItem item  = new BarcodeCommandItem();
            FrmSerialPort      frmSP = new FrmSerialPort(item, spci);

            frmSP.Text = "条码模块协议分析实验";
            frmSP.ShowDialog();
        }