From 43994047abadd0b162d22c5504d2e2280cb94bd1 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Wed, 30 Oct 2024 16:15:03 +0900 Subject: [PATCH] fix the build issue of F# example --- FSharpExample/Program.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FSharpExample/Program.fs b/FSharpExample/Program.fs index 88d801f04f..febff32a2d 100644 --- a/FSharpExample/Program.fs +++ b/FSharpExample/Program.fs @@ -19,7 +19,7 @@ type ExampleWindow() as this = let btnLogin = new Button(Text = "Login", Y = Pos.Bottom(passwordLabel) + Pos.op_Implicit(1), X = Pos.Center(), IsDefault = true) // When login button is clicked display a message popup - btnLogin.Accept.Add(fun _ -> + btnLogin.Accepting.Add(fun _ -> if userNameText.Text = "admin" && passwordText.Text = "password" then MessageBox.Query("Logging In", "Login Successful", "Ok") |> ignore ExampleWindow.UserName <- userNameText.Text.ToString()