Beispiel #1
0
 protected virtual void OnSelectEvent()
 {
     if (SelectEvent != null)
     {
         SelectEventArgs args = new SelectEventArgs();
         args.EventDateId = Convert.ToInt32(dlEvents.SelectedValue);
         args.StaffUsername = StaffUsername;
         SelectEvent(this, args);
     }
 }
 void uscEventList_SelectEvent(object sender, SelectEventArgs args)
 {
     BookedEvent be = BookedEvent.GetByEventDateId(User.Identity.Name, args.EventDateId);
     EventDateId = args.EventDateId;
     LoadAndShowQuestions();
 }