From 73dae5cbc65f4a525274472ab91a86966920f3e4 Mon Sep 17 00:00:00 2001 From: Marcus Ferl Date: Fri, 1 Apr 2022 21:06:22 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EStyleFunctions/Button=5FText=5FZoom.cs?= =?UTF-8?q?=E2=80=9C=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- StyleFunctions/Button_Text_Zoom.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 StyleFunctions/Button_Text_Zoom.cs diff --git a/StyleFunctions/Button_Text_Zoom.cs b/StyleFunctions/Button_Text_Zoom.cs new file mode 100644 index 0000000..3489888 --- /dev/null +++ b/StyleFunctions/Button_Text_Zoom.cs @@ -0,0 +1,13 @@ +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; + } + } \ No newline at end of file