|
|
@ -100,6 +100,11 @@ namespace HtmlHelp2 |
|
|
|
searchTerm.Text = string.Empty; |
|
|
|
searchTerm.Text = string.Empty; |
|
|
|
searchTerm.Items.Clear(); |
|
|
|
searchTerm.Items.Clear(); |
|
|
|
filterCombobox.Items.Clear(); |
|
|
|
filterCombobox.Items.Clear(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (HtmlHelp2Environment.SessionIsInitialized) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
HtmlHelp2Environment.BuildFilterList(filterCombobox); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void InitializeComponents() |
|
|
|
private void InitializeComponents() |
|
|
@ -162,11 +167,6 @@ namespace HtmlHelp2 |
|
|
|
filterCombobox.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
|
|
|
filterCombobox.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
|
|
|
filterCombobox.SelectedIndexChanged += new EventHandler(FilterChanged); |
|
|
|
filterCombobox.SelectedIndexChanged += new EventHandler(FilterChanged); |
|
|
|
|
|
|
|
|
|
|
|
if (HtmlHelp2Environment.SessionIsInitialized) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
HtmlHelp2Environment.BuildFilterList(filterCombobox); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Filter label
|
|
|
|
// Filter label
|
|
|
|
mainPanel.Controls.Add(label1); |
|
|
|
mainPanel.Controls.Add(label1); |
|
|
|
label1.Dock = DockStyle.Top; |
|
|
|
label1.Dock = DockStyle.Top; |
|
|
|