private static void Main(string[] args) { UISettingsMgr<MemoScopeSettings>.Init(Application.ProductName); CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var memoScopeForm = new MemoScopeForm(); FileInfo[] fileInfos = args.Select(arg => new FileInfo(arg)).ToArray(); memoScopeForm.AutoLoadFiles = fileInfos; Application.Run(memoScopeForm); }
private static void Main(string[] args) { UISettingsMgr <MemoScopeSettings> .Init(Application.ProductName); CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var memoScopeForm = new MemoScopeForm(); FileInfo[] fileInfos = args.Select(arg => new FileInfo(arg)).ToArray(); memoScopeForm.AutoLoadFiles = fileInfos; Application.Run(memoScopeForm); }