示例#1
0
        private void MenuItem_KeyUp(object sender, RoutedEventArgs e)
        {
            ComputeFields();
            AddField AddWindow = new AddField(this, FinalFields);

            AddWindow.Show();
        }
示例#2
0
        //调用添加字段的窗体
        private void button1_Click(object sender, EventArgs e)
        {
            ILayer        pLayer        = currentLayer;
            IFeatureLayer pFeatureLayer = pLayer as IFeatureLayer;
            AddField      addField      = new AddField(pFeatureLayer, dataGridView1);

            addField.Show();
        }