What is formcontrol sender and formcontrolEventArgs e in a event handler?

What is formcontrol sender and formcontrolEventArgs e in a event handler?
Hi PrachiGupta,
First, you can refer to F Class:https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/formchangetracker-classes#class-formcontroleventargs
The FormControl class serves as the base class for all form controls.
The FormControlEventArgs, which enables you to pass information from one object to another newly created object.
-
The parameters required for specific events depend on your EVENTS handlers type.
As you mentioned is get FormRun from form control, so you need to use (FormControl sender, FormControlEventArgs e).
When you get FormRun from form datasource, then you need to use (FormDataSource sender, FormDataSourceEventArgs e).