Csharp_Snippets/StyleFunctions/Button_Text_Zoom.cs

13 lines
366 B
C#
Raw Normal View History

class ButtonZoom
{
Button button1 = new Button();
private void Button_MouseEnter(object sender, MouseEventArgs e)
{
button1.FontSize = 22;
}
private void Button_MouseLeave(object sender, MouseEventArgs e)
{
button1.FontSize = 15;
}
}