From 0546bb2aa6bfcb471c48f53cacd661bfe570f405 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Sat, 11 Apr 2026 12:05:53 +0700 Subject: [PATCH] Connect (subscribe) the button with the method --- Form1.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Form1.cs b/Form1.cs index c4966a9..a4a46aa 100644 --- a/Form1.cs +++ b/Form1.cs @@ -15,6 +15,8 @@ namespace GuessTheCard labelCard.Text = "Result : " + randomDice; labelScore.Text = "Score: " + score; + buttonHigh.Click += buttonHigh_Click; + buttonLow.Click += buttonLow_Click; } private void buttonHigh_Click(object sender, EventArgs e)