Ejemplo n.º 1
0
        private void listViewDevices_DoubleClick(object sender, EventArgs e)
        {
            var c = listViewDevices.SelectedItems;

            if (c.Count > 0)
            {
                var f = new FormConnector((IPAddress)c[0].Tag);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    new FormEditor(f.Configuration, f.Connection).ShowDialog();
                }
            }
        }
Ejemplo n.º 2
0
 private void listViewDevices_DoubleClick(object sender, EventArgs e)
 {
     var c = listViewDevices.SelectedItems;
     if (c.Count > 0)
     {
         var f = new FormConnector((IPAddress) c[0].Tag);
         if (f.ShowDialog() == DialogResult.OK)
             new FormEditor(f.Configuration, f.Connection).ShowDialog();
     }
 }