private bool serch_connection(MyDataConnection obj) { if (obj.SENDER == this.sender && obj.RECEIVER == this.receiver) { obj.Disconnect(); return(true); } else { return(false); } }
private bool serch_connection(MyDataConnection obj) { if (obj.SENDER == this.sender && obj.RECEIVER == this.receiver) { obj.Disconnect(); return true; } else { return false; } }
private bool allconnections(MyDataConnection obj) { obj.Disconnect(); return true; }
private bool allconnections(MyDataConnection obj) { obj.Disconnect(); return(true); }