Contains the custom user class for a screen's Controller class. The Controller class is only utilized when the UIProject.SeparateControlClasses property is set true.
The Screen Controller class manages all actions triggered by the user, such as clicking on a button. This property can be set automatically by right-clicking on the UITask and selecting the Visual Studio / Find Changes made in the Visual Studio Solution item, which will scan for any user classes that have been changed.
Example of a stock (as initially generated) Controller region:
#region User Controller Class (Preserve)
// All user-written code in this region is preserved during code generation, simplifying
// any ongoing merge requirements
/// <summary>
/// The LP06Control is the "active" class called by CodeBehind and other code.
///
/// Override certain action handlers in this class to customize behavior over the default
/// generated logic.
/// </summary>
public class LP06Control : LP06ControlCG
{
public LP06Control(TaskSession ts):base(ts)
{
}
}
#endregion User Controller Class