1 Star 1 Fork 2

kangyu1122 / 获取国家统计局五级行政区域

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cursor.cs 1.31 KB
Copy Edit Web IDE Raw Blame History
kangyu1122 authored 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;
}
}
}

Comment ( 0 )

Sign in for post a comment

C#
1
https://gitee.com/kangyu1122/GetCityApp.git
git@gitee.com:kangyu1122/GetCityApp.git
kangyu1122
GetCityApp
获取国家统计局五级行政区域
master

Search