void AddItem(ActionToolItem aitem, int pos)
        {
            aitem.KeyPressEvent += OnItemKeyPress;

            CustomToolbarItem it = new CustomToolbarItem();

            it.ActionToolItem = aitem;
            it.Child          = aitem;
            it.ShowAll();
            Insert(it, pos);
        }
Example #2
0
		void AddItem (ActionToolItem aitem, int pos)
		{
			aitem.KeyPressEvent += OnItemKeyPress;
			
			CustomToolbarItem it = new CustomToolbarItem ();
			it.ActionToolItem = aitem;
			it.Child = aitem;
			it.ShowAll ();
			Insert (it, pos);
		}