
if(CheckBox1 != null && CheckBox2 != null ) 转换为VB.net的代码应该是什么?
if(CheckBox1 != null && CheckBox2 != null ) 转换为VB.net的代码应该是什么?
__________________________________________________________________________
if not checkbox1 is nothing and checkbox2 is nothing then
^
end if
__________________________________________________________________________
if checkbox1 is nothing and checkbox2 is nothing then
^
end if
__________________________________________________________________________
下面的正确,准备结体:
If (Not CheckBox1 Is Nothing) And (Not CheckBox2 Is Nothing) Then
__________________________________________________________________________
If( ( CheckBox1 IsNot Nothing) And (CheckBox2 IsNot Nothing) ) Then
__________________________________________________________________________