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
You need to change public void klik(PaintEventArgs pea, EventArgs e) to public void klik(object sender, System.EventArgs e) because there is no Click event handler with parameters PaintEventArgs pea, EventArgs e.