public EditDocument(Luke parent, int docNum, Document document, Hashtable doc)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.docNum = docNum;
this.document = document;
this.luke = parent;
luke.PopulateAnalyzers(cmbAnalyzers);
cmbAnalyzers.SelectedIndex = 0;
groupDocNum.Text = groupDocNum.Text + docNum.ToString();
ReconstructFields(doc);
foreach (Field field in fields)
{
lstFields.Items.Add(field.Name());
}
if (lstFields.Items.Count > 0)
{
lstFields.SelectedIndex = 0;
PopulateFieldContent(0);
}
}