button.click c# code example
Example 1: c# code for button click event
public event EventHandler Click;
Example 2: C# button click
dynamicButton.Click += new EventHandler(DynamicButton_Click);
public event EventHandler Click;
dynamicButton.Click += new EventHandler(DynamicButton_Click);