public AddField(CreateShapefile frmcs) { InitializeComponent(); cbFieldType.Items.Add("String"); cbFieldType.Items.Add("Int"); cbFieldType.SelectedIndex = 0; m_frmCS = frmcs; }
//Function: Create shapefile //Date: 2019/4/10 private void miCreateShapefile_Click(object sender, EventArgs e) { CreateShapefile createShapefile = new CreateShapefile(this, axMapControl1.Map); createShapefile.Show(); }