📄 default.aspx.cs
字号:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SuperMap.IS.Utility;
using SuperMap.IS.Web;
using SuperMap.IS.WebControls;
using SuperMap.IS.ServiceInterface;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{//Request.ServerVariables
// Response.Redirect("MainWebForm.aspx?netguid=1F6CD982-BA38-4590-9EE8-E3B8934956C6&strGuidType=statInfo");
// Response.Redirect("MainWebForm.aspx?Guids=7B4C8F5B-6EDE-47B0-A0AA-FE135070FAEE%3BD617CB26-2DDC-4D9C-BAF2-C8102D3FCC5C");
// Response.Redirect("MainWebForm.aspx?StatLg=113.79888890&StatLa=33.82027780");
double x = 3.4343434;
double y = Math.Floor(x * 100) / 100;
}
protected void Button1_Click(object sender, EventArgs e)
{
//MapCoord[] tline = new MapCoord[2];
//tline[0] = this.MapControl1.CenterPoint;
//tline[1] = new MapCoord();
//tline[1].X = this.MapControl1.CenterPoint.X + 0.05;
//tline[1].Y = this.MapControl1.CenterPoint.Y + 0.05;
//this.MapControl1.CustomLayer.Lines.Add("line", tline, "0.001", "Red");
//this.MapControl1.CustomLayer.Visible = true;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -