Skip to content

page #47714

@cyte16

Description

@cyte16

Type of issue

Typo

Description

[Enter feedback here]
Public Class Form1
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim a As String
Dim b As String
a = TextBox1.Text
b = TextBox1.Text
If (b.Equals("kaurokowaguri")) And a.Equals("rintaro") Then
MessageBox.Show("seccess login welcome to Waguri! welcome", "Success", MessageBoxButtons.OK)
MessageBoxIcon.Information)
Me.Hide()
Form2.Show()
Else
MessageBox.Show("login failed, please try again ", "failed", MessageBoxButtons.OK, MessageBoxIcon.Error)
End If
End Sub
End Class

Page URL

https://learn.microsoft.com/en-us/dotnet/visual-basic/misc/bc30454?f1url=%3FappId%3Droslyn%26k%3Dk(BC30454)

Content source URL

https://github.com/dotnet/docs/blob/main/docs/visual-basic/misc/bc30454.md

Document Version Independent Id

388af685-6d05-4b9e-d466-c3168afde288

Platform Id

4c28ecd7-a030-e955-1f88-12d12ffde719

Article author

@BillWagner

Metadata

  • ID: 27d8fdb1-ad10-a8ee-2e2c-5341cde25d7c
  • PlatformId: 4c28ecd7-a030-e955-1f88-12d12ffde719
  • Service: dotnet-visualbasic
  • Sub-service: errors-warnings

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions