分享一个基于VS2017的工控按钮DLL,以方便开发工控软件的朋友做出漂亮的界面。
控件属性可以选择按钮的形状(style1–style6),以及开关状态的显示文字(onlable或者offlabel)。
通过value属性传递按钮的状态。
Private Sub MyButtonCheck3_Load(sender As Object, e As EventArgs) Handles MyButtonCheck3.Click
If MyButtonCheck3.Value = True Then
TextBox2.Text = "自动"
Else
TextBox2.Text = "手动"
End If
End Sub
下载链接:
https://download.csdn.net/download/qq_33787896/11128197