コード例 #1
0
        private void btnExpression_Click(object sender, EventArgs e)
        {
            FrmAnnotationExpression frm = new FrmAnnotationExpression(this.cmbFlagLayer.SelectFeatureClass.Fields, this.TxtExpression.Text);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.TxtExpression.Text = frm.Expression;
            }
        }
コード例 #2
0
        private void btnLineExpression_Click(object sender, EventArgs e)
        {
            FrmAnnotationExpression frm = new FrmAnnotationExpression(_lineFeatureLayer.FeatureClass.Fields, TxtLineExpression.Text);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                TxtLineExpression.Text = frm.Expression;
            }
        }