Пример #1
0
        internal void item_Click(object sender, EventArgs e)
        {
            // Steve
            _selectedItem = (sender as RibbonItem);

            //Kevin Carbis
            RibbonItemEventArgs ev = new RibbonItemEventArgs(_selectedItem);

            if (DropDownItems.Contains(_selectedItem))
            {
                OnDropDownItemClicked(ref ev);
            }
            else
            {
                OnButtonItemClicked(ref ev);
            }
        }