c# form hide event code example
Example 1: hide form c#
private void button2_Click(object sender, EventArgs e) // this your button double click and you will find it
{
this.Hide();
}
Example 2: hide and show form c#
Setup setup = new Setup();
this.Hide();
Pairs pairs = new Pairs();
pairs.Show();