Esempio n. 1
0
 protected virtual void OnDessertSelected(DessertSelectedEventArgs e)
 {
     if (DessertSelected != null)
     {
         DessertSelected(this, e);
     }
 }
Esempio n. 2
0
        private DessertSelectedEventArgs OnDessertSelectedForOut()
        {
            DessertSelectedEventArgs args = new DessertSelectedEventArgs();

            OnDessertSelected(args);

            return(args);
        }
Esempio n. 3
0
        private DessertSelectedEventArgs OnDessertSelected(bool dessertOptionSelected)
        {
            DessertSelectedEventArgs args = new DessertSelectedEventArgs(dessertOptionSelected);

            OnDessertSelected(args);

            return(args);
        }