2011-05-31 63 views

回答

1

VB.NET

If DateTime.Now >= New DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 15, 0, 0) AndAlso DateTime.Now <= New DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 17, 0, 0) then 
    MyPanel.Visible = false 
End If 

內含UI元素,如標籤,要內MyPanel隱藏。

相關問題