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

            case 2:
                this.NameTextBox = ((HandyControl.Controls.TextBox)(target));
                return;

            case 3:
                this.CategoryComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 4:
                this.PriceTextBox = ((HandyControl.Controls.NumericUpDown)(target));
                return;

            case 5:
                this.WeightTextBox = ((HandyControl.Controls.NumericUpDown)(target));
                return;

            case 6:
                this.productImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 49 "..\..\..\Product\EditProductWindow.xaml"
                this.ChangeBtn.Click += new System.Windows.RoutedEventHandler(this.ChangeBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.UpdateBtn = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\Product\EditProductWindow.xaml"
                this.UpdateBtn.Click += new System.Windows.RoutedEventHandler(this.UpdateBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Cancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Field = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.CategoryComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 3:
                this.PriceTextBox = ((HandyControl.Controls.NumericUpDown)(target));
                return;

            case 4:
                this.StatusComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 5:
                this.roomImage = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 53 "..\..\..\Room\AddRoomWindow.xaml"
                this.BrowseBtn.Click += new System.Windows.RoutedEventHandler(this.BrowseBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\..\Room\AddRoomWindow.xaml"
                this.AddBtn.Click += new System.Windows.RoutedEventHandler(this.AddBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Cancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Information = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.RoomIDComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 3:
                this.GuestIDComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 4:
                this.StartDateDatePicker = ((HandyControl.Controls.DatePicker)(target));
                return;

            case 5:
                this.EndDateDatePicker = ((HandyControl.Controls.DatePicker)(target));
                return;

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

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

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

            case 9:
                this.Done = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\..\Reservation\ReservationDetailWindow.xaml"
                this.Done.Click += new System.Windows.RoutedEventHandler(this.Done_Click);

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

            case 2:
                this.InvoiceTextBox = ((HandyControl.Controls.TextBox)(target));
                return;

            case 3:
                this.CustomerComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 4:
                this.DateDatePicker = ((HandyControl.Controls.DatePicker)(target));
                return;

            case 5:
                this.StatusComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

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

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

            case 8:
                this.Done = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\..\Invoice\InvoiceDetailWindow.xaml"
                this.Done.Click += new System.Windows.RoutedEventHandler(this.Done_Click);

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

            case 2:
                this.RoomIDComboBox = ((HandyControl.Controls.ComboBox)(target));

            #line 33 "..\..\..\Reservation\AddReservationWindow.xaml"
                this.RoomIDComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoomIDComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.GuestIDComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 4:
                this.StartDateDatePicker = ((HandyControl.Controls.DatePicker)(target));
                return;

            case 5:
                this.EndDateDatePicker = ((HandyControl.Controls.DatePicker)(target));

            #line 48 "..\..\..\Reservation\AddReservationWindow.xaml"
                this.EndDateDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.EndDateDatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.ServiceComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 8:
                this.AddServiceButton = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\..\Reservation\AddReservationWindow.xaml"
                this.AddServiceButton.Click += new System.Windows.RoutedEventHandler(this.AddServiceButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.RemoveServiceButton = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\Reservation\AddReservationWindow.xaml"
                this.RemoveServiceButton.Click += new System.Windows.RoutedEventHandler(this.RemoveButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.reservationDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 11:

            #line 77 "..\..\..\Reservation\AddReservationWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveButton_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.AddButton = ((System.Windows.Controls.Button)(target));

            #line 104 "..\..\..\Reservation\AddReservationWindow.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Cancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Information = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.InvoiceTextBox = ((HandyControl.Controls.TextBox)(target));
                return;

            case 3:
                this.CustomerComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 4:
                this.DateDatePicker = ((HandyControl.Controls.DatePicker)(target));
                return;

            case 5:
                this.StatusComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

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

            case 7:
                this.ProductComboBox = ((HandyControl.Controls.ComboBox)(target));
                return;

            case 8:
                this.AddProductButton = ((System.Windows.Controls.Button)(target));

            #line 69 "..\..\..\Invoice\AddInvoiceWindow.xaml"
                this.AddProductButton.Click += new System.Windows.RoutedEventHandler(this.AddProductButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.RemoveProductButton = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\..\Invoice\AddInvoiceWindow.xaml"
                this.RemoveProductButton.Click += new System.Windows.RoutedEventHandler(this.RemoveButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.invoiceDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 11:

            #line 79 "..\..\..\Invoice\AddInvoiceWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveButton_Click);

            #line default
            #line hidden
                return;

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

            case 14:
                this.AddButton = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\..\Invoice\AddInvoiceWindow.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

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