示例#1
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (CurrentFile != null)
     {
         CurrentFile.Dispose();
     }
 }