這個c#
代碼的vb.net
等效代碼是什麼?將C#代碼轉換爲vb.net
DataFilter1.OnFilterAdded += new DataFilter.RefreshDataGridView(DataFilter1_OnFilterAdded);
我使用了一個轉換工具,並得到這個代碼:
DataFilter1.OnFilterAdded += New DataFilter.RefreshDataGridView(AddressOf DataFilter1_OnFilterAdded)
但似乎是不正確的..
邊注:C#代碼可以縮短到'DataFilter1.OnFilterAdded + = DataFilter1_OnFilterAdded;' – CodesInChaos 2013-02-25 10:01:27