using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace FS_CLIENT { static class Program { /// /// The main entry point for the application. /// /// public static string Token; [STAThread] static void Main(string[] args) { if (args.Length < 0) { MessageBox.Show("No parameters", "", MessageBoxButtons.OK, MessageBoxIcon.Information); Environment.Exit(0); } else { Token = args[0]; } Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } } }