private static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var main = new MainForm(); main.Options.LoadArguments(args); Application.Run(main); }
private static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var main = new MainForm(); main.Options.LoadFile(main.ConfigFile); //commannd line arguments will overwrite config file settings main.Options.LoadArguments(args); Application.Run(main); }