title: Run some codes when another form would closed
body: <p>I have a winform with ID Form1, in this form I create new object of another form with ID Form2 and show it:</p>
  
  <p><strong>codes in Form1:</strong></p>
  
  <pre><code>Form2 f2 = new Form2();
  f2.show();
  </code></pre>
  
  <p>I want run some codes in Form1 when user f2 would closed:</p>
  
  <p>Please help me.</p>