コード例 #1
0
        private void Main_Load(object sender, EventArgs e)
        {
            txtDocumentsProviderSettings.Text = UISettings.Default.DocumentsProviderSettings;

            txtOutputFileName.Text       = UISettings.Default.OutputOntologySettings;
            txtLoadFromDumpFileName.Text = UISettings.Default.LoadFromDumpFileName;
            txtAddToDumpFileName.Text    = UISettings.Default.SaveToDumpFileName;

            cbOutputOntologyProvider.Items.AddRange(_OnologyConfig.Providers.ToArray());
            cbOutputOntologyProvider.SelectedIndex = _OnologyConfig.GetIndex(UISettings.Default.OutputOntologyProviderName);

            cbDocumentProviderProvider.Items.AddRange(_DocumentProviderConfig.Providers.ToArray());
            cbDocumentProviderProvider.SelectedIndex = _DocumentProviderConfig.GetIndex(UISettings.Default.DocumentsProviderProviderName);
        }