Skip to main content
.NET Framework 4.6.2+

ModuleBase() Constructor

Creates a new instance of the ModuleBase class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

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