When customizing a form, if I add my own button, I can use the “Event Wizard”. I would like to be able to use the Event Wizard for the “Job” button in Job Entry. Any ideas how I use “Event Wizard” for the standard buttons? I did try to declare the EpiButton and copied the EpiButton Guid, but no luck.
generally you would replace it with your own button, or if you are doing something in addition to the the button, make a BPM or something that would fire when a certain business object fires.
Just curious, what are you trying to do? The job button launches a search, are you making a new search or something?
No I just want it to kick off an event after they pull an existing job. I got it to work now. Forgot the 2nd line from this code.
EpiButton btnJob = (EpiButton)csm.GetNativeControlReference(“09b1072b-0b49-427a-8f0c-520722aa3996”);
btnJob.Click += new EventHandler(btnJob_Click);