How can I invoke the light command using C#?
I can't find its invoke item guid in the DrawUI.xml file for CorelDraw 2022. I think I found its dialog name and GUID ("EffectsDialogDS" "9d30d868-a508-b08a-4ca4-34d690e5b137"). However, when I try to show it using this.app.FrameWork.ShowDialog("9d30d868-a508-b08a-4ca4-34d690e5b137"), CorelDraw crashes.
How I can use corelApp.FrameWork.Automation.InvokeDialogItem( string GuidDialog, string GuidItem) instead?
If you have something selected, you should be able to get the dialog to come up with: