private static void SetupItemsTable(string file)
 {
     try
     {
         PacketRecorder.InitItemsTable(file);
     }
     catch (Exception e)
     {
         throw new Exception("Error reading " + file, e);
     }
 }
        public Display()
        {
            InitializeComponent();

            UpdateTitle("");

            m_LastTime = DateTime.MinValue;
            m_BaseTime = DateTime.Now;

            m_FilterShowAll = false;

            m_PacketFilter = new PacketFilter();

            m_PacketRecorder           = new PacketRecorder(this);
            m_PacketRecorder.OnPacket += new OnPacket(OnPacket);

            Application.ApplicationExit += new EventHandler(OnExit);
        }
Esempio n. 3
0
		public Display()
		{
			InitializeComponent();

			UpdateTitle( "" );

			m_LastTime = DateTime.MinValue;
			m_BaseTime = DateTime.Now;

			m_FilterShowAll = false;

			m_PacketFilter = new PacketFilter();

			m_PacketRecorder = new PacketRecorder( this );
			m_PacketRecorder.OnPacket += new OnPacket( OnPacket );

			Application.ApplicationExit += new EventHandler( OnExit );
		}