2017年11月21日 星期二

[ VB2010 ] - 002 基本資料輸入輸出介面

[ VB2010 ] - 002 基本資料輸入輸出介面








Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim a As String
        a = "大家好! 我是" + TextBox1.Text()
        TextBox2.Text = a
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Dim b As String
        b = InputBox("請輸入姓名")
        b = "大家好! 我是" + TextBox1.Text()
        MsgBox(b)
    End Sub
End Class

沒有留言:

張貼留言

WOKWI ESP32 模擬RFID ,LED + Python TKinter SQLite

 WOKWI ESP32 模擬RFID ,LED + Python TKinter SQLite  WOKWI ESP32程式 #include <SPI.h> #include <MFRC522.h> #include <WiFi.h> #i...