vb_一个简单的小程序·1

前端之家收集整理的这篇文章主要介绍了vb_一个简单的小程序·1前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
Private Sub Command1_Click()
Command1.Enabled = False
Command2.Enabled = True
Command3.Enabled = True
Print "播放中"
End Sub

Private Sub Command2_Click()
Command2.Enabled = False
Command1.Enabled = True
Command3.Enabled = True
Print "暂停中"
End Sub

Private Sub Command3_Click()
Command3.Enabled = False
Command1.Enabled = True
Command2.Enabled = False
Print "请选择媒体"
End Sub

Private Sub Form_Load()
Command1.Enabled = True
Command2.Enabled = False
Command3.Enabled = False
End Sub


运行:

很简单,其实vb很好玩的~~~

原文链接:https://www.f2er.com/vb/259413.html

猜你在找的VB相关文章