private void ProcessCommandLineArgs() { string[] args = Environment.GetCommandLineArgs(); if (args.Length > 1) { LoadFile(args[1]); } }