Example #1
0
        //添加显示
        private void 添加至显示ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            IRasterLayer pRasterLayer = DatagridViewMenuClass.AddImgToShow(this.dataGridView1);

            if (pRasterLayer != null)
            {
                this._mainFormMap.AddLayer(pRasterLayer);
            }
        }
Example #2
0
 private void 打开文件夹ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DatagridViewMenuClass.OpenSelectDir(this.dataGridView1);
 }