/* * Created by SharpDevelop. * User: BITL-Gaming * Date: 10/7/2016 * Time: 3:01 PM * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Windows.Forms; namespace RBXLegacyLauncher { /// /// Class with program entry point. /// internal sealed class Program { static string ProcessInput(string s) { return s; } /// /// Program entry point. /// [STAThread] private static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (args.Length == 0) { Application.Run(new MainForm()); } else { foreach (string s in args) { GlobalVars.SharedArgs = ProcessInput(s); } Application.Run(new LoaderForm()); } } } }