void _cpManager_AddedCommuniPort(object sender, CommuniPortEventArgs e) { Client c = new Client(e.CommuniPort); this._clientManager.Add(c); }
void _cpManager_ClosedCommuniPort(object sender, CommuniPortEventArgs e) { //throw new NotImplementedException(); }
void _communiPortManager_AddedCommuniPort(object sender, CommuniPortEventArgs e) { this.ClientManager.Add(new Client(e.CommuniPort)); }
void _cpManager_RemovedCommuniPort(object sender, CommuniPortEventArgs e) { this._clientManager.RemoveByCommuniPort(e.CommuniPort); }
void _communiPortManager_ClosedCommuniPort(object sender, CommuniPortEventArgs e) { // do nothing // }