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

            case 2:
                this.roomcardgrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.roominfobtgrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.buttonstackpanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.rankrule = ((Panuon.UI.PUComboBox)(target));
                return;

            case 6:
                this.filterule_row = ((Panuon.UI.PUComboBox)(target));
                return;

            case 7:
                this.filterule_type = ((Panuon.UI.PUComboBox)(target));
                return;

            case 8:
                this.filterule_state = ((Panuon.UI.PUComboBox)(target));
                return;

            case 9:
                this.filerule_rmingtime = ((Panuon.UI.PUTextBox)(target));
                return;

            case 10:
                this.StateColors = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.IsEdit = ((Panuon.UI.PUButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.titlebar = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.TitleText = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.closeicongrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.closeicon = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.roomtype = ((Panuon.UI.PUComboBox)(target));
                return;

            case 6:
                this.roomnrow = ((Panuon.UI.PUTextBox)(target));

            #line 40 "..\..\..\..\Views\FunctionWindow\AddRoomWindow.xaml"
                this.roomnrow.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.number_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 7:
                this.roomname1 = ((Panuon.UI.PUTextBox)(target));
                return;

            case 8:
                this.roomname2 = ((Panuon.UI.PUTextBox)(target));
                return;

            case 9:
                this.dayprice = ((Panuon.UI.PUTextBox)(target));

            #line 55 "..\..\..\..\Views\FunctionWindow\AddRoomWindow.xaml"
                this.dayprice.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.number_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 10:
                this.hourprice = ((Panuon.UI.PUTextBox)(target));

            #line 59 "..\..\..\..\Views\FunctionWindow\AddRoomWindow.xaml"
                this.hourprice.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.number_PreviewTextInput);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.titlebar = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.TitleText = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.closeicongrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.closeicon = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.booktip = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.roomname = ((Panuon.UI.PUTextBox)(target));
                return;

            case 7:
                this.roomtype = ((Panuon.UI.PUBubble)(target));
                return;

            case 8:
                this.customname = ((Panuon.UI.PUTextBox)(target));
                return;

            case 9:
                this.customsex = ((Panuon.UI.PUComboBox)(target));
                return;

            case 10:
                this.customIdentify = ((Panuon.UI.PUTextBox)(target));
                return;

            case 11:
                this.normaltype = ((Panuon.UI.PURadioButton)(target));
                return;

            case 12:
                this.hourtype = ((Panuon.UI.PURadioButton)(target));
                return;

            case 13:
                this.morningtype = ((Panuon.UI.PURadioButton)(target));
                return;

            case 14:
                this.halfdaytype = ((Panuon.UI.PURadioButton)(target));
                return;

            case 15:
                this.InTime = ((Panuon.UI.PUTextBox)(target));
                return;

            case 16:

            #line 79 "..\..\..\..\Views\FunctionWindow\OpenRoomWindow.xaml"
                ((Panuon.UI.PUButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SetInTime);

            #line default
            #line hidden
                return;

            case 17:
                this.OutTime = ((Panuon.UI.PUTextBox)(target));
                return;

            case 18:

            #line 104 "..\..\..\..\Views\FunctionWindow\OpenRoomWindow.xaml"
                ((Panuon.UI.PUButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SetOutTime);

            #line default
            #line hidden
                return;

            case 19:
                this.money = ((Panuon.UI.PUTextBox)(target));

            #line 113 "..\..\..\..\Views\FunctionWindow\OpenRoomWindow.xaml"
                this.money.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.numbertextbox);

            #line default
            #line hidden
                return;

            case 20:
                this.alipay = ((Panuon.UI.PURadioButton)(target));
                return;

            case 21:
                this.wechat = ((Panuon.UI.PURadioButton)(target));
                return;

            case 22:
                this.chash = ((Panuon.UI.PURadioButton)(target));
                return;

            case 23:
                this.other = ((Panuon.UI.PURadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }