add button click event in c# .net coe code example Example: c# code for button click event public event EventHandler Click;