private void ClearButton_Click(object sender, EventArgs e)
{
foreach (Layer layer in MyMap.Layers)
if (layer is GraphicsLayer)
(layer as GraphicsLayer).Graphics.Clear();
MyRouteInfoWindow.IsOpen = false;
((ApplicationBarIconButton)ApplicationBar.Buttons[2]).IsEnabled = false;
}