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

            #line 28 "..\..\..\View\Accueil.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.lecon_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\View\Accueil.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.vehicule_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\View\Accueil.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.eleve_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ucGestionEleve = ((AutoEcole.View.GestionEleve)(target));
                return;

            case 5:
                this.ucGestionVehicule = ((AutoEcole.View.GestionVehicule)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\..\View\Accueil.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.lecon_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\..\View\Accueil.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.vehicule_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\..\View\Accueil.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.eleve_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ucGestionEleve = ((AutoEcole.View.GestionEleve)(target));
     return;
     case 5:
     this.ucGestionVehicule = ((AutoEcole.View.GestionVehicule)(target));
     return;
     }
     this._contentLoaded = true;
 }