Example #1
0
 protected override ApplicationModulesManager CreateApplicationModulesManager(DevExpress.ExpressApp.Core.ControllersManager controllersManager) {
     var applicationModulesManager = base.CreateApplicationModulesManager(controllersManager);
     var customCreateApplicationModulesManagerEventArgs = new CustomCreateApplicationModulesManagerEventArgs(applicationModulesManager);
     OnCustomCreateApplicationModulesManager(customCreateApplicationModulesManagerEventArgs);
     return customCreateApplicationModulesManagerEventArgs.Handled ? customCreateApplicationModulesManagerEventArgs.ApplicationModulesManager : applicationModulesManager;
 }
Example #2
0
 protected void OnCustomCreateApplicationModulesManager(CustomCreateApplicationModulesManagerEventArgs e) {
     EventHandler<CustomCreateApplicationModulesManagerEventArgs> handler = CustomCreateApplicationModulesManager;
     if (handler != null) handler(this, e);
 }