// The Constructor for all classes should receive a handle to the main program window
 public GISMapPolygon(SurfaceWindow1 ProgramWindow)
 {
     surfacewindow = ProgramWindow;
     // pass the program window to the GISMapPoints class
     GMPoint = new GISMapPoints(surfacewindow);
 }
 // The Constructor for all classes should receive a handle to the main program window
 public GISMapPolygon(SurfaceWindow1 ProgramWindow)
 {
     surfacewindow = ProgramWindow;
     // pass the program window to the GISMapPoints class
     GMPoint = new GISMapPoints(surfacewindow);
 }