예제 #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;
 }