Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.lblUsername = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 4:
                this.lblPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnLogin = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 6:
                this.btnRegister = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 7:
                this.lblWrong = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pge = ((FinalPoject.ui.pages.HomePage)(target));

            #line 10 "..\..\..\..\ui\pages\HomePage.xaml"
                this.pge.Loaded += new System.Windows.RoutedEventHandler(this.pge_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.btnContacts = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 4:
                this.lblWelcomeBack = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnMyAccount = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 6:
                this.btnLogout = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 7:
                this.btnMakeBooking = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 8:
                this.btnRooms = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 9:
                this.btnBookConferenceRoom = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 10:
                this.btnPriceTable = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 11:
                this.btnAddRoom = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 12:
                this.btnTransactions = ((FinalPoject.ui.controls.HotelButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.lblSingleBedrooms = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.lblDoubleBedrooms = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.lblTrebleBedrooms = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.lblFamilyBedrooms = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.lblStats = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.btnAddRoom = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 8:
                this.lblAmount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.txtRoom = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.lblType = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 12:
                this.btnGoBack = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 13:
                this.lblMessage = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\ui\pages\Transactions.xaml"
                ((FinalPoject.ui.pages.Transactions)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.textBlock1_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.textBlock1_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.textBlock1_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.textBlock1_Copy3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.textBlock1_Copy4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.stkTransactions = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.btnMainMenu = ((FinalPoject.ui.controls.HotelButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblRoomName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.lblRoomType = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.btnBook = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 4:
                this.lblRoomAvailable = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ctrlButton = ((FinalPoject.ui.controls.HotelButton)(target));

            #line 7 "..\..\..\..\ui\controls\HotelButton.xaml"
                this.ctrlButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ctrlButton_MouseEnter);

            #line default
            #line hidden

            #line 7 "..\..\..\..\ui\controls\HotelButton.xaml"
                this.ctrlButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ctrlButton_MouseLeave);

            #line default
            #line hidden

            #line 7 "..\..\..\..\ui\controls\HotelButton.xaml"
                this.ctrlButton.Loaded += new System.Windows.RoutedEventHandler(this.ctrlButton_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.recButton = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:
                this.lblText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.lblContacts = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtSearch = ((System.Windows.Controls.TextBox)(target));

            #line 13 "..\..\..\..\ui\pages\Contacts.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.btnClear = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 5:
                this.stkContacts = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.grdContact = ((System.Windows.Controls.Grid)(target));

            #line 21 "..\..\..\..\ui\pages\Contacts.xaml"
                this.grdContact.Loaded += new System.Windows.RoutedEventHandler(this.grdContact_Loaded);

            #line default
            #line hidden
                return;

            case 7:
                this.lblContactName = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.lblContactId = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 12:
                this.lblCity = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lblPostcode = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblHouseNo = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.lblDiscount = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lblPhone = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lblDebit = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lblPersonType = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lblDeleted = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.btnEditContact = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 21:
                this.btnMainMenu = ((FinalPoject.ui.controls.HotelButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblRegisterNewAccount = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 3:
                this.lblUsername = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.txtPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.lblPassword = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.lblPassword_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.asterix = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.asterix_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.lblUsername_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.asterix_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.lblUsername_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.lblUsername_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.txtStreet = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.lblUsername_Copy3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.txtTown = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.lblUsername_Copy4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.txtPostCode = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 19:
                this.lblUsername_Copy5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.asterix_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.btnRegister = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 22:
                this.btnCancel = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 23:
                this.lblUsername_Copy6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.txtHouseNumber = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 3:
                this.txt1HighWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.txt1MidDaily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txt1MidWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txt1LowDaily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txt1LowWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txt2HighDaily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txt2HighWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txt2MidDaily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txt2MidWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.txt2LowDaily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.txt2LowWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txt3HighDaily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.txt3HighWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.txt3MidDaily = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txt3MidWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 19:
                this.txt3LowWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 21:
                this.txt4HighWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.txt4MidDaily = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 25:
                this.txt4LowWeekly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.btnSave = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 27:
                this.btnSave_Copy = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 28:
                this.lblMessage = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.stkRooms = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 16 "..\..\..\..\ui\pages\BookRoomUser.xaml"
                this.chbUnavaliable.Checked += new System.Windows.RoutedEventHandler(this.chbUnavaliable_Checked);

            #line default
            #line hidden

            #line 16 "..\..\..\..\ui\pages\BookRoomUser.xaml"
                this.chbUnavaliable.Unchecked += new System.Windows.RoutedEventHandler(this.chbUnavaliable_Unchecked);

            #line default
            #line hidden
                return;

            case 4:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.cmbType = ((System.Windows.Controls.ComboBox)(target));

            #line 18 "..\..\..\..\ui\pages\BookRoomUser.xaml"
                this.cmbType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.txtRoomName = ((System.Windows.Controls.TextBox)(target));

            #line 27 "..\..\..\..\ui\pages\BookRoomUser.xaml"
                this.txtRoomName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtRoomName_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.textBlock1_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.textBlock1_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.btnMainMenu = ((FinalPoject.ui.controls.HotelButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\ui\pages\EditUser.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.lblCurrent = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.lblName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txtUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.lblName_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.txtPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.lblName_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.lblUsername_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.txtStreet = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.lblUsername_Copy3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.txtTown = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.lblUsername_Copy4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.txtPostcode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.lblUsername_Copy6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.txtHouseNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.lblName_Copy2 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 19:
                this.lblName_Copy3 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 21:
                this.lblName_Copy4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.txtDebitBalance = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.lblName_Copy5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.cmbType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.rdbDeleted = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.btnCancel = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 27:
                this.btnUpdate = ((FinalPoject.ui.controls.HotelButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grdMain = ((System.Windows.Controls.Grid)(target));

            #line 11 "..\..\..\..\ui\pages\BookRoomAdvanceUser.xaml"
                this.grdMain.Loaded += new System.Windows.RoutedEventHandler(this.grdMain_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.dateEnd = ((System.Windows.Controls.DatePicker)(target));

            #line 13 "..\..\..\..\ui\pages\BookRoomAdvanceUser.xaml"
                this.dateEnd.CalendarClosed += new System.Windows.RoutedEventHandler(this.dateEnd_CalendarClosed);

            #line default
            #line hidden
                return;

            case 4:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.lblTitle_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.lblUsername = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.lblID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.lblDiscount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.lblOriginal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.lblFinalPrice = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.btnCancel = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 12:
                this.btnConfirm = ((FinalPoject.ui.controls.HotelButton)(target));
                return;

            case 13:
                this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.txtGuests = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.rdbMeals = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }