需要用到

void ReportLogForm_Deactivate(object sender, EventArgs e)
{
      this.Close();
}

相关文章: