【问题标题】:Access another program config file访问另一个程序配置文件
【发布时间】:2014-03-22 15:59:27
【问题描述】:

我有程序 A Windows 应用程序和程序 B 另一个 Windows 应用程序。 在程序 B 中,我需要显示程序 A 的配置文件。 (应用程序配置) 这应该显示在程序 B 的文本框中。 我该怎么做?

【问题讨论】:

    标签: c# configuration app-config


    【解决方案1】:
    XmlDocument doc = new XmlDocument();
    doc.Load(path of config file of program A);
    

    你可以试试这个

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-04-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-09
      相关资源
      最近更新 更多