public MainDemoWinApplication() { InitializeComponent(); SplashScreen = new DevExpress.ExpressApp.Win.Utils.DXSplashScreen(typeof(Demos.Win.XafDemoSplashScreen), new DefaultOverlayFormOptions()); securityModule1.NonSecureActionsInitializing += SecurityModule1_NonSecureActionsInitializing; DevExpress.ExpressApp.ScriptRecorder.ScriptRecorderControllerBase.ScriptRecorderEnabled = true; }
private void InitializeDefaults() { LinkNewObjectToParentImmediately = false; OptimizedControllersCreation = true; UseLightStyle = true; SplashScreen = new DevExpress.ExpressApp.Win.Utils.DXSplashScreen(typeof(Demos.Win.XafDemoSplashScreen), new DefaultOverlayFormOptions()); ExecuteStartupLogicBeforeClosingLogonWindow = true; }
public T360991WinApplication() { ApplicationName = nameof(T360991); SplashScreen = new DevExpress.ExpressApp.Win.Utils.DXSplashScreen(); Modules.Add(new SystemModule()); Modules.Add(new SystemWindowsFormsModule()); //This is for demo purposes only, so we have some persistent classes and data to play with Modules.Add(new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule(typeof(Event).Assembly)); Modules.Add(new CommandLineLauncherWindowsFormsModule()); Modules.Add(new T360991Module()); Modules.Add(new T360991WindowsFormsModule()); }