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