Example #1
0
 public PVHdrItemDNS(PacketViewer parent, DNSH h, bool ischecked)
 {
     Hdr = h;
     Parent = parent;
     IsChecked = ischecked;
 }
Example #2
0
        private void grouptree_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
        {
            if (e.NewValue == null) return;

            if (e.NewValue.GetType() == typeof(Packet))
            {
                if (pview == null) pview = new PacketViewer();
                pview.Pkt = (Packet)(e.NewValue);

                if (!(pview.Visibility == System.Windows.Visibility.Visible)) pview.Show();
            }

            //BOOKMARK

                // IF IT IS A PACKET, OPEN PACKET VIEW WINDOW ON IT
        }
Example #3
0
 // constructor
 public PVHdrItem(PacketViewer parent, H hdr, bool ischecked)
 {
     Hdr = hdr;
     Parent = parent;
     IsChecked = ischecked;
 }