Пример #1
0
        private void mnuProperties_Click(object sender, EventArgs e)
        {
            if (lstChats.SelectedItem != null)
            {
                ChatListItem itm       = lstChats.SelectedItem as ChatListItem;
                BitChatPanel chatPanel = itm.Tag as BitChatPanel;

                using (frmChatProperties frm = new frmChatProperties(chatPanel.BitChat))
                {
                    frm.Text = chatPanel.BitChat.NetworkName + " - Properties";
                    frm.ShowDialog(this);
                }
            }
        }
Пример #2
0
        private void mnuProperties_Click(object sender, EventArgs e)
        {
            if (lstChats.SelectedItem != null)
            {
                ChatListItem itm = lstChats.SelectedItem as ChatListItem;
                BitChatPanel chatPanel = itm.Tag as BitChatPanel;

                using (frmChatProperties frm = new frmChatProperties(chatPanel.BitChat))
                {
                    frm.Text = chatPanel.BitChat.NetworkName + " - Properties";
                    frm.ShowDialog(this);
                }
            }
        }