windows form button click code example
Example: windows form button click
private void button1_Click(object sender, System.EventArgs e)
{
MessageBox.Show("button1 was clicked");
}
private void button1_Click(object sender, System.EventArgs e)
{
MessageBox.Show("button1 was clicked");
}