no overload for matches delegate 'system.eventhandler'

后端 未结 4 1267
天涯浪人
天涯浪人 2020-12-01 20:38

As I\'m pretty new to C#, I struggle with the following piece of code. When I click to button \'knop\', the method \'klik\' has to be executed. The method has to draw the Bi

4条回答
  •  旧时难觅i
    2020-12-01 21:12

    You need to wrap button click handler to match the pattern

    public void klik(object sender, EventArgs e)
    

提交回复
热议问题