I want to know the Item name from the resource to use for EpiUIImages.GetImage("[ItemName]")

I want to know the Item name from the resource to use for EpiUIImages.GetImage("[ItemName]")?

menuActionTool = (PopupMenuTool)baseToolbarsManager.Tools["ActionsMenu"];//Chú ý GroupTool là name của menu Group debug hoặc dùng message show để lấy đc thông tin này
		//bổ sung menu PrintPayment
		ButtonTool PrintPayment = new ButtonTool("PrintPayment");
        PrintPayment.SharedProps.Caption = "**DMS - Print Payment"; // Sets the visible name
        PrintPayment.SharedProps.DisplayStyle = ToolDisplayStyle.ImageAndText;		
        PrintPayment.SharedProps.AppearancesSmall.Appearance.Image = EpiUIImages.GetImage("ExternalProcess"); // Item name from the resource
        baseToolbarsManager.Tools.Add(PrintPayment);
		menuActionTool.Tools.AddTool("PrintPayment");		

:smiling_face_with_three_hearts: :smiling_face_with_three_hearts: Thank you so much have a good day! :smiley: :smiley:

Here’s an easy trick

4 Likes