public static void Main(string[] args) { if (System.Environment.GetCommandLineArgs().Length == 2) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frmVaultViewer()); } else { SingleInstanceManager manager = new SingleInstanceManager(); manager.Run(args); } }