using JD.Bloomberg; using JD.Core.ProjectManaging; using System; using System.Globalization; using System.IO; using System.Threading; using System.Windows.Forms; namespace UA_AtlasEditor { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { ProjectManager.Instance.Initialize(); JdBloombergLegacy.Instance.Start(); string openFile = null; foreach (string arg in args) { if (File.Exists(arg)) { if (Atlas.IsAtlasFile(arg)) openFile = arg; else openFile = ""; } } Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm(openFile)); } } }