JoinChatRoom() 공개 정적인 메소드

public static JoinChatRoom ( ChatRoom room ) : void
room ChatRoom
리턴 void
예제 #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();
     }
 }
예제 #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);
                }
            }
        }
예제 #3
0
 private void joinButton_Clicked(object sender, EventArgs args)
 {
     Window.Destroy();
     Gui.JoinChatRoom(room, passwordEntry.Text);
 }