Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.flowControls = ((ExperienceMainControls.MainControls)(target));
                return;

            case 3:
                this.xpControlsPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.wpanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 6:
                this.protocolBodyPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            case 10:
                this.protocolSpecificSeparator = ((System.Windows.Controls.Separator)(target));
                return;

            case 11:
                this.protocolList = ((ExperienceMainControls.TreeViewControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\windows\NewXP1.xaml"
                ((WpfApplication1.windows.NewXP1)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.mainPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.flowControls = ((ExperienceMainControls.MainControls)(target));

            #line 13 "..\..\..\windows\NewXP1.xaml"
                this.flowControls.StartClick += new System.Windows.RoutedEventHandler(this.MainPanelStartClick);

            #line default
            #line hidden

            #line 13 "..\..\..\windows\NewXP1.xaml"
                this.flowControls.StopClick += new System.Windows.RoutedEventHandler(this.MainPanelStopClick);

            #line default
            #line hidden

            #line 13 "..\..\..\windows\NewXP1.xaml"
                this.flowControls.ResetClick += new System.Windows.RoutedEventHandler(this.MainPanelResetClick);

            #line default
            #line hidden

            #line 13 "..\..\..\windows\NewXP1.xaml"
                this.flowControls.CargarClick += new System.Windows.RoutedEventHandler(this.MainPanelCargarClick);

            #line default
            #line hidden

            #line 13 "..\..\..\windows\NewXP1.xaml"
                this.flowControls.GuardarClick += new System.Windows.RoutedEventHandler(this.MainPanelGuardarClick);

            #line default
            #line hidden
                return;

            case 4:
                this.xpControlsPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 6:
                this.protocolBodyPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            case 10:
                this.perProtocolControls = ((ExperienceMainControls.PerProtocolControls)(target));

            #line 23 "..\..\..\windows\NewXP1.xaml"
                this.perProtocolControls.PriorityCycleClick += new System.Windows.RoutedEventHandler(this.PerProtocolControlsPriorityCycleClick);

            #line default
            #line hidden

            #line 23 "..\..\..\windows\NewXP1.xaml"
                this.perProtocolControls.PriorityTimeClick += new System.Windows.RoutedEventHandler(this.PerProtocolControlsPriorityTimeClick);

            #line default
            #line hidden
                return;

            case 11:
                this.protocolSpecificSeparator = ((System.Windows.Controls.Separator)(target));
                return;

            case 12:
                this.ProtocolSpecificMainPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.SoundPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 16:
                this.CyclesBwnPulse = ((CustomControlLibrary.NumericUpDown)(target));
                return;

            case 17:
                this.gbSonido = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 18:
                this.spSonido = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 19:
                this.cbActivateSound = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 21:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 23:
                this.nudSoundFreq = ((CustomControlLibrary.NumericUpDown)(target));
                return;

            case 24:
                this.gbAnims = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 25:
                this.spAnims = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            case 29:
                this.nudPassiveFreq = ((CustomControlLibrary.NumericUpDown)(target));
                return;

            case 30:
                this.grid4 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 32:
                this.nudActiveFreq = ((CustomControlLibrary.NumericUpDown)(target));
                return;

            case 33:
                this.grid33 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 35:
                this.nudPassiveFreqPost = ((CustomControlLibrary.NumericUpDown)(target));
                return;

            case 36:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 37:
                this.sliderValue = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.labelAnimPerc = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.sliderPercentage = ((System.Windows.Controls.Slider)(target));
                return;

            case 40:
                this.BotonCopyToAllSeparator = ((System.Windows.Controls.Separator)(target));
                return;

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

            #line 110 "..\..\..\windows\NewXP1.xaml"
                this.botonCopytoAll.Click += new System.Windows.RoutedEventHandler(this.CopyToAllButtonClick);

            #line default
            #line hidden
                return;

            case 42:
                this.tvProtocolosControl = ((ExperienceMainControls.TreeViewControl)(target));

            #line 125 "..\..\..\windows\NewXP1.xaml"
                this.tvProtocolosControl.DisableAllClick += new System.Windows.RoutedEventHandler(this.UcProtocolListDisableAllClick);

            #line default
            #line hidden

            #line 125 "..\..\..\windows\NewXP1.xaml"
                this.tvProtocolosControl.EnableAllClick += new System.Windows.RoutedEventHandler(this.UcProtocolListEnableAllClick);

            #line default
            #line hidden

            #line 125 "..\..\..\windows\NewXP1.xaml"
                this.tvProtocolosControl.SelectProtocolClick += new System.Windows.RoutedEventHandler(this.UcProtocolListSelectProtocolClick);

            #line default
            #line hidden

            #line 125 "..\..\..\windows\NewXP1.xaml"
                this.tvProtocolosControl.RefreshClick += new System.Windows.RoutedEventHandler(this.UcProtocolListRefreshClick);

            #line default
            #line hidden
                return;

            case 43:
                this.dbgBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 129 "..\..\..\windows\NewXP1.xaml"
                this.botonSalir.Click += new System.Windows.RoutedEventHandler(this.BotonSalirClick);

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

            #line 10 "..\..\..\windows\NewXP2.xaml"
                ((WpfApplication1.windows.NewXP2)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.mainPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.flowControls = ((ExperienceMainControls.MainControls)(target));

            #line 12 "..\..\..\windows\NewXP2.xaml"
                this.flowControls.StartClick += new System.Windows.RoutedEventHandler(this.MainPanelStartClick);

            #line default
            #line hidden

            #line 12 "..\..\..\windows\NewXP2.xaml"
                this.flowControls.StopClick += new System.Windows.RoutedEventHandler(this.MainPanelStopClick);

            #line default
            #line hidden

            #line 12 "..\..\..\windows\NewXP2.xaml"
                this.flowControls.ResetClick += new System.Windows.RoutedEventHandler(this.MainPanelResetClick);

            #line default
            #line hidden

            #line 12 "..\..\..\windows\NewXP2.xaml"
                this.flowControls.CargarClick += new System.Windows.RoutedEventHandler(this.MainPanelCargarClick);

            #line default
            #line hidden

            #line 12 "..\..\..\windows\NewXP2.xaml"
                this.flowControls.GuardarClick += new System.Windows.RoutedEventHandler(this.MainPanelGuardarClick);

            #line default
            #line hidden
                return;

            case 4:
                this.xpControlsPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.groupProtocolSpecific = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.protocolBodyPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            case 10:
                this.perProtocolControls = ((ExperienceMainControls.PerProtocolControls)(target));

            #line 23 "..\..\..\windows\NewXP2.xaml"
                this.perProtocolControls.PriorityCycleClick += new System.Windows.RoutedEventHandler(this.PerProtocolControlsPriorityCycleClick);

            #line default
            #line hidden

            #line 23 "..\..\..\windows\NewXP2.xaml"
                this.perProtocolControls.PriorityTimeClick += new System.Windows.RoutedEventHandler(this.PerProtocolControlsPriorityTimeClick);

            #line default
            #line hidden
                return;

            case 11:
                this.protocolSpecificSeparator = ((System.Windows.Controls.Separator)(target));
                return;

            case 12:
                this.protocolSpecificPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.CicleSchemaPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 16:
                this.CyclesBwnPulse = ((CustomControlLibrary.NumericUpDown)(target));
                return;

            case 17:
                this.EsquemaCiclo = ((System.Windows.Controls.Image)(target));
                return;

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

            case 19:
                this.protocolSpecificPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 21:
                this.spDianas = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 22:
                this.stackDistancia = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 24:
                this.sliderPercentage = ((System.Windows.Controls.Slider)(target));
                return;

            case 25:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 28:
                this.gridIluminaDiana = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 30:
                this.gridEndIluminaDiana = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:
                this.labelTimeToStopLighten = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.grid56 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 128 "..\..\..\windows\NewXP2.xaml"
                this.rbRandom.Checked += new System.Windows.RoutedEventHandler(this.RbRandomChecked);

            #line default
            #line hidden
                return;

            case 36:
                this.rbRightPanel = ((System.Windows.Controls.RadioButton)(target));

            #line 129 "..\..\..\windows\NewXP2.xaml"
                this.rbRightPanel.Checked += new System.Windows.RoutedEventHandler(this.RbRightPanelChecked);

            #line default
            #line hidden
                return;

            case 37:
                this.rbLeftPanel = ((System.Windows.Controls.RadioButton)(target));

            #line 130 "..\..\..\windows\NewXP2.xaml"
                this.rbLeftPanel.Checked += new System.Windows.RoutedEventHandler(this.RbLeftPanelChecked);

            #line default
            #line hidden
                return;

            case 38:
                this.gbAnims = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 39:
                this.spAnims = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 40:
                this.enableAnims = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 41:
                this.labelCurrentAnimation = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.animationRightStraight = ((System.Windows.Controls.RadioButton)(target));

            #line 140 "..\..\..\windows\NewXP2.xaml"
                this.animationRightStraight.Checked += new System.Windows.RoutedEventHandler(this.AnimationRightStraightChecked);

            #line default
            #line hidden
                return;

            case 43:
                this.animationRightOblique = ((System.Windows.Controls.RadioButton)(target));

            #line 141 "..\..\..\windows\NewXP2.xaml"
                this.animationRightOblique.Checked += new System.Windows.RoutedEventHandler(this.AnimationRightObliqueChecked);

            #line default
            #line hidden
                return;

            case 44:
                this.animationLeftStraight = ((System.Windows.Controls.RadioButton)(target));

            #line 142 "..\..\..\windows\NewXP2.xaml"
                this.animationLeftStraight.Checked += new System.Windows.RoutedEventHandler(this.AnimationLeftStraightChecked);

            #line default
            #line hidden
                return;

            case 45:
                this.animationLeftOblique = ((System.Windows.Controls.RadioButton)(target));

            #line 143 "..\..\..\windows\NewXP2.xaml"
                this.animationLeftOblique.Checked += new System.Windows.RoutedEventHandler(this.AnimationLeftObliqueChecked);

            #line default
            #line hidden
                return;

            case 46:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 48:
                this.grid3 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 50:
                this.gridCopyFrom = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 52:
                this.copyFromCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 53:
                this.copyfromButton = ((System.Windows.Controls.Button)(target));

            #line 194 "..\..\..\windows\NewXP2.xaml"
                this.copyfromButton.Click += new System.Windows.RoutedEventHandler(this.CopyfromButtonClick);

            #line default
            #line hidden
                return;

            case 54:
                this.tvProtocolosControl = ((ExperienceMainControls.TreeViewControl)(target));

            #line 204 "..\..\..\windows\NewXP2.xaml"
                this.tvProtocolosControl.DisableAllClick += new System.Windows.RoutedEventHandler(this.UcProtocolListDisableAllClick);

            #line default
            #line hidden

            #line 204 "..\..\..\windows\NewXP2.xaml"
                this.tvProtocolosControl.EnableAllClick += new System.Windows.RoutedEventHandler(this.UcProtocolListEnableAllClick);

            #line default
            #line hidden

            #line 204 "..\..\..\windows\NewXP2.xaml"
                this.tvProtocolosControl.SelectProtocolClick += new System.Windows.RoutedEventHandler(this.UcProtocolListSelectProtocolClick);

            #line default
            #line hidden

            #line 204 "..\..\..\windows\NewXP2.xaml"
                this.tvProtocolosControl.RefreshClick += new System.Windows.RoutedEventHandler(this.UcProtocolListRefreshClick);

            #line default
            #line hidden
                return;

            case 55:
                this.dbgBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.botonSalir = ((System.Windows.Controls.Button)(target));

            #line 207 "..\..\..\windows\NewXP2.xaml"
                this.botonSalir.Click += new System.Windows.RoutedEventHandler(this.BotonSalirClick);

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