public static void InitializeApplication() { CMyDialog.DefaultTitleFont = RsViewEngine.TitleFont; CMyDialog.MessageFont = RsViewEngine.DefaultFont; _MainForm = new CReportSmartForm(); _ResMan = RSResources.GFX; _ResManSpec = RSResources.Special; _Splash = new CfSplash(); _Splash.Show(); _Splash.SetText(""); ProfileManager = new RsViewProfileManager(); ProfileManager.OpenProfile(ProfileManager.RsViewProfile); CollectionManager = new RsCollectionManager(ProfileManager); LoadLocalization(); _Splash.SetText(Locale.GetMessage("splash_settings")); loadSecurity(); _Splash.SetText(Locale.GetMessage("splash_ui")); buildUserInterface(); FileSystem.ClearDefaultTemp(RsApplicationInfo.ApplicationName); _IsInitialized = true; _MainForm.CollectionManagement.CollectionBrowser.RefreshControl(); }
public static void InitializeApplication() { CMyDialog.DefaultTitleFont = RsViewEngine.TitleFont; CMyDialog.MessageFont = RsViewEngine.DefaultFont; _MainForm = new CReportSmartForm(); _ResMan = RSResources.GFX; _ResManSpec = RSResources.Special; _Splash = new CfSplash(); _Splash.Show(); _Splash.SetText(""); ProfileManager = new RsViewProfileManager(); ProfileManager.OpenProfile(ProfileManager.RsViewProfile); CollectionManager = new RsCollectionManager(ProfileManager); LoadLocalization(); _Splash.SetText(Locale.GetMessage("splash_settings")); loadSecurity(); _Splash.SetText(Locale.GetMessage("splash_ui")); buildUserInterface(); FileSystem.ClearDefaultTemp(RsApplicationInfo.ApplicationName); _IsInitialized = true; _MainForm.CollectionManagement.CollectionBrowser.RefreshControl(); }