PopulateAnalyzers() private method

private PopulateAnalyzers ( ComboBox cbAnalyzers ) : void
cbAnalyzers ComboBox
return void
Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
        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);
            }
        }
Esempio n. 3
0
 internal void Init()
 {
     _luke.PopulateAnalyzers(comboAnalyzer);
 }