Inheritance: Andwho.Windows.Forms.QQForm
 private void ClearSystemGarbageForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (form != null)
     {
         form.Dispose();
         form = null;
     }
 }
 public static ClearSystemGarbageForm GetInstance()
 {
     if (form == null)
     {
         lock (synLock)
         {
             if (form == null)
                 form = new ClearSystemGarbageForm();
         }
     }
     return form;
 }
 //清理系统垃圾
 private void ClearGarbageToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         form_ClearSystemGarbage = ClearSystemGarbageForm.GetInstance();
         form_ClearSystemGarbage.Show();
         form_ClearSystemGarbage.Activate();
     }
     catch (Exception ex)
     {
         log.WriteLog(ex.ToString());
     }
 }
 public static ClearSystemGarbageForm GetInstance()
 {
     if (form == null)
     {
         lock (synLock)
         {
             if (form == null)
             {
                 form = new ClearSystemGarbageForm();
             }
         }
     }
     return(form);
 }
 //清理系统垃圾
 private void ClearGarbageToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         form_ClearSystemGarbage = ClearSystemGarbageForm.GetInstance();
         form_ClearSystemGarbage.Show();
         form_ClearSystemGarbage.Activate();
     }
     catch (Exception ex)
     {
         log.WriteLog(ex.ToString());
     }
 }
 private void ClearSystemGarbageForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (form != null)
     {
         form.Dispose();
         form = null;
     }
 }