void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((GazeTrackerUI.TrackerViewer.PerformanceCountersUC)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.LabelFPS = ((System.Windows.Controls.Label)(target)); return; case 4: this.LabelCPU = ((System.Windows.Controls.Label)(target)); return; case 5: this.LabelMem = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((GazeTrackerUI.TrackerViewer.PerformanceCountersUC)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.LabelFPSCamera = ((System.Windows.Controls.Label)(target)); return; case 4: this.LabelFPSTracking = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }