Skip to content

Commit

Permalink
fix the build issue of F# example
Browse files Browse the repository at this point in the history
  • Loading branch information
syohex committed Oct 30, 2024
1 parent 2f7d80a commit 4399404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FSharpExample/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4399404

Please sign in to comment.