Demo.WindowsMobile/Forms/MainForm.cs

(开头部分) 38KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Data.SQLite;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using GMap.NET;
using GMap.NET.GPS;
using GMap.NET.Internals;
using GMap.NET.WindowsForms;
using GMap.NET.WindowsForms.Markers;
using Microsoft.Win32;
using Microsoft.WindowsCE.Forms;
using GMap.NET.MapProviders;

namespace Demo.WindowsMobile
{
    public partial class MainForm : Form
    {
        PointLatLng start = new PointLatLng(54.6961334816182, 25.2985095977783);

        // marker
        GMarkerCross gpsPos;

        // layers
        GMapOverlay top;
        internal GMapOverlay objects;
        internal GMapOverlay routes;

        #region -- variables --
        string LogDb;
        SQLiteConnection cn;
        DbCommand cmd;
        DateTime LastFlush = DateTime.Now;
        TimeSpan FlushDelay = TimeSpan.FromSeconds(60);

        readonly Gps gps = new Gps();
        GpsDeviceState device = null;

        int count = 0;
        int countReal = 0;
        double Total = 0;

        EventHandler updateDataHandler;
        TimeSpan delay = TimeSpan.FromSeconds(1);
        DateTime? TimeUTC;
        double? Lat = 0;
        double? Lng = 0;
        double Delta = 0;
        internal readonly List<Satellite> Satellites = new List<Satellite>();

        IntPtr gpsPowerHandle = IntPtr.Zero;

        GPS pageGps;
后面还有 1040 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。