How to make as by pressing to the close button, make so that the form was not closed, and it was turned off?
private void Form1_Closed(object sender, EventArgs e)
{
Form1.Hide();
}
So the form is all the same closed.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should do it on FormClosing not FormClosed event like this:
FormClosed means the form is already closed.