• 大小: 0.32M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: GPS  手机  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Reflection;

namespace Inspection
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
            //读取GPS端口文件,配置端口组件
            try
            {
                StreamReader sr = new StreamReader(Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().Codebase) + “\\Port.dat“ System.Text.Encoding.Unicode false);
                string strLine = sr.ReadLine();//读取文件中的一行
                while (strLine != null)//判断是否为空表示到文件最后一行了
                {
                    string[] lin

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-06-18 17:04  手机GPS开发\
     文件       52434  2010-10-20 10:59  手机GPS开发\GPS数据格式说明.htm
     目录           0  2012-06-18 17:04  手机GPS开发\Inspection\
     目录           0  2012-06-18 17:04  手机GPS开发\Inspection\Inspection\
     目录           0  2012-06-18 17:04  手机GPS开发\Inspection\Inspection\Inspection\
     文件       19729  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\FireWire HD.png
     文件        2944  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Form1.Designer.cs
     文件       11218  2010-10-20 10:21  手机GPS开发\Inspection\Inspection\Inspection\Form1.cs
     文件        6709  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Form1.resx
     文件        6439  2010-10-21 19:42  手机GPS开发\Inspection\Inspection\Inspection\GPSdata.cs
     文件        1450  2010-10-20 10:37  手机GPS开发\Inspection\Inspection\Inspection\ImageButton.Designer.cs
     文件        3570  2010-10-20 10:40  手机GPS开发\Inspection\Inspection\Inspection\ImageButton.cs
     文件        5995  2010-10-20 10:37  手机GPS开发\Inspection\Inspection\Inspection\ImageButton.resx
     文件        6302  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Inspection.csproj
     文件         198  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Inspection.csproj.user
     文件        6407  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Mail.png
     文件         378  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Program.cs
     目录           0  2012-06-18 17:04  手机GPS开发\Inspection\Inspection\Inspection\Properties\
     文件        1429  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Properties\AssemblyInfo.cs
     文件        2357  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Properties\Resources.Designer.cs
     文件        5618  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Properties\Resources.resx
     文件        7363  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\Search.png
     文件        9477  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\SetPortForm.Designer.cs
     文件        6363  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\SetPortForm.cs
     文件        6314  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\SetPortForm.resx
     文件        8353  2010-10-21 19:47  手机GPS开发\Inspection\Inspection\Inspection\ShowGPSXinXi.Designer.cs
     文件        2825  2010-10-21 19:41  手机GPS开发\Inspection\Inspection\Inspection\ShowGPSXinXi.cs
     文件        6683  2010-10-21 19:38  手机GPS开发\Inspection\Inspection\Inspection\ShowGPSXinXi.resx
     文件        1822  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\SysSetForm.Designer.cs
     文件        4294  2010-10-20 10:24  手机GPS开发\Inspection\Inspection\Inspection\SysSetForm.cs
     文件        6314  2010-10-20 07:33  手机GPS开发\Inspection\Inspection\Inspection\SysSetForm.resx
............此处省略28个文件信息

评论

共有 条评论