private void mnuMapConstant_Click(object sender, EventArgs e)
{
dlgConstant theDlg = new dlgConstant();
AttributeMappingData theItem = (AttributeMappingData)lstAttMappings.SelectedItem;
theDlg.lblInsertHere.Text = theItem.destFC + " --- " + theItem.destAtt;
theDlg.lblDataType.Text = MiscProcs.UnBuildDataType(theItem.destDT, theItem.destLen);
theDlg.lblLength.Text = theItem.destLen.ToString();
theDlg.forNulls.Text = "T";
if (theItem.destEnum != "")
{
theDlg.lblEnum.Text = theItem.destEnum;
}
if (theItem.constant != "")
{
}
DialogResult theRes = theDlg.ShowDialog(this);
if (theRes == DialogResult.OK)
{
theItem.constant = theDlg.txtConst.Text;
}
}