protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     Debug.WriteLine("OnNavigatedTo Event");
     if (e.Parameter is Event)
     {
         Event = (Event) e.Parameter;
     }
     base.OnNavigatedTo(e);
 }
 public static int GetEventWeek(Event e)
 {
     return GetWeekOfYear(e.start_date.GetValueOrDefault(DateTime.MinValue)) -
            GetFirstCompWeek(e.year);
 }