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; } }
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; } }