Beispiel #1
0
        private void network_MemoDeleted(Network network, Memo memo)
        {
            memoTreeStore.RemoveItem(network, memo);
            Gui.MainWindow.RefreshCounts();

            memoCount -= 1;
        }
Beispiel #2
0
        private void network_LeftChat(Network network, ChatEventArgs args)
        {
            if (args.Room.InRoom == true)
            {
                (args.Room.Properties["Window"] as ChatRoomSubpage).RemoveUser(args.Node);
            }

            if (args.Room.Users.Count == 0)
            {
                chatTreeStore.RemoveItem(network, args.Room);
            }
            else
            {
                chatList.QueueDraw();
            }

            Gui.MainWindow.RefreshCounts();
        }