示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RE_AddArea = ((RealEstate.Overlays.Location.AddAreaOverlay)(target));

            #line 6 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
                this.RE_AddArea.Closed += new System.EventHandler(this.RE_AddArea_Closed);

            #line default
            #line hidden

            #line 7 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
                this.RE_AddArea.Loaded += new System.Windows.RoutedEventHandler(this.RE_AddArea_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.CB_Cities = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 34 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
                this.BT_Add.Click += new System.Windows.RoutedEventHandler(this.BT_Add_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
                this.BT_Close.Click += new System.Windows.RoutedEventHandler(this.BT_Close_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RE_AddArea = ((RealEstate.Overlays.Location.AddAreaOverlay)(target));
     
     #line 6 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
     this.RE_AddArea.Closed += new System.EventHandler(this.RE_AddArea_Closed);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
     this.RE_AddArea.Loaded += new System.Windows.RoutedEventHandler(this.RE_AddArea_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.TB_AreaName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.CB_Cities = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.BT_Add = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
     this.BT_Add.Click += new System.Windows.RoutedEventHandler(this.BT_Add_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.BT_Close = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\..\..\Overlays\Location\AddAreaOverlay.xaml"
     this.BT_Close.Click += new System.Windows.RoutedEventHandler(this.BT_Close_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }