ModuleBase() Constructor

Creates a new instance of the ModuleBase class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public ModuleBase()
Public Sub New

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