Пример #1
0
 private void SharpMapClick(object sender, RoutedEventArgs e)
 {
     mapControl.Map = ShapefileSample.CreateMap();
     layerList.Initialize(mapControl.Map.Layers);
     mapControl.Refresh();
 }
Пример #2
0
 void Form1_Load(object sender, EventArgs e)
 {
     mapControl1.Map = ShapefileSample.CreateMap();
 }