public void Hide()
{
this.floatWindow.Visible = false;
}
public void Show()
void sgBox_UserConfirmSelectedItem(object sender, EventArgs e) { if (_textbox.CurrentTextSpan != null) { _textbox.ReplaceCurrentTextRunContent(_currentLocalText.Length, (string)_sgBox.GetItem(_sgBox.SelectedIndex).Tag); //------------------------------------- //then hide suggestion list _sgBox.ClearItems(); _sgBox.Hide(); //-------------------------------------- } }