private void textBox1_KeyUp(object sender, KeyEventArgs e) { if (!popupSearchBox.Visible) { popupSearchBox.Visible = true; } popupSearchBox.Clear(); popupSearchBox.AddItem("Search " + textBox1.Text); }