How to convert this line from C# to VB.net (Windows Phone 7)

前端 未结 3 1404
感动是毒
感动是毒 2021-01-26 15:44

Hi I am studying some codes from the web that I need for a future project, but I am having trouble changing this code from C# to VB.net. Can someone help pleasE?



        
3条回答
  •  隐瞒了意图╮
    2021-01-26 16:06

    Adding event handlers is done differently in VB.NET:

    AddHandler btnAdd.Click, AddressOf btnAdd_Click
    

    Source

提交回复
热议问题