Exemplo n.º 1
0
 //设置
 private void ConfigMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         configForm = ConfigForm.GetInstance();
         configForm.ReloadConfigHandlor += new ConfigForm.ReloadConfigHandler(ReloadNavigation);
         configForm.Show();
         configForm.Activate();
     }
     catch
     { }
 }
Exemplo n.º 2
0
 private void BtnSet_Click(object sender, EventArgs e)
 {
     try
     {
         ConfigForm form = ConfigForm.GetInstance();
         form.ReloadConfigHandlor += new ConfigForm.ReloadConfigHandler(InitSearchAndConfigWebsite);
         form.Show();
         form.Activate();
     }
     catch (Exception ex)
     {
         log.WriteLog(ex.ToString());
     }
 }
Exemplo n.º 3
0
 //设置
 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());
     }
 }
Exemplo n.º 4
0
 //设置
 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());
     }
 }
Exemplo n.º 5
0
 //设置
 private void ConfigMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         configForm = ConfigForm.GetInstance();
         configForm.ReloadConfigHandlor += new ConfigForm.ReloadConfigHandler(ReloadNavigation);
         configForm.Show();
         configForm.Activate();
     }
     catch
     { }
 }