Example #1
0
 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;
 }
Example #2
0
 private void InitializeDefaults()
 {
     LinkNewObjectToParentImmediately = false;
     OptimizedControllersCreation     = true;
     UseLightStyle = true;
     SplashScreen  = new DevExpress.ExpressApp.Win.Utils.DXSplashScreen(typeof(Demos.Win.XafDemoSplashScreen), new DefaultOverlayFormOptions());
     ExecuteStartupLogicBeforeClosingLogonWindow = true;
 }
Example #3
0
        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());
        }