I wanna change all buttons's cursor type to "Hand" in my form. But the code is not working. Can anyone help pls? ) This is code:
foreach (Control control in this.Controls)
{
if (control is Button)
{
control.Cursor = Cursors.Hand;
}
}