private void ListViewMenu_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            UserControl usc = null;

            GridMain.Children.Clear();

            switch (((ListViewItem)((ListView)sender).SelectedItem).Name)
            {
            case "CheckIn":
                txb_title.Text = "Nhận phòng";
                usc            = new UC_CheckIn();
                GridMain.Children.Add(usc);
                break;

            case "CheckOut":
                txb_title.Text = "Trả phòng";
                usc            = new UC_CheckOut();
                GridMain.Children.Add(usc);
                break;

            case "Statistic":
                txb_title.Text = "Thống kê";
                usc            = new UC_Statistic();
                GridMain.Children.Add(usc);
                break;

            case "Report":
                txb_title.Text = "Báo cáo";
                usc            = new UC_Report();
                GridMain.Children.Add(usc);
                break;

            case "RoomStatus":
                txb_title.Text = "Trạng thái phòng";
                usc            = new ListRoom();
                GridMain.Children.Add(usc);
                break;

            case "SearchBill":
                txb_title.Text = "Tìm kiếm hóa đơn";
                usc            = new UC_FindBill();
                GridMain.Children.Add(usc);
                break;

            default:
                break;
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc_CheckOut = ((Hotel.UC_CheckOut)(target));

            #line 11 "..\..\UC_CheckOut.xaml"
                this.uc_CheckOut.Loaded += new System.Windows.RoutedEventHandler(this.uc_CheckOut_Loaded);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\UC_CheckOut.xaml"
                this.txb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.dg_unpaidList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.btn_accept = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\UC_CheckOut.xaml"
                this.btn_accept.Click += new System.Windows.RoutedEventHandler(this.btn_accept_Click);

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