예제 #1
0
 private void listView1_DoubleClick(object sender, EventArgs e)
 {
     ListViewItem li;
     li=listView1.FocusedItem;
     int i = (int)li.Tag;
     //MessageBox.Show(i+"");
        // ShowForm sf = new ShowForm(textBox1.Text.ToString(), textBox2.Text.ToString(), netType.UDP);
        // sf.Show();
     ShowForm sf = new ShowForm(infoList[i]);
     sf.Show();
 }
예제 #2
0
 public void onConnect(Socket socket)
 {
     ShowForm sf = new ShowForm(socket);
     sf.Show();
 }