コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CanvasRoot = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.calibrationControl = ((GazeTrackerUI.CalibrationUI.CalibrationControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CanvasRoot = ((System.Windows.Controls.Canvas)(target));
     return;
     case 2:
     this.calibrationControl = ((GazeTrackerUI.CalibrationUI.CalibrationControl)(target));
     return;
     case 3:
     this.calibrationMenu = ((GazeTrackerUI.CalibrationUI.CalibrationMenuUC)(target));
     return;
     case 4:
     this.sharingUC = ((GazeTrackerUI.CalibrationUI.SharingControlUC)(target));
     return;
     }
     this._contentLoaded = true;
 }