public WorkoutLog() { InitializeComponent(); if (DailyBurnService.WorkoutList == null) { DailyBurnWorkout dbw = new DailyBurnWorkout(); dbw.WorkoutLoaded += dbw_WorkoutLoaded; } Loaded += new RoutedEventHandler(WorkoutLog_Loaded); workoutSearchControl1.SearchButtonClicked += new SearchButtonClicked(workoutSearchControl1_SearchButtonClicked); }
public JumpPage() { InitializeComponent(); DailyBurnWorkout wo = new DailyBurnWorkout(); wo.WorkoutLoaded += new EventHandler(wo_WorkoutLoaded); }