JoinChatRoom() public static method

public static JoinChatRoom ( ChatRoom room ) : void
room ChatRoom
return void
Example #1
0
 public void on_mnuChatJoinRoom_activate(object o, EventArgs e)
 {
     if (selectedRoom.InRoom == false)
     {
         Gui.JoinChatRoom(selectedRoom);
     }
     else
     {
         (selectedRoom.Properties["Window"] as ChatRoomSubpage).GrabFocus();
     }
 }
Example #2
0
        private void chatList_RowActivated(object o, RowActivatedArgs args)
        {
            TreeIter iter;

            if (chatTreeStore.GetIter(out iter, args.Path) == true)
            {
                object item = chatTreeStore.GetValue(iter, 0);
                if (item is ChatRoom)
                {
                    ChatRoom room = (ChatRoom)item;
                    Gui.JoinChatRoom(room);
                }
            }
        }
 private void joinButton_Clicked(object sender, EventArgs args)
 {
     Window.Destroy();
     Gui.JoinChatRoom(room, passwordEntry.Text);
 }