Form1.vb
Public Class Form1
Private Sub btnOpen_Click(sender As Object, e As EventArgs) Handles btnOpen.Click
Form2.Show()
End Sub
End Class
-----------------------------------------------
Form2.vb
Public Class Form2
Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Label2.Text = Form1.TextBox1.Text
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Form1.Label1.Text = TextBox1.Text
End Sub
End Class
minuvasoft10@gmail.com - Se Realizan Programas con Visual Basic 2022
No hay comentarios:
Publicar un comentario