Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.layoutGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.faceGridPanel = ((FaceTracking3D.FaceGridPanel)(target));
                return;

            case 3:
                this.faceTrackingVisualizer = ((FaceTracking3D.TexturedFaceMeshViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.faceGridPanel = ((FaceTracking3D.FaceGridPanel)(target));
     return;
     case 3:
     this.faceTrackingVisualizer = ((FaceTracking3D.TexturedFaceMeshViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((FaceTracking3D.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.faceTrackingVisualizer = ((FaceTracking3D.TexturedFaceMeshViewer)(target));
     return;
     case 4:
     this.texturedFaceMeshViewer1 = ((FaceTracking3D.TexturedFaceMeshViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }