c#开发windows应用程序如何添加app.config

新建立 windows 应用程序项目的时候系统不会自动添加 app.config ,如果开发中需要 app.config ,添加方法大概有两种。

方法一:手工添加

要添加这个文件很简单,执行如下操作就可以了:在开发环境中选择“项目”-->“添加新项”-->“XML 文件”,输入xml 文件的名称为 app.config。

然后就可以如同 web.config 一样,编辑 app.config 文件,以及在应用程序中读、写该配置文件。

重新编译项目,在应用程序的运行目录下会生成一个 app.config 的副本,名称为:程序名.exe.config。

方法二:系统自动添加

假设我们现在要使用 app.config 来动态配置一个 label 的 text 属性,那么,在label的属性窗口中选择如下图的属性进行配置,那么就可以让系统自动添加一个 app.config 的文件,呵呵,很省事的了。

最新评论:

no.116437 kcnpezt 197.157.254.34 2020-03-31 18:27

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116417 wurlobn 89.34.208.216 2020-03-31 08:20

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116414 tkelowm 95.165.163.188 2020-03-31 05:51

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116404 lczuvsx 177.220.141.134 2020-03-31 00:53

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116400 hmpiyqh 36.37.112.26 2020-03-30 22:19

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116394 jrrskud 103.8.122.1 2020-03-30 17:08

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116390 auqvija 83.238.39.241 2020-03-30 14:36

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116380 uqitezn 181.10.210.99 2020-03-30 07:01

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116375 pmcgoih 167.249.171.110 2020-03-30 04:28

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116367 phnxwol 103.123.66.132 2020-03-30 02:02

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116362 uvrkzqg 217.115.213.186 2020-03-29 23:30

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116358 pnjwlub 122.15.71.33 2020-03-29 18:21

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116340 kdjfnfs 109.188.69.113 2020-03-29 10:42

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116320 ubfcabj 116.58.78.250 2020-03-28 19:32

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116289 hdfyfca 203.80.170.68 2020-03-28 04:18

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116255 hcguwpp 46.172.69.163 2020-03-27 08:03

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116227 dfvvncj 41.0.175.82 2020-03-26 14:17

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116217 gfjpevk 61.14.228.118 2020-03-26 11:44

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116207 rezpnvx 201.234.81.181 2020-03-26 04:08

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116199 egrlkeu 119.82.252.122 2020-03-26 01:36

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116177 hfylqha 27.106.84.186 2020-03-25 13:27

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116169 phkvjwe 129.205.135.171 2020-03-25 10:55

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116164 uciddnv 181.129.147.82 2020-03-25 08:24

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116152 ijitrzj 143.0.177.198 2020-03-25 03:20

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116131 erkbogn 177.200.247.235 2020-03-24 14:36

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116109 vhrjafl 191.37.68.142 2020-03-24 04:28

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116095 jhifxwh 103.83.178.174 2020-03-23 20:54

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116078 blpzyqg 77.93.235.34 2020-03-23 10:44

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116075 ikzngrg 125.25.165.91 2020-03-23 08:12

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116067 icctqmy 78.139.200.51 2020-03-23 05:39

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116061 zqrxvlj 103.57.80.40 2020-03-23 03:08

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116047 eiqckrr 118.97.55.65 2020-03-22 16:58

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116040 urebyou 103.242.168.20 2020-03-22 14:27

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116027 xvwdyps 177.72.6.18 2020-03-22 09:21

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.116017 rzhezjy 166.62.118.88 2020-03-22 06:45

[url=https://www.instagram.com/batmanapollo/]Психолог онлайн[/url] https://www.instagram.com/batmanapollo/ <a href="https://www.instagram.com/batmanapollo/">Психолог онлайн</a>

no.115944 avgioqm 185.47.184.253 2020-03-16 22:36

https://qa.easykassa.ru/en/vopros/23520/trigger-16-ia-seriia-vse-serii-podriad-onlain-v-khoroshem-kachestve/

no.115921 lsvlsta 84.242.183.146 2020-03-13 07:14

https://qa.easykassa.ru/en/vopros/23520/trigger-16-ia-seriia-vse-serii-podriad-onlain-v-khoroshem-kachestve/

no.115918 gqqklhi 198.12.154.22 2020-03-13 05:49

https://qa.easykassa.ru/en/vopros/23520/trigger-16-ia-seriia-vse-serii-podriad-onlain-v-khoroshem-kachestve/

no.115911 btehopk 177.53.7.41 2020-03-13 03:12

https://qa.easykassa.ru/en/vopros/23520/trigger-16-ia-seriia-vse-serii-podriad-onlain-v-khoroshem-kachestve/

no.115900 e3538viab 91.183.53.241 2020-03-12 15:16

my canadian pharmacy canadian drugstore [url=https://canadianpharmacytpah.com/#]canadian drugstore online[/url] online pharmacies canadian pharmacy <a href="https://topedstoreusa.com/#&quot;&gt;canadian prescription drugs&lt;/a&gt; my canadian pharmacy online canadian pharmacy

no.115864 u5676viay 103.78.27.210 2020-03-10 22:46

cheap medications canadian pharmacies generic drugs online [url=https://canadianpharmacytpah.com/#]north west pharmacy canada[/url] canada pharmacies online online pharmacies canada <a href="https://topedstoreusa.com/#&quot;&gt;canadian discount pharmacies&lt;/a&gt; highest rated canadian pharmacies pharmacy

no.115852 hvlxhpb 81.211.68.14 2020-03-10 01:49

696759 400553 779593 https://digitalsoldiers.org/forums/users/lottieashford08/ 304487 222010 418709

no.115840 oyvlyxq 222.124.151.85 2020-03-09 10:36

110018 273970 614622 https://high5classifieds.com/user/profile/2102927 890710 677046 75322

no.115819 debxyuk 109.224.12.170 2020-03-08 05:09

346389 867275 693765 https://belizeanuncio.com/user/profile/1156731 498870 674274 491473

no.115798 tnrxwtx 197.254.62.14 2020-03-06 20:58

418090 724073 762182 https://prymeconsultoria.srv.br/%d0%b2%d0%b5%d1%82%d1%80%d0%b5%d0%bd%d1%8b%d0%b9-hercai-2-%d1%81%d0%b5%d0%b7%d0%be%d0%bd-33-%d1%81%d0%b5%d1%80%d0%b8%d1%8f-youtube/ 723277 696607 492920

no.115789 yzxdbst 190.217.68.211 2020-03-06 00:36

155017 678477 174695 https://www.inlineasportstudio.it/2020/03/04/%d1%82%d0%b8%d1%85%d0%be%d0%b5-%d0%bc%d0%b5%d1%81%d1%82%d0%be-2-%d1%8e%d1%82%d1%83%d0%b1-25/ 338155 347876 253053

no.115779 kgjvrbd 103.76.188.2 2020-03-05 09:25

395442 595777 401726 https://sahiplendirme.patile.me/user/profile/249500 520594 108277 606545

no.115767 ctkggig 177.73.248.18 2020-03-04 12:41

956377 602123 661579 https://prymeconsultoria.srv.br/%d1%85%d0%b8%d1%89%d0%bd%d1%8b%d0%b5-%d0%bf%d1%82%d0%b8%d1%86%d1%8b-rutube-9/ 113090 463558 609574

no.115757 xjpvdfz 41.76.246.254 2020-03-03 13:59

[url=https://www.tvonlayn.ru/] Проклятие Аннабель 3 фильм 2020 смотреть онлайн 720. [/url]

no.115755 kpsxbfz 203.142.66.26 2020-03-03 10:52

[url=https://wwin-tv.com/] Джуманджи 2 2020 смотреть онлайн русский. [/url]

发表评论:

邮箱: