Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HuName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.poolCB = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.GardenCB = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.jakouziCB = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.AttractionCB = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 54 "..\..\AddHostingUnitW.xaml"
                this.AddHU.Click += new System.Windows.RoutedEventHandler(this.Button_Click_Add);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\AddHostingUnitW.xaml"
                this.AreaBtn.Click += new System.Windows.RoutedEventHandler(this.Area_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.gr3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.AreaCB = ((System.Windows.Controls.ComboBox)(target));

            #line 91 "..\..\AddHostingUnitW.xaml"
                this.AreaCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AreaCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.SubAreaCB = ((System.Windows.Controls.ComboBox)(target));

            #line 92 "..\..\AddHostingUnitW.xaml"
                this.SubAreaCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SubAreaCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.TypeHostingUnitCB = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.BreakfastCB = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 13:
                this.LunchCB = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.DinnerCB = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.RoomBtn = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\AddHostingUnitW.xaml"
                this.RoomBtn.Click += new System.Windows.RoutedEventHandler(this.Room_Button_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.gr4 = ((System.Windows.Controls.Grid)(target));

            #line 112 "..\..\AddHostingUnitW.xaml"
                this.gr4.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Room_MouseLeave);

            #line default
            #line hidden
                return;

            case 17:
                this.RoomPlus = ((System.Windows.Controls.Button)(target));

            #line 118 "..\..\AddHostingUnitW.xaml"
                this.RoomPlus.Click += new System.Windows.RoutedEventHandler(this.Plus_Click1);

            #line default
            #line hidden
                return;

            case 18:
                this.txtNumRoom = ((System.Windows.Controls.TextBox)(target));

            #line 119 "..\..\AddHostingUnitW.xaml"
                this.txtNumRoom.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged_1);

            #line default
            #line hidden
                return;

            case 19:
                this.RoomMinus = ((System.Windows.Controls.Button)(target));

            #line 120 "..\..\AddHostingUnitW.xaml"
                this.RoomMinus.Click += new System.Windows.RoutedEventHandler(this.Minus_Click1);

            #line default
            #line hidden
                return;

            case 20:
                this.RoomTxt = ((System.Windows.Controls.TextBox)(target));

            #line 123 "..\..\AddHostingUnitW.xaml"
                this.RoomTxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.RoomTxt_TextChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.NLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.GoBack = ((System.Windows.Controls.Button)(target));

            #line 125 "..\..\AddHostingUnitW.xaml"
                this.GoBack.Click += new System.Windows.RoutedEventHandler(this.BackButton_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.SumAdults = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.SumChids = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.upd = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.vi = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.Butto_UploadImage = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\AddHostingUnitW.xaml"
                this.Butto_UploadImage.Click += new System.Windows.RoutedEventHandler(this.Button_Click_UploadImage);

            #line default
            #line hidden
                return;

            case 28:
                this.Phone = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.ListBox1 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 30:
                this.ratings1 = ((PLWPF.RatingsControl)(target));
                return;

            case 31:
                this.txtValue = ((System.Windows.Controls.TextBox)(target));

            #line 197 "..\..\AddHostingUnitW.xaml"
                this.txtValue.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.startext);

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