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

            #line 5 "..\..\..\Window1.xaml"
                ((Simple_Video_Capture.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\Window1.xaml"
                ((Simple_Video_Capture.Window1)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.tcMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            #line 11 "..\..\..\Window1.xaml"
                this.cbVideoInputDevice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbVideoInputDevice_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\Window1.xaml"
                this.btVideoCaptureDeviceSettings.Click += new System.Windows.RoutedEventHandler(this.btVideoCaptureDeviceSettings_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.cbVideoInputFormat = ((System.Windows.Controls.ComboBox)(target));

            #line 14 "..\..\..\Window1.xaml"
                this.cbVideoInputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbVideoInputFormat_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Window1.xaml"
                this.cbUseBestVideoInputFormat.Checked += new System.Windows.RoutedEventHandler(this.cbUseBestVideoInputFormat_Checked);

            #line default
            #line hidden

            #line 15 "..\..\..\Window1.xaml"
                this.cbUseBestVideoInputFormat.Unchecked += new System.Windows.RoutedEventHandler(this.cbUseBestVideoInputFormat_Checked);

            #line default
            #line hidden
                return;

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

            case 11:
                this.cbFramerate = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 14:
                this.cbAudioInputDevice = ((System.Windows.Controls.ComboBox)(target));

            #line 20 "..\..\..\Window1.xaml"
                this.cbAudioInputDevice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAudioInputDevice_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Window1.xaml"
                this.btAudioInputDeviceSettings.Click += new System.Windows.RoutedEventHandler(this.btAudioInputDeviceSettings_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.cbUseAudioInputFromVideoCaptureDevice = ((System.Windows.Controls.CheckBox)(target));

            #line 22 "..\..\..\Window1.xaml"
                this.cbUseAudioInputFromVideoCaptureDevice.Checked += new System.Windows.RoutedEventHandler(this.cbUseAudioInputFromVideoCaptureDevice_Checked);

            #line default
            #line hidden

            #line 22 "..\..\..\Window1.xaml"
                this.cbUseAudioInputFromVideoCaptureDevice.Unchecked += new System.Windows.RoutedEventHandler(this.cbUseAudioInputFromVideoCaptureDevice_Checked);

            #line default
            #line hidden
                return;

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

            case 18:
                this.cbAudioInputLine = ((System.Windows.Controls.ComboBox)(target));

            #line 24 "..\..\..\Window1.xaml"
                this.cbAudioInputLine.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAudioInputLine_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.cbAudioInputFormat = ((System.Windows.Controls.ComboBox)(target));

            #line 26 "..\..\..\Window1.xaml"
                this.cbAudioInputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAudioInputFormat_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.cbUseBestAudioInputFormat = ((System.Windows.Controls.CheckBox)(target));

            #line 27 "..\..\..\Window1.xaml"
                this.cbUseBestAudioInputFormat.Checked += new System.Windows.RoutedEventHandler(this.cbUseBestAudioInputFormat_Checked);

            #line default
            #line hidden

            #line 27 "..\..\..\Window1.xaml"
                this.cbUseBestAudioInputFormat.Unchecked += new System.Windows.RoutedEventHandler(this.cbUseBestAudioInputFormat_Checked);

            #line default
            #line hidden
                return;

            case 22:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.cbAudioOutputDevice = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.cbRecordAudio = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.tbAudioVolume = ((System.Windows.Controls.Slider)(target));

            #line 31 "..\..\..\Window1.xaml"
                this.tbAudioVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbAudioVolume_ValueChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.tbAudioBalance = ((System.Windows.Controls.Slider)(target));

            #line 33 "..\..\..\Window1.xaml"
                this.tbAudioBalance.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbAudioBalance_ValueChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 40 "..\..\..\Window1.xaml"
                this.cbOutputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbOutputFormat_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.edOutput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.btSelectOutput = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\Window1.xaml"
                this.btSelectOutput.Click += new System.Windows.RoutedEventHandler(this.btSelectOutput_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btOutputConfigure = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\..\Window1.xaml"
                this.btOutputConfigure.Click += new System.Windows.RoutedEventHandler(this.BtOutputConfigure_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 35:
                this.lbLogos = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 65 "..\..\..\Window1.xaml"
                this.btImageLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtImageLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.btTextLogoAdd = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\..\Window1.xaml"
                this.btTextLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtTextLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.btLogoEdit = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\..\Window1.xaml"
                this.btLogoEdit.Click += new System.Windows.RoutedEventHandler(this.BtLogoEdit_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.btLogoRemove = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\Window1.xaml"
                this.btLogoRemove.Click += new System.Windows.RoutedEventHandler(this.BtLogoRemove_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.tbLightness = ((System.Windows.Controls.Slider)(target));

            #line 70 "..\..\..\Window1.xaml"
                this.tbLightness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbLightness_Scroll);

            #line default
            #line hidden
                return;

            case 42:
                this.label92 = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.tbSaturation = ((System.Windows.Controls.Slider)(target));

            #line 72 "..\..\..\Window1.xaml"
                this.tbSaturation.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbSaturation_Scroll);

            #line default
            #line hidden
                return;

            case 44:
                this.label93 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.tbContrast = ((System.Windows.Controls.Slider)(target));

            #line 74 "..\..\..\Window1.xaml"
                this.tbContrast.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbContrast_Scroll);

            #line default
            #line hidden
                return;

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

            case 47:
                this.tbDarkness = ((System.Windows.Controls.Slider)(target));

            #line 76 "..\..\..\Window1.xaml"
                this.tbDarkness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbDarkness_Scroll);

            #line default
            #line hidden
                return;

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

            case 49:
                this.cbGreyscale = ((System.Windows.Controls.CheckBox)(target));

            #line 78 "..\..\..\Window1.xaml"
                this.cbGreyscale.Click += new System.Windows.RoutedEventHandler(this.cbGreyscale_CheckedChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.cbInvert = ((System.Windows.Controls.CheckBox)(target));

            #line 79 "..\..\..\Window1.xaml"
                this.cbInvert.Click += new System.Windows.RoutedEventHandler(this.cbInvert_CheckedChanged);

            #line default
            #line hidden
                return;

            case 51:
                this.cbFlipX = ((System.Windows.Controls.CheckBox)(target));

            #line 80 "..\..\..\Window1.xaml"
                this.cbFlipX.Checked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden

            #line 80 "..\..\..\Window1.xaml"
                this.cbFlipX.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden
                return;

            case 52:
                this.cbFlipY = ((System.Windows.Controls.CheckBox)(target));

            #line 81 "..\..\..\Window1.xaml"
                this.cbFlipY.Checked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden

            #line 81 "..\..\..\Window1.xaml"
                this.cbFlipY.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden
                return;

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

            case 54:
                this.tabItem5 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 55:
                this.cbDebugMode = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 56:
                this.mmLog = ((System.Windows.Controls.TextBox)(target));
                return;

            case 57:
                this.cbLicensing = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 58:
                this.btStop = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\..\Window1.xaml"
                this.btStop.Click += new System.Windows.RoutedEventHandler(this.btStop_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.btStart = ((System.Windows.Controls.Button)(target));

            #line 94 "..\..\..\Window1.xaml"
                this.btStart.Click += new System.Windows.RoutedEventHandler(this.btStart_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.VideoCapture1 = ((VisioForge.Controls.UI.WPF.VideoCapture)(target));

            #line 95 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError);

            #line default
            #line hidden

            #line 95 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired);

            #line default
            #line hidden
                return;

            case 61:
                this.lbViewVideoTutorials = ((System.Windows.Controls.Label)(target));

            #line 97 "..\..\..\Window1.xaml"
                this.lbViewVideoTutorials.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbViewVideoTutorials_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 62:
                this.rbPreview = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 63:
                this.rbCapture = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 64:
                this.lbTimestamp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.btResume = ((System.Windows.Controls.Button)(target));

            #line 102 "..\..\..\Window1.xaml"
                this.btResume.Click += new System.Windows.RoutedEventHandler(this.BtResume_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.btPause = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\..\Window1.xaml"
                this.btPause.Click += new System.Windows.RoutedEventHandler(this.BtPause_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.btSaveScreenshot_Copy = ((System.Windows.Controls.Button)(target));

            #line 104 "..\..\..\Window1.xaml"
                this.btSaveScreenshot_Copy.Click += new System.Windows.RoutedEventHandler(this.btSaveScreenshot_Click);

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

            #line 4 "..\..\..\Window1.xaml"
                ((IP_Capture.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Form1_Load);

            #line default
            #line hidden

            #line 4 "..\..\..\Window1.xaml"
                ((IP_Capture.Window1)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.tcMain = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

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

            case 6:
                this.cbIPAudioCapture = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 8:
                this.edIPLogin = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 10:
                this.edIPPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.cbIPCameraType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 35 "..\..\..\Window1.xaml"
                this.lbVLCRedist.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbVLCRedist_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\Window1.xaml"
                this.btShowIPCamDatabase.Click += new System.Windows.RoutedEventHandler(this.btShowIPCamDatabase_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.cbIPCameraONVIF = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.cbIPDisconnect = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.edIPForcedFramerate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.edIPForcedFramerateID = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 19:
                this.edVLCCacheSize = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.cbVLCZeroClockJitter = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 54 "..\..\..\Window1.xaml"
                this.btONVIFConnect.Click += new System.Windows.RoutedEventHandler(this.btONVIFConnect_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btONVIFUp = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\Window1.xaml"
                this.btONVIFUp.Click += new System.Windows.RoutedEventHandler(this.btONVIFUp_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btONVIFDown = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\..\Window1.xaml"
                this.btONVIFDown.Click += new System.Windows.RoutedEventHandler(this.btONVIFDown_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\Window1.xaml"
                this.btONVIFLeft.Click += new System.Windows.RoutedEventHandler(this.btONVIFLeft_Click);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\Window1.xaml"
                this.btONVIFRight.Click += new System.Windows.RoutedEventHandler(this.btONVIFRight_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btONVIFZoomIn = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\Window1.xaml"
                this.btONVIFZoomIn.Click += new System.Windows.RoutedEventHandler(this.btONVIFZoomIn_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.btONVIFZoomOut = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\..\Window1.xaml"
                this.btONVIFZoomOut.Click += new System.Windows.RoutedEventHandler(this.btONVIFZoomOut_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btONVIFPTZSetDefault = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\..\Window1.xaml"
                this.btONVIFPTZSetDefault.Click += new System.Windows.RoutedEventHandler(this.btONVIFPTZSetDefault_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.lbONVIFCameraInfo = ((System.Windows.Controls.Label)(target));
                return;

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

            case 31:
                this.edONVIFLiveVideoURL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.edONVIFURL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.label221_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.edONVIFLogin = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.label222_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.edONVIFPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.cbOutputFormat = ((System.Windows.Controls.ComboBox)(target));

            #line 84 "..\..\..\Window1.xaml"
                this.cbOutputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbOutputFormat_SelectionChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.cbRecordAudio = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 39:
                this.label22 = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.edOutput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.btSelectOutput = ((System.Windows.Controls.Button)(target));

            #line 102 "..\..\..\Window1.xaml"
                this.btSelectOutput.Click += new System.Windows.RoutedEventHandler(this.btSelectOutput_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.btOutputConfigure = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\..\Window1.xaml"
                this.btOutputConfigure.Click += new System.Windows.RoutedEventHandler(this.BtOutputConfigure_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.lbLogos = ((System.Windows.Controls.ListBox)(target));
                return;

            case 44:
                this.btImageLogoAdd = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\Window1.xaml"
                this.btImageLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtImageLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.btTextLogoAdd = ((System.Windows.Controls.Button)(target));

            #line 111 "..\..\..\Window1.xaml"
                this.btTextLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtTextLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.btLogoEdit = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\..\Window1.xaml"
                this.btLogoEdit.Click += new System.Windows.RoutedEventHandler(this.BtLogoEdit_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.btLogoRemove = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\..\Window1.xaml"
                this.btLogoRemove.Click += new System.Windows.RoutedEventHandler(this.BtLogoRemove_Click);

            #line default
            #line hidden
                return;

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

            case 49:
                this.tbLightness = ((System.Windows.Controls.Slider)(target));

            #line 115 "..\..\..\Window1.xaml"
                this.tbLightness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbLightness_Scroll);

            #line default
            #line hidden
                return;

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

            case 51:
                this.tbSaturation = ((System.Windows.Controls.Slider)(target));

            #line 117 "..\..\..\Window1.xaml"
                this.tbSaturation.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbSaturation_Scroll);

            #line default
            #line hidden
                return;

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

            case 53:
                this.tbContrast = ((System.Windows.Controls.Slider)(target));

            #line 119 "..\..\..\Window1.xaml"
                this.tbContrast.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbContrast_Scroll);

            #line default
            #line hidden
                return;

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

            case 55:
                this.tbDarkness = ((System.Windows.Controls.Slider)(target));

            #line 121 "..\..\..\Window1.xaml"
                this.tbDarkness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbDarkness_Scroll);

            #line default
            #line hidden
                return;

            case 56:
                this.label95 = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.cbGreyscale = ((System.Windows.Controls.CheckBox)(target));

            #line 123 "..\..\..\Window1.xaml"
                this.cbGreyscale.Click += new System.Windows.RoutedEventHandler(this.cbGreyscale_CheckedChanged);

            #line default
            #line hidden
                return;

            case 58:
                this.cbInvert = ((System.Windows.Controls.CheckBox)(target));

            #line 124 "..\..\..\Window1.xaml"
                this.cbInvert.Click += new System.Windows.RoutedEventHandler(this.cbInvert_CheckedChanged);

            #line default
            #line hidden
                return;

            case 59:
                this.cbFlipX = ((System.Windows.Controls.CheckBox)(target));

            #line 125 "..\..\..\Window1.xaml"
                this.cbFlipX.Checked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden

            #line 125 "..\..\..\Window1.xaml"
                this.cbFlipX.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden
                return;

            case 60:
                this.cbFlipY = ((System.Windows.Controls.CheckBox)(target));

            #line 126 "..\..\..\Window1.xaml"
                this.cbFlipY.Checked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden

            #line 126 "..\..\..\Window1.xaml"
                this.cbFlipY.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden
                return;

            case 61:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.mmLog = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.cbDebugMode = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 64:
                this.cbLicensing = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 65:
                this.rbPreview = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 66:
                this.rbCapture = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 67:
                this.btStart = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\..\Window1.xaml"
                this.btStart.Click += new System.Windows.RoutedEventHandler(this.btStart_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.btStop = ((System.Windows.Controls.Button)(target));

            #line 142 "..\..\..\Window1.xaml"
                this.btStop.Click += new System.Windows.RoutedEventHandler(this.btStop_Click);

            #line default
            #line hidden
                return;

            case 69:
                this.label11 = ((System.Windows.Controls.Label)(target));

            #line 144 "..\..\..\Window1.xaml"
                this.label11.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.llVideoTutorials_LinkClicked);

            #line default
            #line hidden
                return;

            case 70:
                this.VideoCapture1 = ((VisioForge.Controls.UI.WPF.VideoCapture)(target));

            #line 147 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError);

            #line default
            #line hidden

            #line 148 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired);

            #line default
            #line hidden
                return;

            case 71:
                this.lbTimestamp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.btResume = ((System.Windows.Controls.Button)(target));

            #line 152 "..\..\..\Window1.xaml"
                this.btResume.Click += new System.Windows.RoutedEventHandler(this.BtResume_Click);

            #line default
            #line hidden
                return;

            case 73:
                this.btPause = ((System.Windows.Controls.Button)(target));

            #line 153 "..\..\..\Window1.xaml"
                this.btPause.Click += new System.Windows.RoutedEventHandler(this.BtPause_Click);

            #line default
            #line hidden
                return;

            case 74:
                this.btSaveScreenshot_Copy = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\..\Window1.xaml"
                this.btSaveScreenshot_Copy.Click += new System.Windows.RoutedEventHandler(this.btSaveScreenshot_Click);

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

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

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

            #line 43 "..\..\MainWindow - Copy.xaml"
                this.BtnConnect.Click += new System.Windows.RoutedEventHandler(this.Connect);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\MainWindow - Copy.xaml"
                this.BtnDisconnect.Click += new System.Windows.RoutedEventHandler(this.Disconnect);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\MainWindow - Copy.xaml"
                this.BtnRecord.Click += new System.Windows.RoutedEventHandler(this.Record);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\MainWindow - Copy.xaml"
                this.BtnSnap.Click += new System.Windows.RoutedEventHandler(this.Snapshot);

            #line default
            #line hidden
                return;

            case 7:
                this.ControlsGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 114 "..\..\MainWindow - Copy.xaml"
                this.BtnW.Click += new System.Windows.RoutedEventHandler(this.W);

            #line default
            #line hidden

            #line 114 "..\..\MainWindow - Copy.xaml"
                this.BtnW.AddHandler(System.Windows.Input.Keyboard.KeyUpEvent, new System.Windows.Input.KeyEventHandler(this.key_event));

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MainWindow - Copy.xaml"
                this.BtnSpace.Click += new System.Windows.RoutedEventHandler(this.Space);

            #line default
            #line hidden

            #line 117 "..\..\MainWindow - Copy.xaml"
                this.BtnSpace.AddHandler(System.Windows.Input.Keyboard.KeyUpEvent, new System.Windows.Input.KeyEventHandler(this.key_event));

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\MainWindow - Copy.xaml"
                this.BtnS.Click += new System.Windows.RoutedEventHandler(this.S);

            #line default
            #line hidden

            #line 120 "..\..\MainWindow - Copy.xaml"
                this.BtnS.AddHandler(System.Windows.Input.Keyboard.KeyUpEvent, new System.Windows.Input.KeyEventHandler(this.key_event));

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\MainWindow - Copy.xaml"
                this.BtnA.Click += new System.Windows.RoutedEventHandler(this.A);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow - Copy.xaml"
                this.BtnA.AddHandler(System.Windows.Input.Keyboard.KeyUpEvent, new System.Windows.Input.KeyEventHandler(this.key_event));

            #line default
            #line hidden
                return;

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

            #line 126 "..\..\MainWindow - Copy.xaml"
                this.BtnD.Click += new System.Windows.RoutedEventHandler(this.D);

            #line default
            #line hidden

            #line 126 "..\..\MainWindow - Copy.xaml"
                this.BtnD.AddHandler(System.Windows.Input.Keyboard.KeyUpEvent, new System.Windows.Input.KeyEventHandler(this.key_event));

            #line default
            #line hidden
                return;

            case 14:
                this.Slider_vel = ((System.Windows.Controls.Slider)(target));

            #line 129 "..\..\MainWindow - Copy.xaml"
                this.Slider_vel.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_vel_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line 141 "..\..\MainWindow - Copy.xaml"
                this.Slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 18:
                this.Sensoring = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 152 "..\..\MainWindow - Copy.xaml"
                this.Led_on.Click += new System.Windows.RoutedEventHandler(this.Led_on_Click);

            #line default
            #line hidden
                return;

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

            #line 153 "..\..\MainWindow - Copy.xaml"
                this.Led_off.Click += new System.Windows.RoutedEventHandler(this.Led_off_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.Sensoring_txb = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 22:
                this.videoCapture1 = ((VisioForge.Controls.UI.WPF.VideoCapture)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Window1.xaml"
                ((Screen_Capture.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Form1_Load);

            #line default
            #line hidden

            #line 4 "..\..\..\Window1.xaml"
                ((Screen_Capture.Window1)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

            #line 6 "..\..\..\Window1.xaml"
                this.btStart.Click += new System.Windows.RoutedEventHandler(this.btStart_Click);

            #line default
            #line hidden
                return;

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

            #line 7 "..\..\..\Window1.xaml"
                this.btStop.Click += new System.Windows.RoutedEventHandler(this.btStop_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tcMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 5:
                this.tabPage1 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 7:
                this.cbAudioInputDevice = ((System.Windows.Controls.ComboBox)(target));

            #line 12 "..\..\..\Window1.xaml"
                this.cbAudioInputDevice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAudioInputDevice_SelectedIndexChanged);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\..\Window1.xaml"
                this.btAudioInputDeviceSettings.Click += new System.Windows.RoutedEventHandler(this.btAudioInputDeviceSettings_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.rbScreenFullScreen = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.rbScreenCustomArea = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            case 14:
                this.edScreenLeft = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 16:
                this.edScreenRight = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 18:
                this.edScreenTop = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.label25 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.edScreenBottom = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.label26 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.edScreenFrameRate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.label27 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.label28 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 30 "..\..\..\Window1.xaml"
                this.btScreenCaptureUpdate.Click += new System.Windows.RoutedEventHandler(this.btScreenCaptureUpdate_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.cbScreenCapture_GrabMouseCursor = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 27:
                this.cbRecordAudio = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.label29 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 34 "..\..\..\Window1.xaml"
                this.cbAudioInputLine.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAudioInputLine_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.label30 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 36 "..\..\..\Window1.xaml"
                this.cbAudioInputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAudioInputFormat_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.cbUseBestAudioInputFormat = ((System.Windows.Controls.CheckBox)(target));

            #line 37 "..\..\..\Window1.xaml"
                this.cbUseBestAudioInputFormat.Checked += new System.Windows.RoutedEventHandler(this.cbUseBestAudioInputFormat_CheckedChanged);

            #line default
            #line hidden
                return;

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

            case 34:
                this.label55 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.rbScreenCaptureWindow = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 36:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.edScreenCaptureWindowName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.cbScreenCapture_DesktopDuplication = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 39:
                this.cbOutputFormat = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\..\Window1.xaml"
                this.cbOutputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbOutputFormat_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.edOutput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.btSelectOutput = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\..\Window1.xaml"
                this.btSelectOutput.Click += new System.Windows.RoutedEventHandler(this.btSelectOutput_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.btOutputConfigure = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\..\Window1.xaml"
                this.btOutputConfigure.Click += new System.Windows.RoutedEventHandler(this.BtOutputConfigure_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.lbLogos = ((System.Windows.Controls.ListBox)(target));
                return;

            case 44:
                this.btImageLogoAdd = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\..\Window1.xaml"
                this.btImageLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtImageLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.btTextLogoAdd = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\..\Window1.xaml"
                this.btTextLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtTextLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.btLogoEdit = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\..\Window1.xaml"
                this.btLogoEdit.Click += new System.Windows.RoutedEventHandler(this.BtLogoEdit_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.btLogoRemove = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\..\Window1.xaml"
                this.btLogoRemove.Click += new System.Windows.RoutedEventHandler(this.BtLogoRemove_Click);

            #line default
            #line hidden
                return;

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

            case 49:
                this.tbLightness = ((System.Windows.Controls.Slider)(target));

            #line 79 "..\..\..\Window1.xaml"
                this.tbLightness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbLightness_Scroll);

            #line default
            #line hidden
                return;

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

            case 51:
                this.tbSaturation = ((System.Windows.Controls.Slider)(target));

            #line 81 "..\..\..\Window1.xaml"
                this.tbSaturation.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbSaturation_Scroll);

            #line default
            #line hidden
                return;

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

            case 53:
                this.tbContrast = ((System.Windows.Controls.Slider)(target));

            #line 83 "..\..\..\Window1.xaml"
                this.tbContrast.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbContrast_Scroll);

            #line default
            #line hidden
                return;

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

            case 55:
                this.tbDarkness = ((System.Windows.Controls.Slider)(target));

            #line 85 "..\..\..\Window1.xaml"
                this.tbDarkness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbDarkness_Scroll);

            #line default
            #line hidden
                return;

            case 56:
                this.label95 = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.cbGreyscale = ((System.Windows.Controls.CheckBox)(target));

            #line 87 "..\..\..\Window1.xaml"
                this.cbGreyscale.Click += new System.Windows.RoutedEventHandler(this.cbGreyscale_CheckedChanged);

            #line default
            #line hidden
                return;

            case 58:
                this.cbInvert = ((System.Windows.Controls.CheckBox)(target));

            #line 88 "..\..\..\Window1.xaml"
                this.cbInvert.Click += new System.Windows.RoutedEventHandler(this.cbInvert_CheckedChanged);

            #line default
            #line hidden
                return;

            case 59:
                this.cbFlipX = ((System.Windows.Controls.CheckBox)(target));

            #line 89 "..\..\..\Window1.xaml"
                this.cbFlipX.Checked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden

            #line 89 "..\..\..\Window1.xaml"
                this.cbFlipX.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden
                return;

            case 60:
                this.cbFlipY = ((System.Windows.Controls.CheckBox)(target));

            #line 90 "..\..\..\Window1.xaml"
                this.cbFlipY.Checked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden

            #line 90 "..\..\..\Window1.xaml"
                this.cbFlipY.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden
                return;

            case 61:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.mmLog = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.cbDebugMode = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 64:
                this.cbLicensing = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 65:
                this.label33 = ((System.Windows.Controls.Label)(target));

            #line 102 "..\..\..\Window1.xaml"
                this.label33.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.llVideoTutorials_LinkClicked);

            #line default
            #line hidden
                return;

            case 66:
                this.VideoCapture1 = ((VisioForge.Controls.UI.WPF.VideoCapture)(target));

            #line 103 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError);

            #line default
            #line hidden

            #line 103 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired);

            #line default
            #line hidden
                return;

            case 67:
                this.rbPreview = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 68:
                this.rbCapture = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 69:
                this.lbTimestamp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.btResume = ((System.Windows.Controls.Button)(target));

            #line 108 "..\..\..\Window1.xaml"
                this.btResume.Click += new System.Windows.RoutedEventHandler(this.BtResume_Click);

            #line default
            #line hidden
                return;

            case 71:
                this.btPause = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\..\Window1.xaml"
                this.btPause.Click += new System.Windows.RoutedEventHandler(this.BtPause_Click);

            #line default
            #line hidden
                return;

            case 72:

            #line 110 "..\..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btSaveScreenshot_Click);

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

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

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((MultipleWebCameras.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.videoCapture1 = ((VisioForge.Controls.UI.WPF.VideoCapture)(target));
                return;

            case 3:
                this.videoCapture2 = ((VisioForge.Controls.UI.WPF.VideoCapture)(target));
                return;

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

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

            #line 15 "..\..\..\MainWindow.xaml"
                this.btStart1.Click += new System.Windows.RoutedEventHandler(this.btStart1_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\MainWindow.xaml"
                this.btStop1.Click += new System.Windows.RoutedEventHandler(this.btStop1_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.cbCamera2 = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 18 "..\..\..\MainWindow.xaml"
                this.btStart2.Click += new System.Windows.RoutedEventHandler(this.btStart2_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\MainWindow.xaml"
                this.btStop2.Click += new System.Windows.RoutedEventHandler(this.btStop2_Click);

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

            #line 4 "..\..\..\Window1.xaml"
                ((DVCapture.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Form1_Load);

            #line default
            #line hidden

            #line 4 "..\..\..\Window1.xaml"
                ((DVCapture.Window1)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.rbPreview = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.rbCapture = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            #line 8 "..\..\..\Window1.xaml"
                this.btStart.Click += new System.Windows.RoutedEventHandler(this.btStart_Click);

            #line default
            #line hidden
                return;

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

            #line 9 "..\..\..\Window1.xaml"
                this.btStop.Click += new System.Windows.RoutedEventHandler(this.btStop_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tcMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 7:
                this.tabPage1 = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            #line 14 "..\..\..\Window1.xaml"
                this.cbVideoInputDevice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbVideoInputDevice_SelectedIndexChanged);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Window1.xaml"
                this.btVideoCaptureDeviceSettings.Click += new System.Windows.RoutedEventHandler(this.btVideoCaptureDeviceSettings_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.cbVideoInputFormat = ((System.Windows.Controls.ComboBox)(target));

            #line 17 "..\..\..\Window1.xaml"
                this.cbVideoInputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbVideoInputFormat_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.cbUseBestVideoInputFormat = ((System.Windows.Controls.CheckBox)(target));

            #line 18 "..\..\..\Window1.xaml"
                this.cbUseBestVideoInputFormat.Checked += new System.Windows.RoutedEventHandler(this.cbUseBestVideoInputFormat_CheckedChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.cbFramerate = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 15:
                this.cbAudioOutputDevice = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 18:
                this.tbAudioVolume = ((System.Windows.Controls.Slider)(target));

            #line 24 "..\..\..\Window1.xaml"
                this.tbAudioVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbAudioVolume_Scroll);

            #line default
            #line hidden
                return;

            case 19:
                this.tbAudioBalance = ((System.Windows.Controls.Slider)(target));

            #line 25 "..\..\..\Window1.xaml"
                this.tbAudioBalance.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbAudioBalance_Scroll);

            #line default
            #line hidden
                return;

            case 20:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 28 "..\..\..\Window1.xaml"
                this.btDVRewind.Click += new System.Windows.RoutedEventHandler(this.btDVRewind_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btDVPause = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\Window1.xaml"
                this.btDVPause.Click += new System.Windows.RoutedEventHandler(this.btDVPause_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btDVPlay = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\..\Window1.xaml"
                this.btDVPlay.Click += new System.Windows.RoutedEventHandler(this.btDVPlay_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\Window1.xaml"
                this.btDVStop.Click += new System.Windows.RoutedEventHandler(this.btDVStop_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\Window1.xaml"
                this.btDVFF.Click += new System.Windows.RoutedEventHandler(this.btDVFF_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btDVStepRev = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\Window1.xaml"
                this.btDVStepRev.Click += new System.Windows.RoutedEventHandler(this.btDVStepRev_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.btDVStepFWD = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\Window1.xaml"
                this.btDVStepFWD.Click += new System.Windows.RoutedEventHandler(this.btDVStepFWD_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 29:
                this.rbDVResFull = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 30:
                this.rbDVResQuarter = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 31:
                this.rbDVResHalf = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 32:
                this.rbDVResDC = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 33:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 51 "..\..\..\Window1.xaml"
                this.cbOutputFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbOutputFormat_SelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.cbRecordAudio = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 36:
                this.label22 = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.edOutput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.btSelectOutput = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\..\Window1.xaml"
                this.btSelectOutput.Click += new System.Windows.RoutedEventHandler(this.btSelectOutput_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.btOutputConfigure = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\..\Window1.xaml"
                this.btOutputConfigure.Click += new System.Windows.RoutedEventHandler(this.BtOutputConfigure_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.lbLogos = ((System.Windows.Controls.ListBox)(target));
                return;

            case 41:
                this.btImageLogoAdd = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\..\Window1.xaml"
                this.btImageLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtImageLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.btTextLogoAdd = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\..\Window1.xaml"
                this.btTextLogoAdd.Click += new System.Windows.RoutedEventHandler(this.BtTextLogoAdd_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.btLogoEdit = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\Window1.xaml"
                this.btLogoEdit.Click += new System.Windows.RoutedEventHandler(this.BtLogoEdit_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.btLogoRemove = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\Window1.xaml"
                this.btLogoRemove.Click += new System.Windows.RoutedEventHandler(this.BtLogoRemove_Click);

            #line default
            #line hidden
                return;

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

            case 46:
                this.tbLightness = ((System.Windows.Controls.Slider)(target));

            #line 83 "..\..\..\Window1.xaml"
                this.tbLightness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbLightness_Scroll);

            #line default
            #line hidden
                return;

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

            case 48:
                this.tbSaturation = ((System.Windows.Controls.Slider)(target));

            #line 85 "..\..\..\Window1.xaml"
                this.tbSaturation.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbSaturation_Scroll);

            #line default
            #line hidden
                return;

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

            case 50:
                this.tbContrast = ((System.Windows.Controls.Slider)(target));

            #line 87 "..\..\..\Window1.xaml"
                this.tbContrast.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbContrast_Scroll);

            #line default
            #line hidden
                return;

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

            case 52:
                this.tbDarkness = ((System.Windows.Controls.Slider)(target));

            #line 89 "..\..\..\Window1.xaml"
                this.tbDarkness.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.tbDarkness_Scroll);

            #line default
            #line hidden
                return;

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

            case 54:
                this.cbGreyscale = ((System.Windows.Controls.CheckBox)(target));

            #line 91 "..\..\..\Window1.xaml"
                this.cbGreyscale.Click += new System.Windows.RoutedEventHandler(this.cbGreyscale_CheckedChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.cbInvert = ((System.Windows.Controls.CheckBox)(target));

            #line 92 "..\..\..\Window1.xaml"
                this.cbInvert.Click += new System.Windows.RoutedEventHandler(this.cbInvert_CheckedChanged);

            #line default
            #line hidden
                return;

            case 56:
                this.cbFlipX = ((System.Windows.Controls.CheckBox)(target));

            #line 93 "..\..\..\Window1.xaml"
                this.cbFlipX.Checked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden

            #line 93 "..\..\..\Window1.xaml"
                this.cbFlipX.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipX_Checked);

            #line default
            #line hidden
                return;

            case 57:
                this.cbFlipY = ((System.Windows.Controls.CheckBox)(target));

            #line 94 "..\..\..\Window1.xaml"
                this.cbFlipY.Checked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden

            #line 94 "..\..\..\Window1.xaml"
                this.cbFlipY.Unchecked += new System.Windows.RoutedEventHandler(this.CbFlipY_Checked);

            #line default
            #line hidden
                return;

            case 58:
                this.cbDeinterlaceCAVT = ((System.Windows.Controls.CheckBox)(target));

            #line 95 "..\..\..\Window1.xaml"
                this.cbDeinterlaceCAVT.Checked += new System.Windows.RoutedEventHandler(this.CbDeinterlaceCAVT_Checked);

            #line default
            #line hidden

            #line 95 "..\..\..\Window1.xaml"
                this.cbDeinterlaceCAVT.Unchecked += new System.Windows.RoutedEventHandler(this.CbDeinterlaceCAVT_Checked);

            #line default
            #line hidden
                return;

            case 59:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.mmLog = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.cbDebugMode = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 62:
                this.cbLicensing = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 63:
                this.label25 = ((System.Windows.Controls.Label)(target));

            #line 107 "..\..\..\Window1.xaml"
                this.label25.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.llVideoTutorials_LinkClicked);

            #line default
            #line hidden
                return;

            case 64:
                this.VideoCapture1 = ((VisioForge.Controls.UI.WPF.VideoCapture)(target));

            #line 109 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError);

            #line default
            #line hidden

            #line 109 "..\..\..\Window1.xaml"
                this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired);

            #line default
            #line hidden
                return;

            case 65:
                this.lbTimestamp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 66:
                this.btResume = ((System.Windows.Controls.Button)(target));

            #line 111 "..\..\..\Window1.xaml"
                this.btResume.Click += new System.Windows.RoutedEventHandler(this.BtResume_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.btPause = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\..\Window1.xaml"
                this.btPause.Click += new System.Windows.RoutedEventHandler(this.BtPause_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.btSaveScreenshot_Copy = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\..\Window1.xaml"
                this.btSaveScreenshot_Copy.Click += new System.Windows.RoutedEventHandler(this.btSaveScreenshot_Click);

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