Пример #1
0
 private void ExecuteAction(MyToolbarItem action)
 {
     m_actionToolbar.SetItemAtIndex(0, action);
     m_actionToolbar.UpdateItem(0);
     m_actionToolbar.ActivateItemAtSlot(0);
     m_actionToolbar.Clear();
 }
Пример #2
0
        public void SetToToolbar(MyToolbar toolbar, int index)
        {
            var item = m_cachedItem;

            if (item != null)
            {
                toolbar.SetItemAtIndex(index, item);
            }
        }