protected virtual void OnCoffeeSelected(CoffeeSelectedEventArgs e) { if (CoffeeSelected != null) { CoffeeSelected(this, e); } }
private CoffeeSelectedEventArgs OnCoffeeSelectedForOut() { CoffeeSelectedEventArgs args = new CoffeeSelectedEventArgs(); OnCoffeeSelected(args); return(args); }
private CoffeeSelectedEventArgs OnCoffeeSelected(bool coffeeOptionSelected) { CoffeeSelectedEventArgs args = new CoffeeSelectedEventArgs(coffeeOptionSelected); OnCoffeeSelected(args); return(args); }