/// <summary>
/// Hides the drop-down filter list.
/// </summary>
override protected void HideFilterControl()
{
if (filterControlShowing)
{
filterControlShowing = false;
Debug.Assert(this.DataGridView != null, "DataGridView is null");
// Hide dropDownListBox.FilterListBox, remove handlers from its events, and remove
// it from the DataGridView control.
UnhandleDropDownListBoxEvents();
filterWindow.Visible = false;
filterWindow.Dispose();
filterWindow = null;
//this.DataGridView.Controls.Remove(multiSelectBox);
// Invalidate the cell so that the drop-down button will repaint
// in the unpressed state.
this.DataGridView.InvalidateCell(this);
this.DataGridView.Focus();
}
}