ToolBar names in Epicor 10.1.500

Use this code tied to a button click to list it all out.

Kudos goes to this post List Tools on Custom Dashboard Form

using System.Reflection;

	private void epiButtonC1_Click(object sender, System.EventArgs args)
	{
		// ** Place Event Handling Code Here **
		var obj = AbcCodeForm.GetType().InvokeMember("baseToolbarsManager", BindingFlags.Instance | BindingFlags.GetField | BindingFlags.NonPublic, null, AbcCodeForm, null);
		var tools = (Infragistics.Win.UltraWinToolbars.UltraToolbarsManager)obj;

		string toolnames = "";
		foreach(var t in tools.Tools)
		{
    		toolnames += t.Key +" , ";
		}
		MessageBox.Show(toolnames);

	}

and before anyone yells. Disclaimer, try not to use System.Reflection. :slight_smile:

I hope that helps.
Tested and works with 2024.2