このコードを使用して on hover を実装tooltip
しました。なぜ機能しないのか誰にもわかりませんか?TextBox
ComboBox
MaskedTextBox
NumericUpDown
public static void addHovertip(ToolStripStatusLabel lb, Control c, string tip)
{
c.MouseEnter += (sender, e) =>
{
lb.Text = tip;
// MessageBox.Show(c.Name);
};
c.MouseLeave += (sender, e) =>
{
lb.Text = "";
};
}