public AddHostingUnitWindow()
        {
            try
            {
                InitializeComponent();
                unit             = new BE.HostingUnit();
                host             = new BE.Host();
                bl               = BL.FactoryBL.GetBL();
                this.DataContext = unit;
                this.jacuzziComboBox.ItemsSource = Enum.GetValues(typeof(BE.Jacuzzi));
                //jacuzziComboBox.TabIndex = 0;
                this.poolComboBox.ItemsSource                 = Enum.GetValues(typeof(BE.Pool));
                this.snackBarComboBox.ItemsSource             = Enum.GetValues(typeof(BE.SnackBar));
                this.smokingComboBox.ItemsSource              = Enum.GetValues(typeof(BE.Smoking));
                this.areaComboBox.ItemsSource                 = Enum.GetValues(typeof(BE.Area));
                this.wifiComboBox.ItemsSource                 = Enum.GetValues(typeof(BE.Wifi));
                this.typeComboBox.ItemsSource                 = Enum.GetValues(typeof(BE.Type));
                this.tvComboBox.ItemsSource                   = Enum.GetValues(typeof(BE.Television));
                this.gardenComboBox.ItemsSource               = Enum.GetValues(typeof(BE.Garden));
                this.roomServiceComboBox.ItemsSource          = Enum.GetValues(typeof(BE.RoomService));
                this.childrensAttractionsComboBox.ItemsSource = Enum.GetValues(typeof(BE.ChildrensAttractions));
                this.publicTransportationComboBox.ItemsSource = Enum.GetValues(typeof(BE.PublicTransportation));
                this.viewComboBox.ItemsSource                 = Enum.GetValues(typeof(BE.View));
                this.collectionClearanceComboBox.ItemsSource  = Enum.GetValues(typeof(BE.PaymentClearance));
                this.banknameComboBox.ItemsSource             = bl.getBankNames();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "error", MessageBoxButton.OK, MessageBoxImage.Error);

                this.Close();
                Window HostingUnitWindow = new HostingUnitWindow();
                HostingUnitWindow.Show();
            }
        }
        private void HostingUnitButtonClick(object sender, RoutedEventArgs e)
        {
            Window HostingUnitWindow = new HostingUnitWindow();

            new HostingUnitWindow().Show();
            // Close();
        }