protected virtual void OnDessertSelected(DessertSelectedEventArgs e) { if (DessertSelected != null) { DessertSelected(this, e); } }
private DessertSelectedEventArgs OnDessertSelectedForOut() { DessertSelectedEventArgs args = new DessertSelectedEventArgs(); OnDessertSelected(args); return(args); }
private DessertSelectedEventArgs OnDessertSelected(bool dessertOptionSelected) { DessertSelectedEventArgs args = new DessertSelectedEventArgs(dessertOptionSelected); OnDessertSelected(args); return(args); }