Beispiel #1
0
        /// <summary>
        /// 导入文件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnImport_Click(object sender, EventArgs e)
        {
            switch (FileType)
            {
            case ImportType.Dom:
                _model.ctxImportDom_Click(this, null);
                break;

            case ImportType.Shp:
                _model.ctxImportShp_Click(this, null);
                break;

            default:
                break;
            }
        }
Beispiel #2
0
 private void 导入SHPToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _pnlLeft.ctxImportShp_Click(null, null);
 }