public ReservationDetail(Event ev, int totalDepartamentos, SqlConnection sqlConn)
		{
			this.InitializeComponent();

            _ev = ev;
            _totalDepartamentos = totalDepartamentos;
            _sqlConn = sqlConn;

            this.Title = "Reservaciones para el día " + new DateTime(_ev.Year, _ev.Month, _ev.Day).ToString("D", CultureInfo.CreateSpecificCulture("es-MX"));

            MainWindow.CenterWindowOnScreen(this);
		}
        private void UpdateDay(Grid grid, string style, string txt1, string txt2, Event ev, bool isNow)
        {
            Rectangle rect = (Rectangle) grid.Children[0];
            rect.Style = Application.Current.Resources[style] as Style;
            rect.StrokeThickness = isNow ? 3.0 : 0.5;

            ((TextBlock)grid.Children[1]).Text = txt2;
            ((TextBlock)grid.Children[2]).Text = txt1;


            grid.Tag = ev;
        }