public string ReSetThisWebServices(string temp) { string a1 = HelpConfig.huishou(); //回收应用程序池 string a2 = HelpConfig.huoquguanxi(); //获取最新关系到本地 string a3 = HelpConfig.shengchengdaili(); //重新生成代理类 return("回收应用程序池" + a1 + "___获取最新关系到本地" + a2 + "___重新生成代理类" + a3 + "|||"); }
private void button1_Click(object sender, EventArgs e) { button1.Enabled = false; try { if (tihuan() == "err") { button1.Enabled = true; return; } //string a1 = HelpConfig.huishou(); //回收应用程序池 string a2 = HelpConfig.huoquguanxi(); //获取最新关系到本地 string a3 = HelpConfig.shengchengdaili(); //重新生成代理类 MessageBox.Show("___获取最新关系到本地" + a2 + "___重新生成代理类" + a3 + "|||"); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } button1.Enabled = true; }