91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 7.83M
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2024-04-23
  • 語言: C#
  • 標(biāo)簽: 解析??

資源簡介

代碼基于DevComponents,缺少相關(guān)引用,不過可參考相關(guān)類代碼實(shí)現(xiàn)

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?AJDecode;
using?ESRI.ArcGIS.Carto;
using?System.Configuration;
using?Readearth.Data;
using?DevComponents.DotNetBar;
using?System.IO;
namespace?TCYearbook
{
????public?partial?class?frmAJ?:?DevComponents.DotNetBar.Office2007Form
????{
????????private?AJDecodeClass?ajdc;
????????private?List?listFiles?=?new?List();
????????private?List?listTableCH?=?new?List();
????????private?Database?m_db;
????????private?string?ErrorFiles?=?ConfigurationManager.AppSettings[“ErrorFiles“];
????????public?frmAJ(IFeaturelayer?_feaLyr)
????????{
????????????InitializeComponent();
????????????
????????????ajdc?=?new?AJDecodeClass(_feaLyr);
????????????m_db?=?new?Database();

????????}
????????///?
????????///?瀏覽本地文件
????????///?

????????///?
????????///?
????????private?void?bunOpenFiles_Click(object?sender?EventArgs?e)
????????{
????????????listFiles.Clear();
????????????//實(shí)例化文件選擇對話框
????????????OpenFileDialog?OFD?=?new?OpenFileDialog();
????????????//設(shè)置選擇文件對話框?qū)傩?br/>
????????????//多選
????????????OFD.Multiselect?=?true;
????????????//默認(rèn)AJ存放目錄
????????????//string?AJPath?=?System.Configuration.ConfigurationSettings.AppSettings[“AJPath“];
????????????//string?AJPath?=?SysParams.GetDBServerSettings(“SysConfig/AJFile/AJFilePath“);
????????????//OFD.InitialDirectory?=?@““?+?AJPath;
????????????OFD.RestoreDirectory?=?false;
????????????//支持多擴(kuò)展名
????????????OFD.SupportMultiDottedExtensions?=?true;
????????????//擴(kuò)展名過濾器為txt
????????????OFD.Filter?=?“選擇A/J報(bào)文文件(*.txt)|*.txt“;
????????????//對話框標(biāo)題
????????????OFD.title?=?“選擇A/J報(bào)文“;


????????????if?(OFD.ShowDialog()?==?DialogResult.OK)
????????????{
????????????????progressBarAJ.Visible?=?false;
????????????????txtMessage.Text?+=?“選擇的A、J文件為:\n“;
????????????????foreach?(string?s?in?OFD.FileNames)????????????????
????????????????????listFiles.Add(s);
????????????????txtMessage.Text?+=?string.Format(“共選擇{0}個(gè)文件!\n“?listFiles.Count);
????????????????labTip.Text?=?string.Format(“共選擇{0}個(gè)文件!“?listFiles.Count);
????????????}
????????}
????????///?
????????///?文件導(dǎo)入
????????///?

????????///?
????????///?
????????private?void?btnImport_Click(object?sender?EventArgs?e)
????????{
????????????//文件列表為空
????????????if?(listFiles.Count?==?0)
????????????{
????????????????MessageBoxEx.Show(“請選擇文件!“?“提示信息“?MessageBoxButtons.OK?MessageBoxIcon.Warning);
????????????}
????????????//文件列表非空
????????????else
????????????{
????????????????//清除舊數(shù)據(jù)

????????????????string?strSQL?=?““;
????????????????txtMessage.Text?+=?string.Format(“清空原數(shù)據(jù)!\n“);

????????????????foreach?(string?s?in?listFiles)
????????????????{
???????????????

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-13?11:47??AJ報(bào)文解析\
?????目錄???????????0??2018-09-13?11:57??AJ報(bào)文解析\AJDecode\
?????目錄???????????0??2018-09-13?11:57??AJ報(bào)文解析\AJDecode\.vs\
?????目錄???????????0??2018-09-13?11:57??AJ報(bào)文解析\AJDecode\.vs\AJDecode\
?????目錄???????????0??2018-09-13?14:09??AJ報(bào)文解析\AJDecode\.vs\AJDecode\v14\
?????文件????????5632??2018-09-13?14:09??AJ報(bào)文解析\AJDecode\.vs\AJDecode\v14\.suo
?????文件????????8121??2018-09-13?11:56??AJ報(bào)文解析\AJDecode\AJDecode.csproj
?????文件?????????452??2015-07-30?09:40??AJ報(bào)文解析\AJDecode\AJDecode.csproj.user
?????文件???????33049??2014-07-15?09:58??AJ報(bào)文解析\AJDecode\AJDecodeClass?(2).cs
?????文件???????61805??2017-12-04?14:49??AJ報(bào)文解析\AJDecode\AJDecodeClass.cs
?????文件???????23467??2013-11-17?19:41??AJ報(bào)文解析\AJDecode\Access2SQLClass.cs
?????文件????????1531??2015-06-12?16:54??AJ報(bào)文解析\AJDecode\App.config
?????文件????????1770??2013-03-28?08:49??AJ報(bào)文解析\AJDecode\FileMonitor.cs
?????文件????????2129??2013-10-25?10:54??AJ報(bào)文解析\AJDecode\MODMonitor.cs
?????文件?????????441??2015-08-05?17:37??AJ報(bào)文解析\AJDecode\Migrated?rules?for?AJDecode.ruleset
?????文件?????????438??2013-09-09?16:19??AJ報(bào)文解析\AJDecode\Program.cs
?????目錄???????????0??2018-09-13?11:47??AJ報(bào)文解析\AJDecode\Properties\
?????文件????????1188??2013-03-08?23:52??AJ報(bào)文解析\AJDecode\Properties\AssemblyInfo.cs
?????文件????????2856??2015-07-30?09:40??AJ報(bào)文解析\AJDecode\Properties\Resources.Designer.cs
?????文件????????5612??2013-03-08?23:52??AJ報(bào)文解析\AJDecode\Properties\Resources.resx
?????文件????????1108??2015-07-30?09:40??AJ報(bào)文解析\AJDecode\Properties\Settings.Designer.cs
?????文件?????????249??2013-03-08?23:52??AJ報(bào)文解析\AJDecode\Properties\Settings.settings
?????文件????????3287??2013-11-15?12:19??AJ報(bào)文解析\AJDecode\Utility.cs
?????目錄???????????0??2018-09-13?11:47??AJ報(bào)文解析\AJDecode\bin\
?????目錄???????????0??2018-09-13?11:57??AJ報(bào)文解析\AJDecode\bin\Debug\
?????文件????????4995??2018-08-29?14:29??AJ報(bào)文解析\AJDecode\bin\Debug\AJDecode.xml
?????文件???????37376??2018-08-29?14:29??AJ報(bào)文解析\AJDecode\bin\Debug\AJDecode.dll
?????文件????????1531??2015-06-12?16:54??AJ報(bào)文解析\AJDecode\bin\Debug\AJDecode.dll.config
?????文件???????45056??2013-11-26?18:38??AJ報(bào)文解析\AJDecode\bin\Debug\AJDecode.exe
?????文件????????1286??2013-06-17?13:18??AJ報(bào)文解析\AJDecode\bin\Debug\AJDecode.exe.config
?????文件???????65024??2018-08-29?14:29??AJ報(bào)文解析\AJDecode\bin\Debug\AJDecode.pdb
............此處省略130個(gè)文件信息

評論

共有 條評論