예제 #1
0
 public MapWindow()
 {
     InitializeComponent();
     doerfer = WebServiceCom.newInstance().getDorfCoordinates();
     PaintVillage();
     rectTrup.Fill = Brushes.Transparent;
 }
예제 #2
0
 public MapWindow()
 {
     try
     {
         InitializeComponent();
         doerfer = WebServiceCom.newInstance().getDorfCoordinates();
         PaintVillage();
         rectTrup.Fill = Brushes.Transparent;
     }
     catch (Exception ex) {
         MessageBox.Show("Error: " + ex.Message);
     }
 }