Skip to main content
A newer version of this page is available. .

ModuleBase() Constructor

Creates a new instance of the ModuleBase class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public ModuleBase()

Remarks

Use this constructor to create the required modules that will be added to the XafApplication.Modules list.

static void Main() {
   //...
   MySolutionWindowsFormsApplication application = new MySolutionWindowsFormsApplication();
   //...
      ModuleBase cloneObjectModule = new DevExpress.ExpressApp.CloneObject.CloneObjectModule();
      application.Modules.Add(cloneObjectModule);
      //...
      application.Setup();
      application.Start();
   //...
}
See Also