Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.trainAndTestFacesView = ((FaceRecognition.Controls.TrainAndTestFaceView)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DataBasesListView = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 3:
                this.busyControl = ((BusyControl.BluBusyControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FaceImageDataBases = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.busyControl = ((BusyControl.BluBusyControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #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;
        }