[VB.NET]if(CheckBox1 != null && CheckBox2 != null ) 轉換爲VB.net的代碼應該是什麼?

VB.NET源碼-156個實用實例哦…… <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
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
__________________________________________________________________________
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章