[FormEventHandler(formStr(HcmOpenJobApply), FormEventType::Initialized)]
public static void HcmOpenJobApply_OnInitialized(xFormRun sender, FormEventArgs e)
{
FormRun element = sender;
FormControl ApplyButton = element.design(0).controlName("ApplyButton");
ApplyButton.enabled(false);
}
[FormControlEventHandler(formControlStr(HcmOpenJobApply, ApplyButton), FormControlEventType::GotFocus)]
public static void ApplyButton_OnGotFocus(FormControl sender, FormControlEventArgs e)
{
FormRun element = sender.formRun();
FormControl ApplyButton = element.design(0).controlName("ApplyButton");
ApplyButton.enabled(false);
}