S
- Joined
- Sep 6, 2020
- Messages
- 2,470
- Reaction score
- 1,626
1 Adet Textbox
1 Adet Button
Kendinize 2 tane kod belirleyelim. Ben "Selyk" ve "Selyk12"'yi belirledim.
Bu kodlardan biri ile program açılacak.
1 Adet Button
Kendinize 2 tane kod belirleyelim. Ben "Selyk" ve "Selyk12"'yi belirledim.
Bu kodlardan biri ile program açılacak.
Code:
If TextBox1.Text = "Selyk" Then
Form2.Show()
Me.Hide()
MsgBox("Başarılı! " & "''" & TextBox1.Text & "''" & " ile giriş yaptınız!")
ElseIf TextBox1.Text = "Selyk12" Then
Form2.Show()
Me.Hide()
MsgBox("Başarılı! " & "''" & TextBox1.Text & "''" & " ile giriş yaptınız!")
Else
MsgBox("Hata! Doğru yazın!")
End If