Skip to content

Commit 4ccb3fb

Browse files
authored
Merge pull request #3805 from syohex/fix-fsharp-example
fix the build issue of F# example
2 parents 2f7d80a + 4399404 commit 4ccb3fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FSharpExample/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type ExampleWindow() as this =
1919
let btnLogin = new Button(Text = "Login", Y = Pos.Bottom(passwordLabel) + Pos.op_Implicit(1), X = Pos.Center(), IsDefault = true)
2020

2121
// When login button is clicked display a message popup
22-
btnLogin.Accept.Add(fun _ ->
22+
btnLogin.Accepting.Add(fun _ ->
2323
if userNameText.Text = "admin" && passwordText.Text = "password" then
2424
MessageBox.Query("Logging In", "Login Successful", "Ok") |> ignore
2525
ExampleWindow.UserName <- userNameText.Text.ToString()

0 commit comments

Comments
 (0)