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); }
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 ); }