Пример #1
0
        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);
        }
Пример #2
0
        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);
        }