static BingMapsApplication() { Window.AddEventListener("load", delegate(ElementEvent e) { BingMapsShell shell = new BingMapsShell(); shell.Run(); }, /* useCapture */ false); }