示例#1
0
 public OptionsForm(ref CommunicationManager cm)
 {
     InitializeComponent();
     this.cm_ = cm;
     cm_.SetParityValues(cboParity);
     cm_.SetStopBitValues(cboStop);
 }
示例#2
0
 private void DisplayMsg(CommunicationManager.MessageType msgType, String msg)
 {
     RichTextBox oldDisplayWindow = cm_.DisplayWindow;
     cm_.DisplayWindow = rtbLog;
     cm_.DisplayData(msgType, msg);
     cm_.DisplayWindow = oldDisplayWindow;
 }
示例#3
0
 public CellularProtocol(CommunicationManager cm)
 {
     this.cm_ = cm;
 }