Friday, June 18, 2021

How to get formRun from formControl

 [FormControlEventHandler(formControlStr(MyForm, MyButton), FormControlEventType::Clicked)]

public static void MyButton_OnClicked(FormControl sender, FormControlEventArgs e)

{

   FormRun formRun = sender.formRun() as FormRun;

   formRun.myMethod();

}