Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridPerformanceCounters = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.performanceCountersUC = ((GazeTrackerUI.TrackerViewer.PerformanceCountersUC)(target));
                return;

            case 3:
                this.GridVisualization = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.GridVideomodeRaw = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.CheckBoxRenderRaw = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.GridVideomodeNormal = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.CheckBoxRenderNormal = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.GridVideomodeProcessed = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.CheckBoxRenderProcessed = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.GridPerformanceCounters = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.performanceCountersUC = ((GazeTrackerUI.TrackerViewer.PerformanceCountersUC)(target));
     return;
     case 3:
     this.GridVisualization = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.GridVideomodeRaw = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.CheckBoxRenderRaw = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     this.GridVideomodeNormal = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.CheckBoxRenderNormal = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.GridVideomodeProcessed = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.CheckBoxRenderProcessed = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }