• 大小: 3.42MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-11
  • 语言: 其他
  • 标签: DEM读取  三维DEM  

资源简介

可以生成dem三维的,读取dem数据,可以更改读取的dem数据的属性。非常实用

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GridDEM
{
    public partial class DrawCanshu : Form
    {
        public Color color {get;set;}
        public int cellsize { get; set; }
        public DrawCanshu()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender EventArgs e)
        {
            cellsize = Convert.ToInt32(numericUpDown1.Value.ToString());
            this.Hide();
        }

        private void panel1_MouseClick(object sender MouseEventArgs e)
        {
            ColorDialog colorDialog = new ColorDialog();
            if (colorDialog.ShowDialog() == DialogResult.OK)
            {
                color = colorDialog.Color;
            }
            panel1.BackColor = color;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-11-29 15:07  GridDEM\
     目录           0  2013-11-29 15:07  GridDEM\GridDEM\
     目录           0  2013-11-29 15:07  GridDEM\GridDEM\CoreClass\
     文件         986  2013-11-29 15:02  GridDEM\GridDEM\CoreClass\Grid.cs
     文件        1396  2013-11-29 15:02  GridDEM\GridDEM\DXT.Designer.cs
     文件       13247  2013-11-29 15:02  GridDEM\GridDEM\DXT.cs
     文件        5817  2013-11-29 15:02  GridDEM\GridDEM\DXT.resx
     文件        5094  2013-11-29 15:02  GridDEM\GridDEM\DrawCanshu.Designer.cs
     文件         967  2013-11-29 15:02  GridDEM\GridDEM\DrawCanshu.cs
     文件        5817  2013-11-29 15:02  GridDEM\GridDEM\DrawCanshu.resx
     文件        8110  2013-11-29 19:29  GridDEM\GridDEM\Form1.Designer.cs
     文件        6470  2013-11-29 19:29  GridDEM\GridDEM\Form1.cs
     文件        6188  2013-11-29 19:29  GridDEM\GridDEM\Form1.resx
     文件        6173  2013-11-29 19:29  GridDEM\GridDEM\GridDEM.csproj
     文件         488  2013-11-29 15:02  GridDEM\GridDEM\Program.cs
     目录           0  2013-11-29 15:07  GridDEM\GridDEM\Properties\
     文件        1364  2013-11-29 15:02  GridDEM\GridDEM\Properties\AssemblyInfo.cs
     文件        2854  2013-11-29 15:02  GridDEM\GridDEM\Properties\Resources.Designer.cs
     文件        5612  2013-11-29 15:02  GridDEM\GridDEM\Properties\Resources.resx
     文件        1107  2013-11-29 15:02  GridDEM\GridDEM\Properties\Settings.Designer.cs
     文件         249  2013-11-29 15:02  GridDEM\GridDEM\Properties\Settings.settings
     文件        3792  2013-11-29 15:02  GridDEM\GridDEM\TDForm.Designer.cs
     文件        6583  2013-11-29 15:02  GridDEM\GridDEM\TDForm.cs
     文件        5817  2013-11-29 15:02  GridDEM\GridDEM\TDForm.resx
     文件       15053  2013-11-29 15:02  GridDEM\GridDEM\TerrainForm.cs
     文件        1411  2013-11-29 15:02  GridDEM\GridDEM\TerrainForm.designer.cs
     文件        5814  2013-11-29 15:02  GridDEM\GridDEM\TerrainForm.resx
     文件         117  2013-11-29 15:02  GridDEM\GridDEM\app.config
     目录           0  2013-11-29 15:07  GridDEM\GridDEM\bin\
     目录           0  2013-11-29 20:32  GridDEM\GridDEM\bin\Debug\
     文件       24576  2013-11-29 19:29  GridDEM\GridDEM\bin\Debug\GridDEM.exe
............此处省略53个文件信息

评论

共有 条评论

相关资源