private void Form1_Shown(object sender, EventArgs e) { imgRegion.Focus(); //otherwise the undo button was starting highlighted if (args != null && args.Length > 0 && !String.IsNullOrWhiteSpace(args[0])) { OpenWorld(args[0]); } }