private void button_Click(object sender, RoutedEventArgs e)
 {
     if (selectedDay.SelectedDate != null)
     {
         SQLQuery mSQLQuery = new SQLQuery();
         string   details   = mSQLQuery.getChildDailyDetails(selectedDay.SelectedDate.Value, GlobalVariables.globalChild.id);
         dailyDetailsContent.Text = details;
     }
 }