Exemplo n.º 1
0
        /// <summary>
        /// Fire CategorySelected event
        /// </summary>
        /// <param name="b">CategoryButton selected</param>
        private void SelectCategory(CategoryButton b)
        {
            EventHandler <CategoryEventArgs> handler = CategorySelected;

            if (handler != null)
            {
                handler(null, new CategoryEventArgs(b));
            }
        }
Exemplo n.º 2
0
 public CategoryEventArgs(CategoryButton button)
 {
     cb = button;
 }