1 Star 1 Fork 4

逸云科技 / 获取国家统计局五级行政区域

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Cursor.cs 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
kangyu1122 提交于 2020-09-29 14:51 . 第一次提交
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GetCityApp
{
internal class Cursor
{
const int origRow = 3;
const int origCol = 0;
public static void WriteAt(string s, int c, int r)
{
Console.SetCursorPosition(origCol + c, origRow + r);
Console.Write(s);
}
}
//乡镇信息结构 编码、名称、超链
struct TownInfo
{
string code;
public string Code { get { return code; } }
string name;
public string Name { get { return name; } }
string href;
public string Href { get { return href; } }
public TownInfo(string code, string name, string href)
{
this.code = code;
this.name = name;
this.href = href;
}
}
//村信息结构 编码、城乡划分类,名称
struct VillageInfo
{
string code;
public string Code { get { return code; } }
string cls;
public string Cls { get { return cls; } }
string name;
public string Name { get { return name; } }
public VillageInfo(string code, string cls, string name)
{
this.code = code;
this.cls = cls;
this.name = name;
}
}
}
C#
1
https://gitee.com/ewintec/GetCityApp.git
git@gitee.com:ewintec/GetCityApp.git
ewintec
GetCityApp
获取国家统计局五级行政区域
master

搜索帮助