Пример #1
0
        private void JoinChat_Activated(object sender, EventArgs args)
        {
            JoinChatroomDialog w = new JoinChatroomDialog(Gui.MainWindow.Window);

            if (w.Run() == (int)ResponseType.Ok)
            {
                Gui.MainWindow.SelectedPage = ChatsPage.Instance;
            }
        }
Пример #2
0
 private void JoinChat_Activated(object sender, EventArgs args)
 {
     JoinChatroomDialog w = new JoinChatroomDialog (Gui.MainWindow.Window);
     if (w.Run() == (int)ResponseType.Ok) {
         Gui.MainWindow.SelectedPage = ChatsPage.Instance;
     }
 }
Пример #3
0
        public void on_mnuChatCreateNewChatroom_activate(object o, EventArgs e)
        {
            JoinChatroomDialog w = new JoinChatroomDialog(Gui.MainWindow.Window);

            w.Run();
        }
Пример #4
0
 public void on_mnuChatCreateNewChatroom_activate(object o, EventArgs e)
 {
     JoinChatroomDialog w = new JoinChatroomDialog (Gui.MainWindow.Window);
     w.Run ();
 }