public void roomAssociation(object sender, RoomEventArgs e) { roomAssociated = e.associated; roomChat = new Conversation(_Server, name, roomAssociated); }
public void roomAssociation(object sender, RoomEventArgs e) { roomAssociated = e.associated; }
void r_CNRO(object sender, serverReturnEventArgs e) { if (!e.data.Contains("KO")) { Room created = new Room(int.Parse(e.data), name, Format, RoomName, 0); RoomEventArgs rargs = new RoomEventArgs(created); if (roomCreation != null) roomCreation(this, rargs); MoveToEventArgs args = new MoveToEventArgs("Room"); EventHandler<MoveToEventArgs> handler = this.getMoveTo(); if (handler != null) handler(this, args); } }
void r_JORO(object sender, serverReturnEventArgs e) { if (e.data.Contains("OK")) { RoomEventArgs rargs = new RoomEventArgs(selectedRoom); if (roomJoin != null) roomJoin(this, rargs); MoveToEventArgs args = new MoveToEventArgs("Room"); EventHandler<MoveToEventArgs> handler = this.getMoveTo(); if (handler != null) handler(this, args); } }