• 大小: 0.82M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 订票  C#  12306  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Configuration;
using System.Data;
namespace Piao
{
    static class Configurations
    {
        static Configurations()
        {
            var section = (AppSettingsSection)config.GetSection(“appSettings“);
            appSettings = section;
        }

        static Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
        static AppSettingsSection appSettings;

        public static void Save()
        {
            try
            {
                config.Save(ConfigurationSaveMode.Modified true);
                ConfigurationManager.RefreshSection(“appSettings“);
            }
            catch (System.Configura

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-07-15 21:33  Piao\
     文件        1206  2014-07-15 21:33  Piao.sln
     文件         256  2014-07-15 21:33  Piao.vssscc
     文件        1915  2014-07-15 21:33  Piao\App.config
     文件        2270  2014-07-15 21:33  Piao\app.manifest
     目录           0  2014-07-15 21:33  Piao\bin\
     目录           0  2014-07-15 21:33  Piao\bin\Debug\
     文件     1455104  2014-07-15 21:33  Piao\bin\Debug\tessnet2_32.dll
     文件      390224  2014-07-15 21:33  Piao\ChnCharInfo.dll
     文件        2344  2014-07-15 21:33  Piao\Configurations.cs
     文件        5511  2014-07-15 21:33  Piao\ExtendedWebBrowser.cs
     文件        1801  2014-07-15 21:33  Piao\Global.cs
     文件        1866  2014-07-15 21:33  Piao\ImageUtil.cs
     文件        4812  2014-07-15 21:33  Piao\Log.cs
     文件       30648  2014-07-15 21:33  Piao\MainForm.cs
     文件       38606  2014-07-15 21:33  Piao\MainForm.Designer.cs
     文件        6795  2014-07-15 21:33  Piao\MainForm.resx
     文件        4641  2014-07-15 21:33  Piao\Models.cs
     文件        5802  2014-07-15 21:33  Piao\Piao.csproj
     文件         257  2014-07-15 21:33  Piao\Piao.csproj.vspscc
     文件        2117  2014-07-15 21:33  Piao\PinYin.cs
     文件        2700  2014-07-15 21:33  Piao\Program.cs
     目录           0  2014-07-15 21:33  Piao\Properties\
     文件        1420  2014-07-15 21:33  Piao\Properties\AssemblyInfo.cs
     目录           0  2014-07-15 21:33  Piao\Properties\DataSources\
     文件         587  2014-07-15 21:33  Piao\Properties\DataSources\Configurations.datasource
     文件         569  2014-07-15 21:33  Piao\Properties\DataSources\Train.datasource
     文件        4655  2014-07-15 21:33  Piao\Properties\Settings.Designer.cs
     文件        1528  2014-07-15 21:33  Piao\Properties\Settings.settings
     文件       24244  2014-07-15 21:33  Piao\UserOpration.cs
     文件        2005  2014-07-15 21:33  Piao\WebForm.cs
............此处省略7个文件信息

评论

共有 条评论