MapWinGIS基于C#开发,随机创建面
// An highlighted block
private void CancleButton_OnClick(object sender, RoutedEventArgs e)
{
//Add panel
//this.ShowInTaskbar = false;
//this.Visibility = Visibility.Hidden;
var sf = new MapWinGIS.Shapefile();
bool result = sf.CreateNewWithShapeID("", MapWinGIS.ShpfileType.SHP_POLYLINE);
if (!result)
{
MessageBox.Show(sf.ErrorMsg[sf.LastErrorCode]);
}
else
{
double xMin = 0.0;
double yMin = 0.0;
double xMax = 1000.0