Пример #1
0
        private void btnRoomManagement_Click(object sender, RoutedEventArgs e)
        {
            RoomManagement windowRoomManagement = new RoomManagement();

            windowRoomManagement.Show();
            this.Close();
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winRoomManagement = ((Hotel_Reservation.RoomManagement)(target));
                return;

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

            case 3:
                this.lblRoomManagementTitle = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 6:
                this.lblQuantity = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 10:
                this.btnChange = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.btnClear = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\RoomManagement.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

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