コード例 #1
0
        /// <summary>
        /// 
        /// </summary>
        public DiagnosticsComponentControl(PlatformDiagnostics diagnostics)
            : base(diagnostics)
        {
            InitializeComponent();
            tracerControl1.Load += new EventHandler(tracerControl1_Load);

            // This is needed to spike an event and assign naming properly; it is specific to this control,
            // since it does not wish to generate a Layout in its InitializeComponent() method.
            PerformLayout();
        }
コード例 #2
0
        /// <summary>
        /// 
        /// </summary>
        public DiagnosticsComponentControl(PlatformDiagnostics diagnostics)
            : base(diagnostics)
        {
            InitializeComponent();
            tracerControl1.Load += new EventHandler(tracerControl1_Load);

            // This is needed to spike an event and assign naming properly; it is specific to this control,
            // since it does not wish to generate a Layout in its InitializeComponent() method.
            PerformLayout();

            // Make sure to run this as soon as possible, since it assigns some of the input filters.
            tracerControl1.Tracer = Tracer;
            LoadState();
        }