Ejemplo n.º 1
0
        public ProfilingWindow(NetworkConnection connection)
        {
            InitializeComponent();

            m_connection = connection;

            DebugMessageFactory.RegisterMessageType(ProfileReportMessage.s_id, ProfileReportMessage.Create);
            m_connection.AddMessageHandler(ProfileReportMessage.s_id, HandleProfileMessage);

            m_reports = new List <ProfileReport>();
        }