static void Main(string[] arguments) { SupportedCultures.SetCulture(); // Command line switches will only be expected // when the first instance starts, when more app instances // pass args into this instance, they will not be processed // and we will assume they are filenames. Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var app = new SingleAppInstance(arguments); app.Run(arguments); }