Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\..\Windows\TrainAndTestImagesWindow.xaml"
                ((FaceRecognition.Windows.TrainAndTestImagesWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.traingTestFaceControl = ((FaceRecognition.Controls.TrainAndTestFaceControl)(target));
                return;

            case 3:
                this.GoPreprocBtn = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\..\Windows\TrainAndTestImagesWindow.xaml"
                this.GoPreprocBtn.Click += new System.Windows.RoutedEventHandler(this.GoPreprocBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.statusBarItem = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.trainAndTestFacesControl = ((FaceRecognition.Controls.TrainAndTestFaceControl)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\TrainAndTestImagesWindow.xaml"
                ((FaceRecognition.TrainAndTestImagesWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.traingTestFaceControl = ((FaceRecognition.Controls.TrainAndTestFaceControl)(target));
                return;

            case 3:
                this.GoPreprocBtn = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\TrainAndTestImagesWindow.xaml"
                this.GoPreprocBtn.Click += new System.Windows.RoutedEventHandler(this.GoPreprocBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.statusBarItem = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 5:
                this.ControlPanel = ((System.Windows.Controls.Expander)(target));
                return;

            case 6:
                this.RecognitionMethodsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 72 "..\..\..\TrainAndTestImagesWindow.xaml"
                this.RecognitionMethodsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RecognitionMethodsListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.mainStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.recogMethodTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.trainButton = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\..\TrainAndTestImagesWindow.xaml"
                this.trainButton.Click += new System.Windows.RoutedEventHandler(this.trainButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.reproductionButton = ((System.Windows.Controls.Button)(target));

            #line 117 "..\..\..\TrainAndTestImagesWindow.xaml"
                this.reproductionButton.Click += new System.Windows.RoutedEventHandler(this.reproductionButton_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.trainResTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.resStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.trainAndTestFacesControl = ((FaceRecognition.Controls.TrainAndTestFaceControl)(target));
                return;

            case 2:
                this.FaceImageDataBases = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.DataBasesListView = ((System.Windows.Controls.ListView)(target));

            #line 48 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.DataBasesListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataBasesListViewSelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.NumberImagesLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.NumberImagesValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.faceImagesListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 7:
                this.busyControl = ((BusyControl.BluBusyControl)(target));
                return;

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

            case 9:
                this.TrainFacesTxtBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.NumberTrainImagesLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.NumberTrainImagesValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.selectEvenImageBtn = ((System.Windows.Controls.Button)(target));

            #line 121 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.selectEvenImageBtn.Click += new System.Windows.RoutedEventHandler(this.selectEvenImageBtn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.TrainImageListView = ((System.Windows.Controls.ListView)(target));

            #line 129 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.TrainImageListView.Drop += new System.Windows.DragEventHandler(this.DropTrainImage);

            #line default
            #line hidden

            #line 131 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.TrainImageListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TrainImageListView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.delSelTrainItemsBtn = ((System.Windows.Controls.Button)(target));

            #line 147 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.delSelTrainItemsBtn.Click += new System.Windows.RoutedEventHandler(this.delSelTrainItemsBtn_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.TestFacesTxtBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.NumberTestImagesLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.NumberTestImagesValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.selectOddImageBtn = ((System.Windows.Controls.Button)(target));

            #line 172 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.selectOddImageBtn.Click += new System.Windows.RoutedEventHandler(this.selectOddImageBtn_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.TestImageListView = ((System.Windows.Controls.ListView)(target));

            #line 181 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.TestImageListView.Drop += new System.Windows.DragEventHandler(this.DropTestImage);

            #line default
            #line hidden

            #line 183 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.TestImageListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TestImageListView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.delSelTestItemsBtn = ((System.Windows.Controls.Button)(target));

            #line 200 "..\..\..\..\..\Controls\View\TrainAndTestFaceControl.xaml"
                this.delSelTestItemsBtn.Click += new System.Windows.RoutedEventHandler(this.delSelTestItemsBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }