Esempio n. 1
0
        private void lstComputers_DoubleClick(object sender, EventArgs e)
        {
#if ENABLECHAT
            if (lstComputers.SelectedItems.Count == 0)
            {
                return;
            }
            frmComputerInfo pc = new frmComputerInfo((string)lstComputers.SelectedItems[0].Tag);
            pc.Show();
#endif
        }
Esempio n. 2
0
        private void propertiesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (LstOnly == true)
            {
                return;
            }
            if (lstComputers.SelectedItems.Count == 0)
            {
                return;
            }
            ComputerData    cd  = (ComputerData)lstComputers.SelectedItems[0].Tag;
            frmComputerInfo pci = new frmComputerInfo(cd.MachineID);

            pci.Show();
        }