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