static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (Properties.Settings.Default.RecentFiles == null) { Properties.Settings.Default.RecentFiles = new System.Collections.Specialized.StringCollection(); } if (Properties.Settings.Default.ConverterMappingRecentFiles == null) { Properties.Settings.Default.ConverterMappingRecentFiles = new System.Collections.Specialized.StringCollection(); } myTimer.Tick += new EventHandler(TimerEventProcessor); myTimer.Interval = 500; // half a second if ((args != null) && (args.Length > 0)) { FileNames = args; myTimer.Start(); } m_aForm = new FontsStylesForm(); Application.Run(m_aForm); }
static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (Properties.Settings.Default.RecentFiles == null) Properties.Settings.Default.RecentFiles = new System.Collections.Specialized.StringCollection(); if (Properties.Settings.Default.ConverterMappingRecentFiles == null) Properties.Settings.Default.ConverterMappingRecentFiles = new System.Collections.Specialized.StringCollection(); myTimer.Tick += new EventHandler(TimerEventProcessor); myTimer.Interval = 500; // half a second if ((args != null) && (args.Length > 0)) { FileNames = args; myTimer.Start(); } m_aForm = new FontsStylesForm(); Application.Run(m_aForm); }