Version

RunBot Class

The RunBot class is a companion to the main control class of a companion. It's primary function is to offload control functionality so that the main control is free to inherit from any other control class in the ASP.NET framework. Since the main control object is a rather heavy object, it is best to put as much functionality into base classes so that it can be shared and reused. But if the main control object must inherit from a base class other than one defined in the framework, then it would not be able to participate in the framework without duplicating a great deal of code. Therefore, by offloading the majority of functionality from the control object itself to a RunBot derivation class, the framework logic can be kept in the RunBot and the control can derive from any base class it needs to.
Syntax
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also