StonehearthEditor.Program.Main C# (CSharp) Method

Main() private method

private Main ( string args ) : void
args string
return void
        private static void Main(string[] args)
        {
            string path = (string)Properties.Settings.Default["ModsDirectory"];
            if (args.Length > 0)
            {
                path = args[0];
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm(path));
        }
Program