Example #1
0
        private void infoButton_Click(object sender, EventArgs e)
        {
            var onlineUsers = new InfoShow()
            {
                roomAccounts = roomAccounts, infoType = "users", accounts = controlAccounts, room = this
            };

            onlineUsers.Show();
        }
Example #2
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var publicRooms = chatRooms.Find(s => s.state).ToList();
            var roomsShow   = new InfoShow()
            {
                infoType = "rooms", publicRooms = publicRooms
            };

            roomsShow.Show();
        }