窗体上添加有3个命令按钮,分别命名为C1、C2和C3。编写C1的单击事件过程,完成的功能为:当单击按钮C1时,按钮C2可见,按钮C3不可用。下列语句中正确的是( )。
A: Private Sub C1 Click() C2.Visible=True C3.Visible=False End Sub
B: Private SubC1_Click() C2.Enabled=True C3.Enabled=False End Sub
C: Private Sub C1 Click() C2.Enabled=True C3.Visible=False End Sub
D: Private SubC1_Click() C2.Visible=True C3.Enabled=False End Sub
A: Private Sub C1 Click() C2.Visible=True C3.Visible=False End Sub
B: Private SubC1_Click() C2.Enabled=True C3.Enabled=False End Sub
C: Private Sub C1 Click() C2.Enabled=True C3.Visible=False End Sub
D: Private SubC1_Click() C2.Visible=True C3.Enabled=False End Sub
举一反三
- 窗体上添加有3个命令按钮,分别命名为C1、C2和C3。编写C1的单击事件过程,完成的功能为:当单击按钮C1时,按钮C2可见,按钮C3不可用。下列语句中正确的是( )。 A: Private Sub C1_Click() B: C2.Visible=True C: C3.Visible=False D: End Sub E: Private Sub C1 Click() F: C2.Enabled=True G: C3.Enabled=False H: End Sub I: Private SubC1_Click() J: C2.Enabled=True K: C3.Visible=False L: End Sub M: Private Sub C1 N: C2.Visible=True O: C3.Enabled=Fals P: End Sub
- 窗体上添加有3个命令按钮,分别命名为C1、C2和C3。编写C1的单击事件过程,完成的功能为:当单击按钮C1时,按钮C2可见,按钮C3不可用。下列语句中正确的是( )。 A: Private Sub C1_C1ick() B: C2.ViSible=True C: C3.ViSible=False D: End Sub E: Private Sub C1_Click() F: C2.Enabled=True G: C3.Enabled=False H: End Sub I: Private Sub C1_Click() J: C2.Enabled=True K: C3.Visible=False L: End Sub M: Private Sub C1_Click() N: C2.Visible=True O: C3.Enabled=False P: End Sub
- 窗体中有3个命令按钮,分别命名为Commandl、Command2和Command3。当单击Cmmandl按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列Commandl的单击事件过程中,正确的是( ) A: Private Sub Command1_Click() Command2.Visible=True Command3.Visible=False End Sub B: Private Sub Command1_Click() Command2.Enabled=True Command3.Enabled=False End Sub C: Private Sub Command1_Click() Command2.Enabled=True Command3.Visible=False End Sub D: Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Sub
- 窗体中有3个命令按钮,分别命名为Commandl、Command2和Command3。当单击Cmmandl按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列Commandl的单击事件过程中,正确的是( ) A: Private Sub Command1_Click() Command2.Visible=True Command3.Visible=False End Su B: Private Sub Command1_Click() Command2.Enabled=True Command3.Enabled=False End Su C: Private Sub Command1_Click() Command2.Enabled=True Command3.Visible=False End Su D: Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Su
- 窗体中有3个命令按钮,分别命名为Commandl、Command2和Command3。当单击Cmmandl按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列Commandl的单击事件过程中,正确的是( ) A: Private Sub Command1_Click() Command2.Visible=True Command3.Visible=False End Su B: Private Sub Command1_Click() Command2.Enabled=True Command3.Enabled=False End Su C: Private Sub Command1_Click() Command2.Enabled=True Command3.Visible=False End Su D: Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Su