using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace _1 { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Form1 f = new Form1(); if (args.Length > 0) { f.fname = args[0]; } Application.Run(f); } } }