In any form we have in the corner three small buttons minimize,restore down, close
i want to manage the close button so when i click on it , i redirect to the main form
How to manage the exit
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

FroglegRank #1,020 · 1.9K reputationPosted May 27, 2012, 12:59 PM EDT
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
//do whatever
}