Inheritance: System.Windows.Forms.Form
 public static ConfigForm GetInstance()
 {
     if (form_Config == null)
     {
         lock (synLock)
         {
             if (form_Config == null) form_Config = new ConfigForm();
         }
     }
     return form_Config;
 }
 //设置
 private void ConfigToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         form_Config = ConfigForm.GetInstance();
         form_Config.ReloadConfigHandlor += new ConfigForm.ReloadConfigHandler(ReloadNavigation);
         form_Config.Show();
         form_Config.Activate();
     }
     catch (Exception ex)
     {
         log.WriteLog(ex.ToString());
     }
 }
 private void ConfigForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (form_Config != null)
     {
         form_Config.Dispose();
         form_Config = null;
     }
 }
 //设置
 private void ConfigMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         configForm = ConfigForm.GetInstance();
         configForm.ReloadConfigHandlor += new ConfigForm.ReloadConfigHandler(ReloadNavigation);
         configForm.Show();
         configForm.Activate();
     }
     catch
     { }
 }