Interaction logic for WebCameraControl.xaml
Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\View\CameraView.xaml"
                ((GiocoCarteIA.View.CameraView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 17 "..\..\..\View\CameraView.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\GameIAView.xaml"
                ((GiocoCarteIA.View.GameIAView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 10 "..\..\..\View\GameIAView.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;

            case 4:
                this.Move = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.FoundedCard = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.Correct = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\..\View\GameIAView.xaml"
                this.Correct.Click += new System.Windows.RoutedEventHandler(this.Correct_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Draw = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\View\GameIAView.xaml"
                this.Draw.Click += new System.Windows.RoutedEventHandler(this.Draw_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.@this = ((AzTecReader.MainWindow)(target));
                return;

            case 2:
                this._videoWindow = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\WebCam.xaml"
                ((FaceKey.WebCam)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ShowCamera);

            #line default
            #line hidden
                return;

            case 2:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridDataRepo = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.WebCamCoreControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;

            case 3:
                this.ComboBoxDevices = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.ButtonInitialize = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\Training\TrainingView.xaml"
                this.ButtonInitialize.Click += new System.Windows.RoutedEventHandler(this.ButtonInitializeHandler);

            #line default
            #line hidden
                return;

            case 5:
                this.ButtonCapture = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\..\Training\TrainingView.xaml"
                this.ButtonCapture.Click += new System.Windows.RoutedEventHandler(this.ButtonCaptureHandler);

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

            #line 13 "..\..\..\Controls\WebcamPage.xaml"
                this.unlockBtn.Click += new System.Windows.RoutedEventHandler(this.unlockBtn_Click);

            #line default
            #line hidden
                return;

            case 2:
                this._progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 3:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.comboCam = ((System.Windows.Controls.ComboBox)(target));

            #line 13 "..\..\Calibreer.xaml"
                this.comboCam.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboCam_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.webCam = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;

            case 3:

            #line 15 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 16 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 17 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 18 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 19 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 20 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 21 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 22 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 23 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 24 "..\..\Calibreer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

            case 2:

            #line 16 "..\..\FacePage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.video = ((System.Windows.Controls.MediaElement)(target));

            #line 19 "..\..\FacePage.xaml"
                this.video.MediaEnded += new System.Windows.RoutedEventHandler(this.video_MediaEnded);

            #line default
            #line hidden
                return;

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

            case 5:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;

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

            case 7:
                this.age = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.gender = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.facialHair = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.glasses = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.anger = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.contempt = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.disgust = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.fear = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.happiness = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.neutral = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.sadness = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.surprise = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.imageCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 20:
                this.InstructionLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((WSN_Forest_Project.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.buttonexit = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.buttonexit.Click += new System.Windows.RoutedEventHandler(this.Buttonexit_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\MainWindow.xaml"
                this.buttonMinimize.Click += new System.Windows.RoutedEventHandler(this.ButtonMinimize_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.comboPicture = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.startButton = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.startButton.Click += new System.Windows.RoutedEventHandler(this.OnStartButtonClick);

            #line default
            #line hidden
                return;

            case 7:
                this.stopButton = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.stopButton.Click += new System.Windows.RoutedEventHandler(this.OnStopButtonClick);

            #line default
            #line hidden
                return;

            case 8:
                this.imageButton = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.imageButton.Click += new System.Windows.RoutedEventHandler(this.OnImageButtonClick);

            #line default
            #line hidden
                return;

            case 9:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;

            case 10:
                this.MyMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 11:
                this.DefaultPin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
                return;

            case 12:
                this.MyPushPin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
                return;

            case 13:
                this.defaultlocbtn = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.defaultlocbtn.Click += new System.Windows.RoutedEventHandler(this.defaultlocbtn_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.GridGrafik = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.grafikLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.TinggiPlot = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 17:
                this.AccPlot = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 18:
                this.GyroPlot = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 19:
                this.yprButton = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.yprButton.Click += new System.Windows.RoutedEventHandler(this.yprButton_Click);

            #line default
            #line hidden
                return;

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

            #line 99 "..\..\MainWindow.xaml"
                this.elevasiButton.Click += new System.Windows.RoutedEventHandler(this.elevasiButton_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.ketinggianButton = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.ketinggianButton.Click += new System.Windows.RoutedEventHandler(this.ketinggianButton_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.GridTerminal = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.terminalText = ((System.Windows.Controls.TextBox)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.terminalText.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.terminalText_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 24:
                this.visualButton = ((System.Windows.Controls.Button)(target));

            #line 117 "..\..\MainWindow.xaml"
                this.visualButton.Click += new System.Windows.RoutedEventHandler(this.visualButton_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.logButton = ((System.Windows.Controls.Button)(target));

            #line 118 "..\..\MainWindow.xaml"
                this.logButton.Click += new System.Windows.RoutedEventHandler(this.logButton_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.tabVisual = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.gridKoneksi = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.portCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 29:
                this.baudCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 30:
                this.databitCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.stopbitCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 32:
                this.parityCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 33:
                this.handshakeCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 34:
                this.delayCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 35:
                this.portLauncher = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 36:
                this.konekButton = ((System.Windows.Controls.Button)(target));

            #line 155 "..\..\MainWindow.xaml"
                this.konekButton.Click += new System.Windows.RoutedEventHandler(this.konekButton_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.gridUtama = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.barKetinggian = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 39:
                this.barElevasi = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 40:
                this.barTemperatur = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 41:
                this.barTekanan = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 42:
                this.barYaw = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 43:
                this.barPitch = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 44:
                this.barRoll = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 45:
                this.lblLatitude = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.lblLongitude = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.lblKetinggian = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.lblElevasi = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.lblTemperatur = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.lblTekanan = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.lblYaw = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.lblPitch = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.lblRoll = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.lblTimer = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.btnRefresh = ((System.Windows.Controls.Button)(target));

            #line 225 "..\..\MainWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.tabLog = ((System.Windows.Controls.Grid)(target));
                return;

            case 57:
                this.datagridLog = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 58:
                this.Landasan3D = ((System.Windows.Controls.Viewport3D)(target));
                return;

            case 59:
                this.DefaultGroup = ((System.Windows.Media.Media3D.ModelVisual3D)(target));
                return;

            case 60:
                this.group = ((System.Windows.Media.Media3D.Model3DGroup)(target));
                return;

            case 61:
                this.rocket3D = ((System.Windows.Media.Media3D.GeometryModel3D)(target));
                return;

            case 62:
                this.myQuaternionRotation3D = ((System.Windows.Media.Media3D.QuaternionRotation3D)(target));
                return;

            case 63:
                this.btnPutus = ((System.Windows.Controls.Button)(target));

            #line 2195 "..\..\MainWindow.xaml"
                this.btnPutus.Click += new System.Windows.RoutedEventHandler(this.btnPutus_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.btnCapture = ((System.Windows.Controls.Button)(target));

            #line 2197 "..\..\MainWindow.xaml"
                this.btnCapture.Click += new System.Windows.RoutedEventHandler(this.btnCapture_Click);

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

            #line 9 "..\..\..\View\SettingsView.xaml"
                ((GiocoCarteIA.View.SettingsView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden

            #line 9 "..\..\..\View\SettingsView.xaml"
                ((GiocoCarteIA.View.SettingsView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 23 "..\..\..\View\SettingsView.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\View\SettingsView.xaml"
                this.startButton.Click += new System.Windows.RoutedEventHandler(this.OnStartButtonClick);

            #line default
            #line hidden
                return;

            case 4:
                this.stopButton = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\View\SettingsView.xaml"
                this.stopButton.Click += new System.Windows.RoutedEventHandler(this.OnStopButtonClick);

            #line default
            #line hidden
                return;

            case 5:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;

            case 6:
                this.LearningImageOne = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.LearningImageTwo = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.LearnedObjectsList = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 41 "..\..\..\View\SettingsView.xaml"
                this.LearningImageOneButton.Click += new System.Windows.RoutedEventHandler(this.LearningImageOneButton_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\View\SettingsView.xaml"
                this.LearningImageTwoButton.Click += new System.Windows.RoutedEventHandler(this.LearningImageTwoButton_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.LearnObjectButton = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\View\SettingsView.xaml"
                this.LearnObjectButton.Click += new System.Windows.RoutedEventHandler(this.LearnObjectButton_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\View\SettingsView.xaml"
                this.DeleteObjectButton.Click += new System.Windows.RoutedEventHandler(this.DeleteObjectButton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.ObjectNameText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.AnalysisResultsText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.AnalyzeButton = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\View\SettingsView.xaml"
                this.AnalyzeButton.Click += new System.Windows.RoutedEventHandler(this.AnalyzeButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.AnalyzeImageButton = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\View\SettingsView.xaml"
                this.AnalyzeImageButton.Click += new System.Windows.RoutedEventHandler(this.AnalyzeImageButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.AnalysisImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RegisterGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.LoginLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.EmailBox = ((System.Windows.Controls.TextBox)(target));

            #line 13 "..\..\Register.xaml"
                this.EmailBox.LostFocus += new System.Windows.RoutedEventHandler(this.EmailBox_OnLostFocus);

            #line default
            #line hidden

            #line 13 "..\..\Register.xaml"
                this.EmailBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.emailBox_KeyDown);

            #line default
            #line hidden
                return;

            case 4:
                this.NameLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.NameBox = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\Register.xaml"
                this.NameBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.emailBox_KeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.SurnameLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.SurnameBox = ((System.Windows.Controls.TextBox)(target));

            #line 17 "..\..\Register.xaml"
                this.SurnameBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.emailBox_KeyDown);

            #line default
            #line hidden
                return;

            case 8:
                this.PasswordLbl = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 19 "..\..\Register.xaml"
                this.PasswordBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.emailBox_KeyDown);

            #line default
            #line hidden
                return;

            case 10:
                this.RepeatLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.RepeatBox = ((System.Windows.Controls.PasswordBox)(target));

            #line 21 "..\..\Register.xaml"
                this.RepeatBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.emailBox_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\Register.xaml"
                this.RegisterBtn.Click += new System.Windows.RoutedEventHandler(this.RegisterBtn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.WebCamControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;

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

            #line 26 "..\..\Register.xaml"
                this.StartCameraBtn.Click += new System.Windows.RoutedEventHandler(this.StartCameraBtn_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.TakePhotoBtn = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\Register.xaml"
                this.TakePhotoBtn.Click += new System.Windows.RoutedEventHandler(this.TakePhotoBtn_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.PhotoBox = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.StopCameraBtn = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\Register.xaml"
                this.StopCameraBtn.Click += new System.Windows.RoutedEventHandler(this.StopCameraBtn_Click);

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

            #line 10 "..\..\..\View\StartGameView.xaml"
                ((GiocoCarteIA.View.StartGameView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden

            #line 10 "..\..\..\View\StartGameView.xaml"
                ((GiocoCarteIA.View.StartGameView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.FirstCard = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\..\View\StartGameView.xaml"
                this.FirstCard.Click += new System.Windows.RoutedEventHandler(this.FirstCard_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\View\StartGameView.xaml"
                this.SecondCard.Click += new System.Windows.RoutedEventHandler(this.SecondCard_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ThirdCard = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\View\StartGameView.xaml"
                this.ThirdCard.Click += new System.Windows.RoutedEventHandler(this.ThirdCard_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.FourthCard = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\..\View\StartGameView.xaml"
                this.FourthCard.Click += new System.Windows.RoutedEventHandler(this.FourthCard_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.FifthCard = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\View\StartGameView.xaml"
                this.FifthCard.Click += new System.Windows.RoutedEventHandler(this.FifthCard_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.SixthCard = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\View\StartGameView.xaml"
                this.SixthCard.Click += new System.Windows.RoutedEventHandler(this.SixthCard_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.SeventhCard = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\View\StartGameView.xaml"
                this.SeventhCard.Click += new System.Windows.RoutedEventHandler(this.SeventhCard_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.FirstResult = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.SecondResult = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.ThirdResult = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.FourthResult = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.FifthResult = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.SixthResult = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.SeventhResult = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.webCameraControl = ((WebEye.Controls.Wpf.WebCameraControl)(target));
                return;
            }
            this._contentLoaded = true;
        }