示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.uc = ((roket_yer_bilgisayari.UserControls.UCSpeed)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.bt_sag = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\MainWindow.xaml"
                this.bt_sol.Click += new System.Windows.RoutedEventHandler(this.bt_sol_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.bt_sag_yukari_capraz.Click += new System.Windows.RoutedEventHandler(this.bt_sag_yukari_capraz_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\MainWindow.xaml"
                this.bt_isim_degistir.Click += new System.Windows.RoutedEventHandler(this.bt_isim_degistir_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\MainWindow.xaml"
                this.bt_gps.Click += new System.Windows.RoutedEventHandler(this.bt_gps_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.map_layer = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

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

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

            case 12:
                this.gauge_altitude = ((roket_yer_bilgisayari.UserControls.UCAltitude)(target));
                return;

            case 13:
                this.gauge_speed = ((roket_yer_bilgisayari.UserControls.UCSpeed)(target));
                return;
            }
            this._contentLoaded = true;
        }