示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Code = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 2:
                this.Fuul_Name = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 3:
                this.Position = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 4:
                this.DateBorn = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 5:
                this.Salary = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 6:

            #line 104 "..\..\..\Pages\Workerr.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ClientExist = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 3:
                this.Full_Name = ((HotelBooking.TextBoxWatermarked)(target));
                return;

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

            case 5:
                this.Phone = ((HotelBooking.TextBoxWatermarked)(target));
                return;

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

            case 7:
                this.PassNumber = ((HotelBooking.TextBoxWatermarked)(target));
                return;

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

            case 9:
                this.DateBornC = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 11:
                this.Email = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 12:

            #line 98 "..\..\..\Pages\LastFormForClient.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Click);

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

            #line 21 "..\..\..\Pages\Registration.xaml"
                this.AreWorker.Unchecked += new System.Windows.RoutedEventHandler(this.AreWorker_Unchecked);

            #line default
            #line hidden

            #line 21 "..\..\..\Pages\Registration.xaml"
                this.AreWorker.Checked += new System.Windows.RoutedEventHandler(this.AreWorker_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.Login = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 3:
                this.Password = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 4:
                this.Employee = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 5:
                this.Client = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 6:

            #line 67 "..\..\..\Pages\Registration.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Registration_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Name = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 2:

            #line 32 "..\..\..\Pages\MyBooking.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Booking = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\Pages\Booking1.xaml"
                ((HotelBooking.Pages.Booking1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\Pages\Booking1.xaml"
                this.ClientExist.Unchecked += new System.Windows.RoutedEventHandler(this.ClientExist_UnChecked);

            #line default
            #line hidden

            #line 41 "..\..\..\Pages\Booking1.xaml"
                this.ClientExist.Checked += new System.Windows.RoutedEventHandler(this.ClientExist_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.card_number = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 4:
                this.dateOfPay = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 6:
                this.ListOfClients = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 8:
                this.Phone = ((HotelBooking.TextBoxWatermarked)(target));
                return;

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

            case 10:
                this.Full_Name = ((HotelBooking.TextBoxWatermarked)(target));
                return;

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

            case 12:
                this.PassNumber = ((HotelBooking.TextBoxWatermarked)(target));
                return;

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

            case 14:
                this.DateBornC = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 16:
                this.Email = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 17:
                this.Arrival = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 18:
                this.Departure = ((System.Windows.Controls.DatePicker)(target));

            #line 165 "..\..\..\Pages\Booking1.xaml"
                this.Departure.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Departure_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            case 20:
                this.Room_Code = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 21:
                this.Type_food = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:

            #line 180 "..\..\..\Pages\Booking1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);

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

            #line 11 "..\..\..\Pages\Admin.xaml"
                ((HotelBooking.Pages.Admin)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\Pages\Admin.xaml"
                ((HotelBooking.Pages.Admin)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 23 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Out_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 44 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddBooking_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 50 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteBooking_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Search = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 7:
                this.Booking = ((System.Windows.Controls.DataGrid)(target));

            #line 65 "..\..\..\Pages\Admin.xaml"
                this.Booking.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Booking_CellEditEnding);

            #line default
            #line hidden
                return;

            case 8:

            #line 127 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlusButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.ArrivalP = ((System.Windows.Controls.Border)(target));
                return;

            case 10:
                this.ArrivalBox = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 11:

            #line 153 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Arrivals_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 170 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlusButtonD_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Departure = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.DepartureBox = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 15:

            #line 195 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Departure_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 213 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlusButtonF_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.FreeRooms = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.FreeC = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 19:

            #line 238 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GetFreeRooms_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.See = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 21:

            #line 257 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddWorker_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 264 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteWorker_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.SearchWorker = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 24:
                this.Workers = ((System.Windows.Controls.DataGrid)(target));

            #line 279 "..\..\..\Pages\Admin.xaml"
                this.Workers.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Workers_CellEditEnding);

            #line default
            #line hidden
                return;

            case 25:

            #line 324 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddClient_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 331 "..\..\..\Pages\Admin.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteClient_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.SearchClient = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 28:
                this.Clients = ((System.Windows.Controls.DataGrid)(target));

            #line 347 "..\..\..\Pages\Admin.xaml"
                this.Clients.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Clients_CellEditEnding);

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

            #line 11 "..\..\..\Pages\NewClient.xaml"
                ((HotelBooking.Pages.NewClient)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\Pages\NewClient.xaml"
                this.ShowBooking.Click += new System.Windows.RoutedEventHandler(this.MyBooking_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Pages\NewClient.xaml"
                this.Out.Click += new System.Windows.RoutedEventHandler(this.Outer_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.LoginCient = ((System.Windows.Controls.Label)(target));
                return;

            case 5:

            #line 24 "..\..\..\Pages\NewClient.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Out_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MyBooking = ((System.Windows.Controls.Frame)(target));
                return;

            case 7:
                this.High2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.arrival = ((System.Windows.Controls.DatePicker)(target));

            #line 63 "..\..\..\Pages\NewClient.xaml"
                this.arrival.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Departure_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.departure = ((System.Windows.Controls.DatePicker)(target));

            #line 69 "..\..\..\Pages\NewClient.xaml"
                this.departure.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Departure_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            case 11:
                this.Adults = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 12:
                this.Children = ((HotelBooking.TextBoxWatermarked)(target));
                return;

            case 13:
                this.TypeOfFood = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:

            #line 109 "..\..\..\Pages\NewClient.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Found_Click);

            #line default
            #line hidden
                return;

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