public string ReSetThisWebServices(string temp) { string a1 = HelpConfig.huishou(); //回收应用程序池 string a2 = HelpConfig.huoquguanxi(); //获取最新关系到本地 string a3 = HelpConfig.shengchengdaili(); //重新生成代理类 return("回收应用程序池" + a1 + "___获取最新关系到本地" + a2 + "___重新生成代理类" + a3 + "|||"); }
/// <summary> /// Shows the table of contents for the configured help file /// </summary> /// <param name="parent">The parent control for the help dialog</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ ------------------------------------------- // 06/04/08 RCG 1.50.29 N/A Created public static void ShowHelpTableOfContents(Control parent) { HelpConfig HelpConfiguration = (HelpConfig)ConfigurationManager.GetSection("Itron.Metering/HelpConfig"); HelpProvider Provider = new HelpProvider(); Provider.HelpNamespace = HelpConfiguration.File; Help.ShowHelp(parent, Provider.HelpNamespace, HelpNavigator.TableOfContents); }
/// <summary> /// Shows the help index for the configured help file. /// </summary> /// <param name="parent">The parent control for the help dialog</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ ------------------------------------------- // 06/04/08 RCG 1.50.29 N/A Created public static void ShowHelpIndex(Control parent) { HelpConfig HelpConfiguration = (HelpConfig)ConfigurationManager.GetSection("Itron.Metering/HelpConfig"); HelpProvider Provider = new HelpProvider(); Provider.HelpNamespace = HelpConfiguration.File; Help.ShowHelpIndex(parent, Provider.HelpNamespace); }
/// <summary> /// 按钮点击切换 /// </summary> /// <param name="toggle"></param> /// <param name="label"></param> public void OnToggleChange(UIToggle toggle, UILabel label) { if (!toggle.value) { return; } num = int.Parse(label.text); mScroll.ResetPosition(); //刷新内容 HelpConfig con1 = list[num] as HelpConfig; mHelpText.text = con1.desc; }
/// <summary> /// Shows the specified help dialog. /// </summary> /// <param name="parent">The parent control for the help dialog.</param> /// <param name="strHelpName">The ID of the help to display.</param> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ ------------------------------------------- // 06/04/08 RCG 1.50.29 N/A Created public static void ShowHelp(Control parent, string strHelpName) { HelpConfig HelpConfiguration = (HelpConfig)ConfigurationManager.GetSection("Itron.Metering/HelpConfig"); HelpProvider Provider = new HelpProvider(); Provider.HelpNamespace = HelpConfiguration.File; if (HelpConfiguration.HelpIDs[strHelpName] != null) { Help.ShowHelp(parent, Provider.HelpNamespace, HelpNavigator.TopicId, HelpConfiguration.HelpIDs[strHelpName].ID); } else { Help.ShowHelp(parent, Provider.HelpNamespace, HelpNavigator.TopicId, strHelpName); } }
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; }