Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.WorldMap = ((WpfSimplifiedWorldMapDisplayNS.WpfSimplifiedWorldMapDisplay)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Emission = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 2:
                this.textBoxEmission = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.textBoxEmission.KeyUp += new System.Windows.Input.KeyEventHandler(this.textBoxEmission_KeyUp);

            #line default
            #line hidden
                return;

            case 3:
                this.Reception = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.textBoxReception = ((System.Windows.Controls.TextBox)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.textBoxReception.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxReception_TextChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.textBoxInfo = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.buttonEnvoyer.Click += new System.Windows.RoutedEventHandler(this.buttonEnvoyer_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\MainWindow.xaml"
                this.buttonClear.Click += new System.Windows.RoutedEventHandler(this.buttonClear_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\MainWindow.xaml"
                this.buttonTest.Click += new System.Windows.RoutedEventHandler(this.buttonTest_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Leds = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.CheckBox_Auto = ((System.Windows.Controls.CheckBox)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.CheckBox_Auto.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Checked);

            #line default
            #line hidden

            #line 46 "..\..\MainWindow.xaml"
                this.CheckBox_Auto.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Unchecked);

            #line default
            #line hidden
                return;

            case 12:
                this.telemetreIR = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

            case 16:
                this.Moteurs = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            case 19:
                this.AsservDisplay = ((WpfAsservissementDisplay.AsservissementXYThetaControl)(target));
                return;

            case 20:
                this.WorldMap = ((WpfSimplifiedWorldMapDisplayNS.WpfSimplifiedWorldMapDisplay)(target));
                return;
            }
            this._contentLoaded = true;
        }