private void InitComboHtmlExportType() { ComboBoxItemCollection collExportHtml = edtExportHtmlType.Properties.Items; collExportHtml.BeginUpdate(); collExportHtml.Clear(); collExportHtml.Add(ExportRootTag.Body); collExportHtml.Add(ExportRootTag.Html); collExportHtml.EndUpdate(); edtExportHtmlType.SelectedIndex = 0; htmlExportType = ExportRootTag.Body; }
private void edtExportHtmlType_SelectedValueChanged(object sender, EventArgs e) { this.htmlExportType = (ExportRootTag)edtExportHtmlType.EditValue; }