Пример #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));
            }
        }
Пример #2
0
 public CategoryEventArgs(CategoryButton button)
 {
     cb = button;
 }