Private Sub Command1_Click() Label1.Caption = "我爱VB"End SubPrivate Sub Command2_Click() EndEnd SubPrivate Sub Form_Load() Me.Caption = "第二个VB程序" Label1.Font = "微软雅黑" Label1.FontSize = "64" Label1.FontBold = True Label1.ForeColor = vbRed Label1.FontUnderline = True Command1.Caption = "继续" Command1.FontSize = "32" Command1.FontName = "微软雅黑" Command2.Caption = "退出" Command2.FontSize = "32" Command2.Font = "微软雅黑"End Sub
那要怎么直接显示我爱vb呢?或者,怎样隐藏掉“label1”呢?