private void tSMItem上位机控制GSMGPRS模块基本实验_Click(object sender, EventArgs e) { SerialPortConfigItem spci = SerialPortConfigItem.GetConfigItem(SerialPortConfigItemName.GSM模块串口设置); GPRSCommandItem ci = new GPRSCommandItem(); FrmSerialPort frmSP = new FrmSerialPort(ci, spci); frmSP.Text = "上位机控制GSM/GPRS模块基本实验"; //frmSP.flag = 1;//上位机控制GSM/GPRS模块基本实验 frmSP.ShowDialog(); }
private void gPRS实验ToolStripMenuItem_Click(object sender, EventArgs e) { SerialPortConfigItem spci = ConfigManager.GetConfigItem(SerialPortConfigItemName.GSM模块串口设置); GPRSCommandItem ci = new GPRSCommandItem(); FrmSerialPort frmSP = new FrmSerialPort(ci, spci); frmSP.Text = "GSM/GPRS模块协议分析实验"; //frmSP.flag = 1;//上位机控制GSM/GPRS模块基本实验 frmSP.ShowDialog(); }