I have made a form, and i want to have it so the toggle button that controls the submit button.
(我已经制作了一个表单,我想拥有它,以便控制提交按钮的切换按钮。)
I have VB code that may work.
(我有可能有效的VB代码。)
I just need to convert it somehow, but don't know how. (我只需要以某种方式进行转换,但是不知道如何进行转换。)
Public Class Form1
Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox1.CheckedChanged
If CheckBox1.Checked = True Then
Button1.Enabled = True
End If
If CheckBox1.Checked = False Then
Button1.Enabled = False
End If
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If Me.Enabled = True Then
Button1.Enabled = False
End If
End Sub
End Class
This is a Windows VB Form that I made.
(这是我制作的Windows VB表单。)
I want to convert this code to a online page form based CSS code. (我想将此代码转换为基于CSS的在线页面表单。)
Is this possible? (这可能吗?)
Sadly I don't know how to use CSS to code this.
(可悲的是,我不知道如何使用CSS编写代码。)
ask by GlitchingGang translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…