public Simplify() { InitializeComponent(); MyMap.Layers.LayersInitialized += Layers_LayersInitialized; }