private void lvPackets_ItemActivate(object sender, System.EventArgs e)
        {
            ListView.SelectedListViewItemCollection sel = lvPackets.SelectedItems;
            if (sel.Count > 0)
            {
                PacketListViewItem item     = (PacketListViewItem)sel[0];
                PacketDetails      pDetails = new PacketDetails(item);

                pDetails.Show();
            }
        }
示例#2
0
		private void lvPackets_ItemActivate( object sender, System.EventArgs e )
		{
			ListView.SelectedListViewItemCollection sel = lvPackets.SelectedItems;
			if ( sel.Count > 0 )
			{
				PacketListViewItem item = (PacketListViewItem)sel[0];
				PacketDetails pDetails = new PacketDetails( item );

				pDetails.Show();
			}
		}