public void InitEventHandlers(OSEditAvailabilityViewController grandparent) { controller = grandparent; deleteButton.TouchUpInside -= DeleteButtonClicked; endTimeButton.TouchUpInside -= EndTimeClicked; endTimeDownButton.TouchUpInside -= EndTimeDownClicked; endTimeUpButton.TouchUpInside -= EndTimeUpClicked; startTimeButton.TouchUpInside -= StartTimeClicked; startTimeDownButton.TouchUpInside -= StartTimeDownClicked; startTimeUpButton.TouchUpInside -= StartTimeUpClicked; deleteButton.TouchUpInside += DeleteButtonClicked; endTimeButton.TouchUpInside += EndTimeClicked; endTimeDownButton.TouchUpInside += EndTimeDownClicked; endTimeUpButton.TouchUpInside += EndTimeUpClicked; startTimeButton.TouchUpInside += StartTimeClicked; startTimeDownButton.TouchUpInside += StartTimeDownClicked; startTimeUpButton.TouchUpInside += StartTimeUpClicked; }
public void InitEventHandlers(OSEditAvailabilityViewController grandparent) { controller = grandparent; startButton.TouchUpInside -= StartButtonClicked; endButton.TouchUpInside -= EndButtonClicked; sundayButton.TouchUpInside -= SundayClicked; mondayButton.TouchUpInside -= MondayClicked; tuesdayButton.TouchUpInside -= TuesdayClicked; wednesdayButton.TouchUpInside -= WednesdayClicked; thursdayButton.TouchUpInside -= ThursdayClicked; fridayButton.TouchUpInside -= FridayClicked; saturdayButton.TouchUpInside -= SaturdayClicked; startButton.TouchUpInside += StartButtonClicked; endButton.TouchUpInside += EndButtonClicked; sundayButton.TouchUpInside += SundayClicked; mondayButton.TouchUpInside += MondayClicked; tuesdayButton.TouchUpInside += TuesdayClicked; wednesdayButton.TouchUpInside += WednesdayClicked; thursdayButton.TouchUpInside += ThursdayClicked; fridayButton.TouchUpInside += FridayClicked; saturdayButton.TouchUpInside += SaturdayClicked; }
public OSEditAvailabilityDetailSource(OSEditAvailabilityViewController parent) : base() { controller = parent; }