if(CheckBox1 != null && CheckBox2 != null ) 转换为VB.net的代码应该是什么?该如何解决

if(CheckBox1 ! null && CheckBox2 ! null ) 转换为VB.net的代码应该是什么?if(CheckBox1!null&&CheckB

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 IsNot Nothing) And (CheckBox2 IsNot Nothing) ) Then