diff --git a/Bimangle.ForgeEngine.3DXML/Bimangle.ForgeEngine.3DXML.csproj b/Bimangle.ForgeEngine.3DXML/Bimangle.ForgeEngine.3DXML.csproj
index a99fb65..a9e75c4 100644
--- a/Bimangle.ForgeEngine.3DXML/Bimangle.ForgeEngine.3DXML.csproj
+++ b/Bimangle.ForgeEngine.3DXML/Bimangle.ForgeEngine.3DXML.csproj
@@ -53,17 +53,17 @@
Properties\app.manifest
-
- ..\packages\Bimangle.ForgeEngine.3DXML.1.2.6\lib\net452\Bimangle.ForgeEngine.3DXML.dll
+
+ ..\packages\Bimangle.ForgeEngine.3DXML.1.3.1\lib\net452\Bimangle.ForgeEngine.3DXML.dll
-
- ..\packages\Bimangle.ForgeEngine.Common.1.8.6\lib\net45\Bimangle.ForgeEngine.Common.dll
+
+ ..\packages\Bimangle.ForgeEngine.Common.1.8.8\lib\net45\Bimangle.ForgeEngine.Common.dll
-
- ..\packages\Bimangle.ForgeEngine.3DXML.1.2.6\lib\net452\Bimangle.Libs.dll
+
+ ..\packages\Bimangle.ForgeEngine.3DXML.1.3.1\lib\net452\Bimangle.Libs.dll
-
- ..\packages\Bimangle.ForgeEngine.3DXML.1.2.6\lib\net452\Bimangle.Libs.Proj.dll
+
+ ..\packages\Bimangle.ForgeEngine.3DXML.1.3.1\lib\net452\Bimangle.Libs.Proj.dll
..\packages\CommandLineParser.2.9.1\lib\net45\CommandLine.dll
diff --git a/Bimangle.ForgeEngine.3DXML/Core/GeoreferncingAdapter.cs b/Bimangle.ForgeEngine.3DXML/Core/GeoreferncingAdapter.cs
index 378e685..8d2de57 100644
--- a/Bimangle.ForgeEngine.3DXML/Core/GeoreferncingAdapter.cs
+++ b/Bimangle.ForgeEngine.3DXML/Core/GeoreferncingAdapter.cs
@@ -81,11 +81,6 @@ public override bool IsLocal()
return true;
}
- public override void SetDirectionLetters(Label lblLocalX, Label lblLocalY)
- {
- //do nothing
- }
-
public override bool IsTrueNorth(OriginType originType)
{
return true;
diff --git a/Bimangle.ForgeEngine.3DXML/Core/ProjValidator.cs b/Bimangle.ForgeEngine.3DXML/Core/ProjValidator.cs
index 52a991b..cd2b145 100644
--- a/Bimangle.ForgeEngine.3DXML/Core/ProjValidator.cs
+++ b/Bimangle.ForgeEngine.3DXML/Core/ProjValidator.cs
@@ -74,7 +74,8 @@ public bool Check(string definition, out string wkt)
using (proj)
{
var type = proj.GetProjType();
- if (type == ProjType.PROJECTED_CRS)
+ if (type == ProjType.PROJECTED_CRS ||
+ type == ProjType.COMPOUND_CRS)
{
wkt = Context.AsWKT(proj);
return true;
diff --git a/Bimangle.ForgeEngine.3DXML/packages.config b/Bimangle.ForgeEngine.3DXML/packages.config
index 18b1e63..6d256a9 100644
--- a/Bimangle.ForgeEngine.3DXML/packages.config
+++ b/Bimangle.ForgeEngine.3DXML/packages.config
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/Bimangle.ForgeEngine.Dgn/Bimangle.ForgeEngine.Dgn.csproj b/Bimangle.ForgeEngine.Dgn/Bimangle.ForgeEngine.Dgn.csproj
index 42bc858..49289fb 100644
--- a/Bimangle.ForgeEngine.Dgn/Bimangle.ForgeEngine.Dgn.csproj
+++ b/Bimangle.ForgeEngine.Dgn/Bimangle.ForgeEngine.Dgn.csproj
@@ -73,20 +73,20 @@
C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\Assemblies\ECFramework\Bentley.UI.dll
False
-
- ..\packages\Bimangle.ForgeEngine.Common.1.8.6\lib\net45\Bimangle.ForgeEngine.Common.dll
+
+ ..\packages\Bimangle.ForgeEngine.Common.1.8.8\lib\net45\Bimangle.ForgeEngine.Common.dll
-
- ..\packages\Bimangle.ForgeEngine.Dgn.2.0.9\lib\net462\Bimangle.ForgeEngine.Dgn.dll
+
+ ..\packages\Bimangle.ForgeEngine.Dgn.2.1.4\lib\net462\Bimangle.ForgeEngine.Dgn.dll
- ..\packages\Bimangle.ForgeEngine.Dgn.2.0.9\lib\net462\Bimangle.ForgeEngine.Dgn.Support.dll
+ ..\packages\Bimangle.ForgeEngine.Dgn.2.1.4\lib\net462\Bimangle.ForgeEngine.Dgn.Support.dll
-
- ..\packages\Bimangle.ForgeEngine.Dgn.2.0.9\lib\net462\Bimangle.Libs.dll
+
+ ..\packages\Bimangle.ForgeEngine.Dgn.2.1.4\lib\net462\Bimangle.Libs.dll
-
- ..\packages\Bimangle.ForgeEngine.Dgn.2.0.9\lib\net462\Bimangle.Libs.Proj.dll
+
+ ..\packages\Bimangle.ForgeEngine.Dgn.2.1.4\lib\net462\Bimangle.Libs.Proj.dll
..\packages\DotNetZip.1.13.2\lib\net40\DotNetZip.dll
diff --git a/Bimangle.ForgeEngine.Dgn/Core/GeoreferncingAdapter.cs b/Bimangle.ForgeEngine.Dgn/Core/GeoreferncingAdapter.cs
index 940947b..2987cd9 100644
--- a/Bimangle.ForgeEngine.Dgn/Core/GeoreferncingAdapter.cs
+++ b/Bimangle.ForgeEngine.Dgn/Core/GeoreferncingAdapter.cs
@@ -3,6 +3,7 @@
using System.Diagnostics;
using System.IO;
using System.Linq;
+using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -83,11 +84,6 @@ public override bool IsLocal()
return true;
}
- public override void SetDirectionLetters(Label lblLocalX, Label lblLocalY)
- {
- //do nothing
- }
-
public override bool IsTrueNorth(OriginType originType)
{
return true;
@@ -144,9 +140,10 @@ private bool GetEPSG(DgnGCS gcs, out string epsgCode)
{
try
{
+ //至少 Update 10 的时候,还没有这个 EPSGCode 属性
if (gcs.GetType().GetProperty(@"EPSGCode") != null)
{
- var code = gcs.EPSGCode;
+ var code = SafeEPSGCode(gcs);
if (code > 0)
{
epsgCode = $@"EPSG:{code}";
@@ -163,8 +160,8 @@ private bool GetEPSG(DgnGCS gcs, out string epsgCode)
{
if (gcs.GetType().GetMethod(@"GetEPSGCode") != null)
{
- //疑似 Update14 新增加的方法
- var code = gcs.GetEPSGCode(false);
+ //至少 Update 10 的时候,这个 GetEPSGCode 方法已存在
+ var code = SafeGetEPSGCode(gcs, false);
if (code > 0)
{
epsgCode = $@"EPSG:{code}";
@@ -181,6 +178,18 @@ private bool GetEPSG(DgnGCS gcs, out string epsgCode)
return false;
}
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private int SafeEPSGCode(DgnGCS gcs)
+ {
+ return gcs.EPSGCode;
+ }
+
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private int SafeGetEPSGCode(DgnGCS gcs, bool dontSearch)
+ {
+ return gcs.GetEPSGCode(dontSearch);
+ }
+
///
/// 为了兼容 Update 17 的接口变更, 用反射方法来调用 GetWellKnownText
///
diff --git a/Bimangle.ForgeEngine.Dgn/Core/ProjValidator.cs b/Bimangle.ForgeEngine.Dgn/Core/ProjValidator.cs
index 308d4c1..9951f6e 100644
--- a/Bimangle.ForgeEngine.Dgn/Core/ProjValidator.cs
+++ b/Bimangle.ForgeEngine.Dgn/Core/ProjValidator.cs
@@ -74,7 +74,8 @@ public bool Check(string definition, out string wkt)
using (proj)
{
var type = proj.GetProjType();
- if (type == ProjType.PROJECTED_CRS)
+ if (type == ProjType.PROJECTED_CRS ||
+ type == ProjType.COMPOUND_CRS)
{
wkt = Context.AsWKT(proj);
return true;
diff --git a/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetCreateProj.cs b/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetCreateProj.cs
index c42644a..3a22944 100644
--- a/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetCreateProj.cs
+++ b/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetCreateProj.cs
@@ -2,7 +2,6 @@
using System.Diagnostics;
using System.Windows.Forms;
using Bentley.MstnPlatformNET;
-
using Bimangle.ForgeEngine.Dgn.Config;
using Bimangle.ForgeEngine.Dgn.Core;
using Bimangle.ForgeEngine.Dgn.Utility;
diff --git a/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetPickPosition.cs b/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetPickPosition.cs
index 73c0146..fcd18f6 100644
--- a/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetPickPosition.cs
+++ b/Bimangle.ForgeEngine.Dgn/Toolset/CommandToolsetPickPosition.cs
@@ -8,11 +8,11 @@
namespace Bimangle.ForgeEngine.Dgn.Toolset
{
- class CommandToolsetPickPosition : IExternalCommand
+ public class CommandToolsetPickPosition : IExternalCommand
{
private readonly AddIn _Addin;
- public CommandToolsetPickPosition(AddIn addin)
+ internal CommandToolsetPickPosition(AddIn addin)
{
_Addin = addin ?? throw new ArgumentNullException(nameof(addin));
}
diff --git a/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.resx b/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.resx
index 7ba52c4..e9fd099 100644
--- a/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.resx
+++ b/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.resx
@@ -124,22 +124,18 @@
System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- btnOK
+
+ MiddleRight
Top, Left, Right
-
- Top, Left, Right
-
$this
-
-
- 3
+
+ 214, 39
System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
@@ -147,8 +143,8 @@
123, 21
-
- 9
+
+ $this
123, 21
@@ -156,20 +152,11 @@
1, 92
-
- 7
-
-
- $this
-
-
- 85, 13
-
-
- 344, 191
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 3
+
+ btnOK
$this
@@ -177,8 +164,8 @@
FormPickPosition
-
- Top, Left, Right
+
+ $this
MiddleRight
@@ -192,20 +179,21 @@
txtX
+
9
Unit:
-
- MiddleRight
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
10
-
- Disable
+
+ cbUnit
lblOrigin
@@ -213,8 +201,8 @@
$this
-
- NoControl
+
+ 3
Disable
@@ -228,24 +216,21 @@
0
-
- Bottom, Left, Right
-
lblY
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 3, 12
+
1, 39
CenterParent
-
- 76, 21
-
11
@@ -255,20 +240,17 @@
123, 20
-
- cbUnit
-
2
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 9
85, 119
-
- $this
+
+ NoControl
lblZ
@@ -303,7 +285,7 @@
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
$this
@@ -312,8 +294,11 @@
0
-
- NoControl
+
+ 123, 21
+
+
+ Model CS:
System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
@@ -327,11 +312,8 @@
85, 147
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- &Pick
+
+ 230, 32
4
@@ -342,8 +324,8 @@
$this
-
- txtY
+
+ Top, Left, Right
8
@@ -351,9 +333,6 @@
$this
-
- $this
-
1, 119
@@ -363,27 +342,30 @@
6
-
- 1, 65
+
+ 85, 13
-
- Top, Left, Right
+
+ Top, Right
+
+
+ NoControl
7
-
- btnPick
-
MiddleRight
-
- $this
+
+ 76, 21
txtZ
+
+ Pick a position
+
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAA
@@ -463,8 +445,8 @@
H(Z):
-
- NoControl
+
+ Top, Left, Right
N(Y):
@@ -478,50 +460,59 @@
78, 21
-
- NoControl
+
+ btnPick
78, 21
-
- 214, 39
-
Copy to clipboard
85, 92
+
+ NoControl
+
5
+
+ 1, 65
+
lblX
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
NoControl
Disable
-
- 123, 21
+
+ txtY
-
- 230, 32
+
+ Disable
-
- 6
+
+ Bottom, Left, Right
-
- 3, 12
+
+ $this
-
- Pick a position
+
+ 3
+
+
+ &Pick
+
+
+ 6
1
@@ -535,11 +526,11 @@
78, 21
-
- Top, Right
+
+ 344, 191
-
- Origin:
+
+ 7
System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
@@ -562,6 +553,15 @@
lblUnit
+
+ NoControl
+
+
+ Top, Left, Right
+
+
+ $this
+
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
diff --git a/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.zh-Hans.resx b/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.zh-Hans.resx
index ba7cdd9..663f132 100644
--- a/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.zh-Hans.resx
+++ b/Bimangle.ForgeEngine.Dgn/Toolset/PickPosition/FormPickPosition.zh-Hans.resx
@@ -118,7 +118,7 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- 参考原点:
+ 模型坐标系:
北 N(Y):
diff --git a/Bimangle.ForgeEngine.Dgn/packages.config b/Bimangle.ForgeEngine.Dgn/packages.config
index 5a1edc2..e73caac 100644
--- a/Bimangle.ForgeEngine.Dgn/packages.config
+++ b/Bimangle.ForgeEngine.Dgn/packages.config
@@ -1,7 +1,7 @@
-
-
+
+
\ No newline at end of file
diff --git a/Bimangle.ForgeEngine.Georeferncing/Bimangle.ForgeEngine.Georeferncing.csproj b/Bimangle.ForgeEngine.Georeferncing/Bimangle.ForgeEngine.Georeferncing.csproj
index 5ade546..9604c0f 100644
--- a/Bimangle.ForgeEngine.Georeferncing/Bimangle.ForgeEngine.Georeferncing.csproj
+++ b/Bimangle.ForgeEngine.Georeferncing/Bimangle.ForgeEngine.Georeferncing.csproj
@@ -32,8 +32,8 @@
4
-
- ..\packages\Bimangle.ForgeEngine.Common.1.8.6\lib\net45\Bimangle.ForgeEngine.Common.dll
+
+ ..\packages\Bimangle.ForgeEngine.Common.1.8.8\lib\net45\Bimangle.ForgeEngine.Common.dll
..\packages\Newtonsoft.Json.5.0.8\lib\net45\Newtonsoft.Json.dll
@@ -79,7 +79,10 @@
+
+
+
diff --git a/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.Designer.cs b/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.Designer.cs
index ad30eee..6612145 100644
--- a/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.Designer.cs
+++ b/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.Designer.cs
@@ -36,6 +36,13 @@ private void InitializeComponent()
this.cbAutoOriginLocation = new System.Windows.Forms.ComboBox();
this.lblAutoOriginLocation = new System.Windows.Forms.Label();
this.tabPageEnu = new System.Windows.Forms.TabPage();
+ this.txtEnuModelOriginH = new System.Windows.Forms.TextBox();
+ this.lblEnuModelOriginH = new System.Windows.Forms.Label();
+ this.txtEnuModelOriginE = new System.Windows.Forms.TextBox();
+ this.lblEnuModelOriginE = new System.Windows.Forms.Label();
+ this.lblEnuModelOriginN = new System.Windows.Forms.Label();
+ this.txtEnuModelOriginN = new System.Windows.Forms.TextBox();
+ this.lblEnuModelOriginCoordinate = new System.Windows.Forms.Label();
this.cbEnuAutoAlignToGround = new System.Windows.Forms.CheckBox();
this.lblEnuAdvanced = new System.Windows.Forms.Label();
this.cbEnuAlignOriginToSitePlaneCenter = new System.Windows.Forms.CheckBox();
@@ -52,6 +59,13 @@ private void InitializeComponent()
this.cbEnuOriginLocation = new System.Windows.Forms.ComboBox();
this.lblEnuOriginLocation = new System.Windows.Forms.Label();
this.tabPageLocal = new System.Windows.Forms.TabPage();
+ this.txtLocalModelOriginH = new System.Windows.Forms.TextBox();
+ this.lblLocalModelOriginH = new System.Windows.Forms.Label();
+ this.txtLocalModelOriginE = new System.Windows.Forms.TextBox();
+ this.lblLocalModelOriginE = new System.Windows.Forms.Label();
+ this.lblLocalModelOriginN = new System.Windows.Forms.Label();
+ this.txtLocalModelOriginN = new System.Windows.Forms.TextBox();
+ this.lblLocalModelOriginCoordinate = new System.Windows.Forms.Label();
this.cbLocalAlignOriginToSitePlaneCenter = new System.Windows.Forms.CheckBox();
this.cbLocalUseProjectLocation = new System.Windows.Forms.CheckBox();
this.txtLocalRotation = new System.Windows.Forms.TextBox();
@@ -99,64 +113,50 @@ private void InitializeComponent()
this.tabMain.Controls.Add(this.tabPageEnu);
this.tabMain.Controls.Add(this.tabPageLocal);
this.tabMain.Controls.Add(this.tabPageProj);
- this.errorProvider1.SetError(this.tabMain, resources.GetString("tabMain.Error"));
- this.errorProvider1.SetIconAlignment(this.tabMain, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("tabMain.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.tabMain, ((int)(resources.GetObject("tabMain.IconPadding"))));
this.tabMain.Name = "tabMain";
this.tabMain.SelectedIndex = 0;
- this.toolTip1.SetToolTip(this.tabMain, resources.GetString("tabMain.ToolTip"));
this.tabMain.SelectedIndexChanged += new System.EventHandler(this.tabMain_SelectedIndexChanged);
//
// tabPageAuto
//
- resources.ApplyResources(this.tabPageAuto, "tabPageAuto");
this.tabPageAuto.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tabPageAuto.Controls.Add(this.txtAutoSummary);
this.tabPageAuto.Controls.Add(this.cbAutoOriginLocation);
this.tabPageAuto.Controls.Add(this.lblAutoOriginLocation);
- this.errorProvider1.SetError(this.tabPageAuto, resources.GetString("tabPageAuto.Error"));
- this.errorProvider1.SetIconAlignment(this.tabPageAuto, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("tabPageAuto.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.tabPageAuto, ((int)(resources.GetObject("tabPageAuto.IconPadding"))));
+ resources.ApplyResources(this.tabPageAuto, "tabPageAuto");
this.tabPageAuto.Name = "tabPageAuto";
- this.toolTip1.SetToolTip(this.tabPageAuto, resources.GetString("tabPageAuto.ToolTip"));
this.tabPageAuto.UseVisualStyleBackColor = true;
//
// txtAutoSummary
//
resources.ApplyResources(this.txtAutoSummary, "txtAutoSummary");
- this.errorProvider1.SetError(this.txtAutoSummary, resources.GetString("txtAutoSummary.Error"));
- this.errorProvider1.SetIconAlignment(this.txtAutoSummary, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtAutoSummary.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtAutoSummary, ((int)(resources.GetObject("txtAutoSummary.IconPadding"))));
this.txtAutoSummary.Name = "txtAutoSummary";
this.txtAutoSummary.ReadOnly = true;
- this.toolTip1.SetToolTip(this.txtAutoSummary, resources.GetString("txtAutoSummary.ToolTip"));
//
// cbAutoOriginLocation
//
resources.ApplyResources(this.cbAutoOriginLocation, "cbAutoOriginLocation");
this.cbAutoOriginLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbAutoOriginLocation.DropDownWidth = 400;
- this.errorProvider1.SetError(this.cbAutoOriginLocation, resources.GetString("cbAutoOriginLocation.Error"));
this.cbAutoOriginLocation.FormattingEnabled = true;
- this.errorProvider1.SetIconAlignment(this.cbAutoOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbAutoOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbAutoOriginLocation, ((int)(resources.GetObject("cbAutoOriginLocation.IconPadding"))));
this.cbAutoOriginLocation.Name = "cbAutoOriginLocation";
- this.toolTip1.SetToolTip(this.cbAutoOriginLocation, resources.GetString("cbAutoOriginLocation.ToolTip"));
this.cbAutoOriginLocation.SelectedIndexChanged += new System.EventHandler(this.cbAutoOriginLocation_SelectedIndexChanged);
//
// lblAutoOriginLocation
//
resources.ApplyResources(this.lblAutoOriginLocation, "lblAutoOriginLocation");
- this.errorProvider1.SetError(this.lblAutoOriginLocation, resources.GetString("lblAutoOriginLocation.Error"));
- this.errorProvider1.SetIconAlignment(this.lblAutoOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblAutoOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblAutoOriginLocation, ((int)(resources.GetObject("lblAutoOriginLocation.IconPadding"))));
this.lblAutoOriginLocation.Name = "lblAutoOriginLocation";
- this.toolTip1.SetToolTip(this.lblAutoOriginLocation, resources.GetString("lblAutoOriginLocation.ToolTip"));
//
// tabPageEnu
//
- resources.ApplyResources(this.tabPageEnu, "tabPageEnu");
this.tabPageEnu.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.tabPageEnu.Controls.Add(this.txtEnuModelOriginH);
+ this.tabPageEnu.Controls.Add(this.lblEnuModelOriginH);
+ this.tabPageEnu.Controls.Add(this.txtEnuModelOriginE);
+ this.tabPageEnu.Controls.Add(this.lblEnuModelOriginE);
+ this.tabPageEnu.Controls.Add(this.lblEnuModelOriginN);
+ this.tabPageEnu.Controls.Add(this.txtEnuModelOriginN);
+ this.tabPageEnu.Controls.Add(this.lblEnuModelOriginCoordinate);
this.tabPageEnu.Controls.Add(this.cbEnuAutoAlignToGround);
this.tabPageEnu.Controls.Add(this.lblEnuAdvanced);
this.tabPageEnu.Controls.Add(this.cbEnuAlignOriginToSitePlaneCenter);
@@ -172,163 +172,145 @@ private void InitializeComponent()
this.tabPageEnu.Controls.Add(this.lblEnuOriginCoordinate);
this.tabPageEnu.Controls.Add(this.cbEnuOriginLocation);
this.tabPageEnu.Controls.Add(this.lblEnuOriginLocation);
- this.errorProvider1.SetError(this.tabPageEnu, resources.GetString("tabPageEnu.Error"));
- this.errorProvider1.SetIconAlignment(this.tabPageEnu, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("tabPageEnu.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.tabPageEnu, ((int)(resources.GetObject("tabPageEnu.IconPadding"))));
+ resources.ApplyResources(this.tabPageEnu, "tabPageEnu");
this.tabPageEnu.Name = "tabPageEnu";
- this.toolTip1.SetToolTip(this.tabPageEnu, resources.GetString("tabPageEnu.ToolTip"));
this.tabPageEnu.UseVisualStyleBackColor = true;
//
+ // txtEnuModelOriginH
+ //
+ resources.ApplyResources(this.txtEnuModelOriginH, "txtEnuModelOriginH");
+ this.txtEnuModelOriginH.Name = "txtEnuModelOriginH";
+ this.toolTip1.SetToolTip(this.txtEnuModelOriginH, resources.GetString("txtEnuModelOriginH.ToolTip"));
+ //
+ // lblEnuModelOriginH
+ //
+ resources.ApplyResources(this.lblEnuModelOriginH, "lblEnuModelOriginH");
+ this.lblEnuModelOriginH.Name = "lblEnuModelOriginH";
+ //
+ // txtEnuModelOriginE
+ //
+ resources.ApplyResources(this.txtEnuModelOriginE, "txtEnuModelOriginE");
+ this.txtEnuModelOriginE.Name = "txtEnuModelOriginE";
+ this.toolTip1.SetToolTip(this.txtEnuModelOriginE, resources.GetString("txtEnuModelOriginE.ToolTip"));
+ //
+ // lblEnuModelOriginE
+ //
+ resources.ApplyResources(this.lblEnuModelOriginE, "lblEnuModelOriginE");
+ this.lblEnuModelOriginE.Name = "lblEnuModelOriginE";
+ //
+ // lblEnuModelOriginN
+ //
+ resources.ApplyResources(this.lblEnuModelOriginN, "lblEnuModelOriginN");
+ this.lblEnuModelOriginN.Name = "lblEnuModelOriginN";
+ //
+ // txtEnuModelOriginN
+ //
+ resources.ApplyResources(this.txtEnuModelOriginN, "txtEnuModelOriginN");
+ this.txtEnuModelOriginN.Name = "txtEnuModelOriginN";
+ this.toolTip1.SetToolTip(this.txtEnuModelOriginN, resources.GetString("txtEnuModelOriginN.ToolTip"));
+ //
+ // lblEnuModelOriginCoordinate
+ //
+ resources.ApplyResources(this.lblEnuModelOriginCoordinate, "lblEnuModelOriginCoordinate");
+ this.lblEnuModelOriginCoordinate.Name = "lblEnuModelOriginCoordinate";
+ //
// cbEnuAutoAlignToGround
//
resources.ApplyResources(this.cbEnuAutoAlignToGround, "cbEnuAutoAlignToGround");
- this.errorProvider1.SetError(this.cbEnuAutoAlignToGround, resources.GetString("cbEnuAutoAlignToGround.Error"));
- this.errorProvider1.SetIconAlignment(this.cbEnuAutoAlignToGround, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbEnuAutoAlignToGround.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbEnuAutoAlignToGround, ((int)(resources.GetObject("cbEnuAutoAlignToGround.IconPadding"))));
this.cbEnuAutoAlignToGround.Name = "cbEnuAutoAlignToGround";
- this.toolTip1.SetToolTip(this.cbEnuAutoAlignToGround, resources.GetString("cbEnuAutoAlignToGround.ToolTip"));
this.cbEnuAutoAlignToGround.UseVisualStyleBackColor = true;
//
// lblEnuAdvanced
//
resources.ApplyResources(this.lblEnuAdvanced, "lblEnuAdvanced");
- this.errorProvider1.SetError(this.lblEnuAdvanced, resources.GetString("lblEnuAdvanced.Error"));
- this.errorProvider1.SetIconAlignment(this.lblEnuAdvanced, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblEnuAdvanced.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblEnuAdvanced, ((int)(resources.GetObject("lblEnuAdvanced.IconPadding"))));
this.lblEnuAdvanced.Name = "lblEnuAdvanced";
- this.toolTip1.SetToolTip(this.lblEnuAdvanced, resources.GetString("lblEnuAdvanced.ToolTip"));
//
// cbEnuAlignOriginToSitePlaneCenter
//
resources.ApplyResources(this.cbEnuAlignOriginToSitePlaneCenter, "cbEnuAlignOriginToSitePlaneCenter");
- this.errorProvider1.SetError(this.cbEnuAlignOriginToSitePlaneCenter, resources.GetString("cbEnuAlignOriginToSitePlaneCenter.Error"));
- this.errorProvider1.SetIconAlignment(this.cbEnuAlignOriginToSitePlaneCenter, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbEnuAlignOriginToSitePlaneCenter.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbEnuAlignOriginToSitePlaneCenter, ((int)(resources.GetObject("cbEnuAlignOriginToSitePlaneCenter.IconPadding"))));
this.cbEnuAlignOriginToSitePlaneCenter.Name = "cbEnuAlignOriginToSitePlaneCenter";
- this.toolTip1.SetToolTip(this.cbEnuAlignOriginToSitePlaneCenter, resources.GetString("cbEnuAlignOriginToSitePlaneCenter.ToolTip"));
this.cbEnuAlignOriginToSitePlaneCenter.UseVisualStyleBackColor = true;
+ this.cbEnuAlignOriginToSitePlaneCenter.CheckedChanged += new System.EventHandler(this.cbEnuAlignOriginToSitePlaneCenter_CheckedChanged);
//
// cbEnuUseProjectLocation
//
resources.ApplyResources(this.cbEnuUseProjectLocation, "cbEnuUseProjectLocation");
- this.errorProvider1.SetError(this.cbEnuUseProjectLocation, resources.GetString("cbEnuUseProjectLocation.Error"));
- this.errorProvider1.SetIconAlignment(this.cbEnuUseProjectLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbEnuUseProjectLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbEnuUseProjectLocation, ((int)(resources.GetObject("cbEnuUseProjectLocation.IconPadding"))));
this.cbEnuUseProjectLocation.Name = "cbEnuUseProjectLocation";
- this.toolTip1.SetToolTip(this.cbEnuUseProjectLocation, resources.GetString("cbEnuUseProjectLocation.ToolTip"));
this.cbEnuUseProjectLocation.UseVisualStyleBackColor = true;
this.cbEnuUseProjectLocation.CheckedChanged += new System.EventHandler(this.cbEnuUseProjectLocation_CheckedChanged);
//
// txtEnuRotation
//
resources.ApplyResources(this.txtEnuRotation, "txtEnuRotation");
- this.errorProvider1.SetError(this.txtEnuRotation, resources.GetString("txtEnuRotation.Error"));
- this.errorProvider1.SetIconAlignment(this.txtEnuRotation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtEnuRotation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtEnuRotation, ((int)(resources.GetObject("txtEnuRotation.IconPadding"))));
this.txtEnuRotation.Name = "txtEnuRotation";
this.toolTip1.SetToolTip(this.txtEnuRotation, resources.GetString("txtEnuRotation.ToolTip"));
- this.txtEnuRotation.Validating += new System.ComponentModel.CancelEventHandler(this.txtEnuRotation_Validating);
//
// lblEnuRotation
//
resources.ApplyResources(this.lblEnuRotation, "lblEnuRotation");
- this.errorProvider1.SetError(this.lblEnuRotation, resources.GetString("lblEnuRotation.Error"));
- this.errorProvider1.SetIconAlignment(this.lblEnuRotation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblEnuRotation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblEnuRotation, ((int)(resources.GetObject("lblEnuRotation.IconPadding"))));
this.lblEnuRotation.Name = "lblEnuRotation";
- this.toolTip1.SetToolTip(this.lblEnuRotation, resources.GetString("lblEnuRotation.ToolTip"));
//
// txtEnuHeight
//
resources.ApplyResources(this.txtEnuHeight, "txtEnuHeight");
- this.errorProvider1.SetError(this.txtEnuHeight, resources.GetString("txtEnuHeight.Error"));
- this.errorProvider1.SetIconAlignment(this.txtEnuHeight, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtEnuHeight.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtEnuHeight, ((int)(resources.GetObject("txtEnuHeight.IconPadding"))));
this.txtEnuHeight.Name = "txtEnuHeight";
this.toolTip1.SetToolTip(this.txtEnuHeight, resources.GetString("txtEnuHeight.ToolTip"));
- this.txtEnuHeight.Validating += new System.ComponentModel.CancelEventHandler(this.txtEnuHeight_Validating);
//
// lblEnuHeight
//
resources.ApplyResources(this.lblEnuHeight, "lblEnuHeight");
- this.errorProvider1.SetError(this.lblEnuHeight, resources.GetString("lblEnuHeight.Error"));
- this.errorProvider1.SetIconAlignment(this.lblEnuHeight, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblEnuHeight.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblEnuHeight, ((int)(resources.GetObject("lblEnuHeight.IconPadding"))));
this.lblEnuHeight.Name = "lblEnuHeight";
- this.toolTip1.SetToolTip(this.lblEnuHeight, resources.GetString("lblEnuHeight.ToolTip"));
//
// txtEnuLongitude
//
resources.ApplyResources(this.txtEnuLongitude, "txtEnuLongitude");
- this.errorProvider1.SetError(this.txtEnuLongitude, resources.GetString("txtEnuLongitude.Error"));
- this.errorProvider1.SetIconAlignment(this.txtEnuLongitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtEnuLongitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtEnuLongitude, ((int)(resources.GetObject("txtEnuLongitude.IconPadding"))));
this.txtEnuLongitude.Name = "txtEnuLongitude";
this.toolTip1.SetToolTip(this.txtEnuLongitude, resources.GetString("txtEnuLongitude.ToolTip"));
- this.txtEnuLongitude.Validating += new System.ComponentModel.CancelEventHandler(this.txtEnuLongitude_Validating);
//
// lblEnuLongitude
//
resources.ApplyResources(this.lblEnuLongitude, "lblEnuLongitude");
- this.errorProvider1.SetError(this.lblEnuLongitude, resources.GetString("lblEnuLongitude.Error"));
- this.errorProvider1.SetIconAlignment(this.lblEnuLongitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblEnuLongitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblEnuLongitude, ((int)(resources.GetObject("lblEnuLongitude.IconPadding"))));
this.lblEnuLongitude.Name = "lblEnuLongitude";
- this.toolTip1.SetToolTip(this.lblEnuLongitude, resources.GetString("lblEnuLongitude.ToolTip"));
//
// txtEnuLatitude
//
resources.ApplyResources(this.txtEnuLatitude, "txtEnuLatitude");
- this.errorProvider1.SetError(this.txtEnuLatitude, resources.GetString("txtEnuLatitude.Error"));
- this.errorProvider1.SetIconAlignment(this.txtEnuLatitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtEnuLatitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtEnuLatitude, ((int)(resources.GetObject("txtEnuLatitude.IconPadding"))));
this.txtEnuLatitude.Name = "txtEnuLatitude";
this.toolTip1.SetToolTip(this.txtEnuLatitude, resources.GetString("txtEnuLatitude.ToolTip"));
- this.txtEnuLatitude.Validating += new System.ComponentModel.CancelEventHandler(this.txtEnuLatitude_Validating);
//
// lblEnuLatitude
//
resources.ApplyResources(this.lblEnuLatitude, "lblEnuLatitude");
- this.errorProvider1.SetError(this.lblEnuLatitude, resources.GetString("lblEnuLatitude.Error"));
- this.errorProvider1.SetIconAlignment(this.lblEnuLatitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblEnuLatitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblEnuLatitude, ((int)(resources.GetObject("lblEnuLatitude.IconPadding"))));
this.lblEnuLatitude.Name = "lblEnuLatitude";
- this.toolTip1.SetToolTip(this.lblEnuLatitude, resources.GetString("lblEnuLatitude.ToolTip"));
//
// lblEnuOriginCoordinate
//
resources.ApplyResources(this.lblEnuOriginCoordinate, "lblEnuOriginCoordinate");
- this.errorProvider1.SetError(this.lblEnuOriginCoordinate, resources.GetString("lblEnuOriginCoordinate.Error"));
- this.errorProvider1.SetIconAlignment(this.lblEnuOriginCoordinate, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblEnuOriginCoordinate.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblEnuOriginCoordinate, ((int)(resources.GetObject("lblEnuOriginCoordinate.IconPadding"))));
this.lblEnuOriginCoordinate.Name = "lblEnuOriginCoordinate";
- this.toolTip1.SetToolTip(this.lblEnuOriginCoordinate, resources.GetString("lblEnuOriginCoordinate.ToolTip"));
//
// cbEnuOriginLocation
//
resources.ApplyResources(this.cbEnuOriginLocation, "cbEnuOriginLocation");
this.cbEnuOriginLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.errorProvider1.SetError(this.cbEnuOriginLocation, resources.GetString("cbEnuOriginLocation.Error"));
this.cbEnuOriginLocation.FormattingEnabled = true;
- this.errorProvider1.SetIconAlignment(this.cbEnuOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbEnuOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbEnuOriginLocation, ((int)(resources.GetObject("cbEnuOriginLocation.IconPadding"))));
this.cbEnuOriginLocation.Name = "cbEnuOriginLocation";
- this.toolTip1.SetToolTip(this.cbEnuOriginLocation, resources.GetString("cbEnuOriginLocation.ToolTip"));
this.cbEnuOriginLocation.SelectedIndexChanged += new System.EventHandler(this.cbEnuOriginLocation_SelectedIndexChanged);
//
// lblEnuOriginLocation
//
resources.ApplyResources(this.lblEnuOriginLocation, "lblEnuOriginLocation");
- this.errorProvider1.SetError(this.lblEnuOriginLocation, resources.GetString("lblEnuOriginLocation.Error"));
- this.errorProvider1.SetIconAlignment(this.lblEnuOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblEnuOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblEnuOriginLocation, ((int)(resources.GetObject("lblEnuOriginLocation.IconPadding"))));
this.lblEnuOriginLocation.Name = "lblEnuOriginLocation";
- this.toolTip1.SetToolTip(this.lblEnuOriginLocation, resources.GetString("lblEnuOriginLocation.ToolTip"));
//
// tabPageLocal
//
- resources.ApplyResources(this.tabPageLocal, "tabPageLocal");
this.tabPageLocal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.tabPageLocal.Controls.Add(this.txtLocalModelOriginH);
+ this.tabPageLocal.Controls.Add(this.lblLocalModelOriginH);
+ this.tabPageLocal.Controls.Add(this.txtLocalModelOriginE);
+ this.tabPageLocal.Controls.Add(this.lblLocalModelOriginE);
+ this.tabPageLocal.Controls.Add(this.lblLocalModelOriginN);
+ this.tabPageLocal.Controls.Add(this.txtLocalModelOriginN);
+ this.tabPageLocal.Controls.Add(this.lblLocalModelOriginCoordinate);
this.tabPageLocal.Controls.Add(this.cbLocalAlignOriginToSitePlaneCenter);
this.tabPageLocal.Controls.Add(this.cbLocalUseProjectLocation);
this.tabPageLocal.Controls.Add(this.txtLocalRotation);
@@ -342,143 +324,126 @@ private void InitializeComponent()
this.tabPageLocal.Controls.Add(this.lblLocalOriginCoordinate);
this.tabPageLocal.Controls.Add(this.cbLocalOriginLocation);
this.tabPageLocal.Controls.Add(this.lblLocalOriginLocation);
- this.errorProvider1.SetError(this.tabPageLocal, resources.GetString("tabPageLocal.Error"));
- this.errorProvider1.SetIconAlignment(this.tabPageLocal, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("tabPageLocal.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.tabPageLocal, ((int)(resources.GetObject("tabPageLocal.IconPadding"))));
+ resources.ApplyResources(this.tabPageLocal, "tabPageLocal");
this.tabPageLocal.Name = "tabPageLocal";
- this.toolTip1.SetToolTip(this.tabPageLocal, resources.GetString("tabPageLocal.ToolTip"));
this.tabPageLocal.UseVisualStyleBackColor = true;
//
+ // txtLocalModelOriginH
+ //
+ resources.ApplyResources(this.txtLocalModelOriginH, "txtLocalModelOriginH");
+ this.txtLocalModelOriginH.Name = "txtLocalModelOriginH";
+ this.toolTip1.SetToolTip(this.txtLocalModelOriginH, resources.GetString("txtLocalModelOriginH.ToolTip"));
+ //
+ // lblLocalModelOriginH
+ //
+ resources.ApplyResources(this.lblLocalModelOriginH, "lblLocalModelOriginH");
+ this.lblLocalModelOriginH.Name = "lblLocalModelOriginH";
+ //
+ // txtLocalModelOriginE
+ //
+ resources.ApplyResources(this.txtLocalModelOriginE, "txtLocalModelOriginE");
+ this.txtLocalModelOriginE.Name = "txtLocalModelOriginE";
+ this.toolTip1.SetToolTip(this.txtLocalModelOriginE, resources.GetString("txtLocalModelOriginE.ToolTip"));
+ //
+ // lblLocalModelOriginE
+ //
+ resources.ApplyResources(this.lblLocalModelOriginE, "lblLocalModelOriginE");
+ this.lblLocalModelOriginE.Name = "lblLocalModelOriginE";
+ //
+ // lblLocalModelOriginN
+ //
+ resources.ApplyResources(this.lblLocalModelOriginN, "lblLocalModelOriginN");
+ this.lblLocalModelOriginN.Name = "lblLocalModelOriginN";
+ //
+ // txtLocalModelOriginN
+ //
+ resources.ApplyResources(this.txtLocalModelOriginN, "txtLocalModelOriginN");
+ this.txtLocalModelOriginN.Name = "txtLocalModelOriginN";
+ this.toolTip1.SetToolTip(this.txtLocalModelOriginN, resources.GetString("txtLocalModelOriginN.ToolTip"));
+ //
+ // lblLocalModelOriginCoordinate
+ //
+ resources.ApplyResources(this.lblLocalModelOriginCoordinate, "lblLocalModelOriginCoordinate");
+ this.lblLocalModelOriginCoordinate.Name = "lblLocalModelOriginCoordinate";
+ //
// cbLocalAlignOriginToSitePlaneCenter
//
resources.ApplyResources(this.cbLocalAlignOriginToSitePlaneCenter, "cbLocalAlignOriginToSitePlaneCenter");
- this.errorProvider1.SetError(this.cbLocalAlignOriginToSitePlaneCenter, resources.GetString("cbLocalAlignOriginToSitePlaneCenter.Error"));
- this.errorProvider1.SetIconAlignment(this.cbLocalAlignOriginToSitePlaneCenter, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbLocalAlignOriginToSitePlaneCenter.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbLocalAlignOriginToSitePlaneCenter, ((int)(resources.GetObject("cbLocalAlignOriginToSitePlaneCenter.IconPadding"))));
this.cbLocalAlignOriginToSitePlaneCenter.Name = "cbLocalAlignOriginToSitePlaneCenter";
- this.toolTip1.SetToolTip(this.cbLocalAlignOriginToSitePlaneCenter, resources.GetString("cbLocalAlignOriginToSitePlaneCenter.ToolTip"));
this.cbLocalAlignOriginToSitePlaneCenter.UseVisualStyleBackColor = true;
+ this.cbLocalAlignOriginToSitePlaneCenter.CheckedChanged += new System.EventHandler(this.cbLocalAlignOriginToSitePlaneCenter_CheckedChanged);
//
// cbLocalUseProjectLocation
//
resources.ApplyResources(this.cbLocalUseProjectLocation, "cbLocalUseProjectLocation");
- this.errorProvider1.SetError(this.cbLocalUseProjectLocation, resources.GetString("cbLocalUseProjectLocation.Error"));
- this.errorProvider1.SetIconAlignment(this.cbLocalUseProjectLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbLocalUseProjectLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbLocalUseProjectLocation, ((int)(resources.GetObject("cbLocalUseProjectLocation.IconPadding"))));
this.cbLocalUseProjectLocation.Name = "cbLocalUseProjectLocation";
- this.toolTip1.SetToolTip(this.cbLocalUseProjectLocation, resources.GetString("cbLocalUseProjectLocation.ToolTip"));
this.cbLocalUseProjectLocation.UseVisualStyleBackColor = true;
this.cbLocalUseProjectLocation.CheckedChanged += new System.EventHandler(this.cbLocalUseProjectLocation_CheckedChanged);
//
// txtLocalRotation
//
resources.ApplyResources(this.txtLocalRotation, "txtLocalRotation");
- this.errorProvider1.SetError(this.txtLocalRotation, resources.GetString("txtLocalRotation.Error"));
- this.errorProvider1.SetIconAlignment(this.txtLocalRotation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtLocalRotation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtLocalRotation, ((int)(resources.GetObject("txtLocalRotation.IconPadding"))));
this.txtLocalRotation.Name = "txtLocalRotation";
this.toolTip1.SetToolTip(this.txtLocalRotation, resources.GetString("txtLocalRotation.ToolTip"));
- this.txtLocalRotation.Validating += new System.ComponentModel.CancelEventHandler(this.txtLocalRotation_Validating);
//
// lblLocalRotation
//
resources.ApplyResources(this.lblLocalRotation, "lblLocalRotation");
- this.errorProvider1.SetError(this.lblLocalRotation, resources.GetString("lblLocalRotation.Error"));
- this.errorProvider1.SetIconAlignment(this.lblLocalRotation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblLocalRotation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblLocalRotation, ((int)(resources.GetObject("lblLocalRotation.IconPadding"))));
this.lblLocalRotation.Name = "lblLocalRotation";
- this.toolTip1.SetToolTip(this.lblLocalRotation, resources.GetString("lblLocalRotation.ToolTip"));
//
// txtLocalHeight
//
resources.ApplyResources(this.txtLocalHeight, "txtLocalHeight");
- this.errorProvider1.SetError(this.txtLocalHeight, resources.GetString("txtLocalHeight.Error"));
- this.errorProvider1.SetIconAlignment(this.txtLocalHeight, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtLocalHeight.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtLocalHeight, ((int)(resources.GetObject("txtLocalHeight.IconPadding"))));
this.txtLocalHeight.Name = "txtLocalHeight";
this.toolTip1.SetToolTip(this.txtLocalHeight, resources.GetString("txtLocalHeight.ToolTip"));
- this.txtLocalHeight.Validating += new System.ComponentModel.CancelEventHandler(this.txtLocalHeight_Validating);
//
// lblLocalHeight
//
resources.ApplyResources(this.lblLocalHeight, "lblLocalHeight");
- this.errorProvider1.SetError(this.lblLocalHeight, resources.GetString("lblLocalHeight.Error"));
- this.errorProvider1.SetIconAlignment(this.lblLocalHeight, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblLocalHeight.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblLocalHeight, ((int)(resources.GetObject("lblLocalHeight.IconPadding"))));
this.lblLocalHeight.Name = "lblLocalHeight";
- this.toolTip1.SetToolTip(this.lblLocalHeight, resources.GetString("lblLocalHeight.ToolTip"));
//
// txtLocalLongitude
//
resources.ApplyResources(this.txtLocalLongitude, "txtLocalLongitude");
- this.errorProvider1.SetError(this.txtLocalLongitude, resources.GetString("txtLocalLongitude.Error"));
- this.errorProvider1.SetIconAlignment(this.txtLocalLongitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtLocalLongitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtLocalLongitude, ((int)(resources.GetObject("txtLocalLongitude.IconPadding"))));
this.txtLocalLongitude.Name = "txtLocalLongitude";
this.toolTip1.SetToolTip(this.txtLocalLongitude, resources.GetString("txtLocalLongitude.ToolTip"));
- this.txtLocalLongitude.Validating += new System.ComponentModel.CancelEventHandler(this.txtLocalLongitude_Validating);
//
// lblLocalLongitude
//
resources.ApplyResources(this.lblLocalLongitude, "lblLocalLongitude");
- this.errorProvider1.SetError(this.lblLocalLongitude, resources.GetString("lblLocalLongitude.Error"));
- this.errorProvider1.SetIconAlignment(this.lblLocalLongitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblLocalLongitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblLocalLongitude, ((int)(resources.GetObject("lblLocalLongitude.IconPadding"))));
this.lblLocalLongitude.Name = "lblLocalLongitude";
- this.toolTip1.SetToolTip(this.lblLocalLongitude, resources.GetString("lblLocalLongitude.ToolTip"));
//
// txtLocalLatitude
//
resources.ApplyResources(this.txtLocalLatitude, "txtLocalLatitude");
- this.errorProvider1.SetError(this.txtLocalLatitude, resources.GetString("txtLocalLatitude.Error"));
- this.errorProvider1.SetIconAlignment(this.txtLocalLatitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtLocalLatitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtLocalLatitude, ((int)(resources.GetObject("txtLocalLatitude.IconPadding"))));
this.txtLocalLatitude.Name = "txtLocalLatitude";
this.toolTip1.SetToolTip(this.txtLocalLatitude, resources.GetString("txtLocalLatitude.ToolTip"));
- this.txtLocalLatitude.Validating += new System.ComponentModel.CancelEventHandler(this.txtLocalLatitude_Validating);
//
// lblLocalLatitude
//
resources.ApplyResources(this.lblLocalLatitude, "lblLocalLatitude");
- this.errorProvider1.SetError(this.lblLocalLatitude, resources.GetString("lblLocalLatitude.Error"));
- this.errorProvider1.SetIconAlignment(this.lblLocalLatitude, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblLocalLatitude.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblLocalLatitude, ((int)(resources.GetObject("lblLocalLatitude.IconPadding"))));
this.lblLocalLatitude.Name = "lblLocalLatitude";
- this.toolTip1.SetToolTip(this.lblLocalLatitude, resources.GetString("lblLocalLatitude.ToolTip"));
//
// lblLocalOriginCoordinate
//
resources.ApplyResources(this.lblLocalOriginCoordinate, "lblLocalOriginCoordinate");
- this.errorProvider1.SetError(this.lblLocalOriginCoordinate, resources.GetString("lblLocalOriginCoordinate.Error"));
- this.errorProvider1.SetIconAlignment(this.lblLocalOriginCoordinate, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblLocalOriginCoordinate.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblLocalOriginCoordinate, ((int)(resources.GetObject("lblLocalOriginCoordinate.IconPadding"))));
this.lblLocalOriginCoordinate.Name = "lblLocalOriginCoordinate";
- this.toolTip1.SetToolTip(this.lblLocalOriginCoordinate, resources.GetString("lblLocalOriginCoordinate.ToolTip"));
//
// cbLocalOriginLocation
//
resources.ApplyResources(this.cbLocalOriginLocation, "cbLocalOriginLocation");
this.cbLocalOriginLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.errorProvider1.SetError(this.cbLocalOriginLocation, resources.GetString("cbLocalOriginLocation.Error"));
this.cbLocalOriginLocation.FormattingEnabled = true;
- this.errorProvider1.SetIconAlignment(this.cbLocalOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbLocalOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbLocalOriginLocation, ((int)(resources.GetObject("cbLocalOriginLocation.IconPadding"))));
this.cbLocalOriginLocation.Name = "cbLocalOriginLocation";
- this.toolTip1.SetToolTip(this.cbLocalOriginLocation, resources.GetString("cbLocalOriginLocation.ToolTip"));
this.cbLocalOriginLocation.SelectedIndexChanged += new System.EventHandler(this.cbLocalOriginLocation_SelectedIndexChanged);
//
// lblLocalOriginLocation
//
resources.ApplyResources(this.lblLocalOriginLocation, "lblLocalOriginLocation");
- this.errorProvider1.SetError(this.lblLocalOriginLocation, resources.GetString("lblLocalOriginLocation.Error"));
- this.errorProvider1.SetIconAlignment(this.lblLocalOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblLocalOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblLocalOriginLocation, ((int)(resources.GetObject("lblLocalOriginLocation.IconPadding"))));
this.lblLocalOriginLocation.Name = "lblLocalOriginLocation";
- this.toolTip1.SetToolTip(this.lblLocalOriginLocation, resources.GetString("lblLocalOriginLocation.ToolTip"));
//
// tabPageProj
//
- resources.ApplyResources(this.tabPageProj, "tabPageProj");
this.tabPageProj.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tabPageProj.Controls.Add(this.txtProjElevation);
this.tabPageProj.Controls.Add(this.cbProjElevation);
@@ -492,50 +457,32 @@ private void InitializeComponent()
this.tabPageProj.Controls.Add(this.lblProjDefinition);
this.tabPageProj.Controls.Add(this.cbProjOriginLocation);
this.tabPageProj.Controls.Add(this.lblProjOriginLocation);
- this.errorProvider1.SetError(this.tabPageProj, resources.GetString("tabPageProj.Error"));
- this.errorProvider1.SetIconAlignment(this.tabPageProj, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("tabPageProj.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.tabPageProj, ((int)(resources.GetObject("tabPageProj.IconPadding"))));
+ resources.ApplyResources(this.tabPageProj, "tabPageProj");
this.tabPageProj.Name = "tabPageProj";
- this.toolTip1.SetToolTip(this.tabPageProj, resources.GetString("tabPageProj.ToolTip"));
this.tabPageProj.UseVisualStyleBackColor = true;
//
// txtProjElevation
//
resources.ApplyResources(this.txtProjElevation, "txtProjElevation");
- this.errorProvider1.SetError(this.txtProjElevation, resources.GetString("txtProjElevation.Error"));
- this.errorProvider1.SetIconAlignment(this.txtProjElevation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtProjElevation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtProjElevation, ((int)(resources.GetObject("txtProjElevation.IconPadding"))));
this.txtProjElevation.Name = "txtProjElevation";
this.toolTip1.SetToolTip(this.txtProjElevation, resources.GetString("txtProjElevation.ToolTip"));
- this.txtProjElevation.Validating += new System.ComponentModel.CancelEventHandler(this.txtProjElevation_Validating);
//
// cbProjElevation
//
resources.ApplyResources(this.cbProjElevation, "cbProjElevation");
this.cbProjElevation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.errorProvider1.SetError(this.cbProjElevation, resources.GetString("cbProjElevation.Error"));
this.cbProjElevation.FormattingEnabled = true;
- this.errorProvider1.SetIconAlignment(this.cbProjElevation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbProjElevation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbProjElevation, ((int)(resources.GetObject("cbProjElevation.IconPadding"))));
this.cbProjElevation.Name = "cbProjElevation";
- this.toolTip1.SetToolTip(this.cbProjElevation, resources.GetString("cbProjElevation.ToolTip"));
this.cbProjElevation.SelectedIndexChanged += new System.EventHandler(this.cbProjElevation_SelectedIndexChanged);
//
// lblProjElevation
//
resources.ApplyResources(this.lblProjElevation, "lblProjElevation");
- this.errorProvider1.SetError(this.lblProjElevation, resources.GetString("lblProjElevation.Error"));
- this.errorProvider1.SetIconAlignment(this.lblProjElevation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblProjElevation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblProjElevation, ((int)(resources.GetObject("lblProjElevation.IconPadding"))));
this.lblProjElevation.Name = "lblProjElevation";
- this.toolTip1.SetToolTip(this.lblProjElevation, resources.GetString("lblProjElevation.ToolTip"));
//
// btnProjDefinitionSave
//
resources.ApplyResources(this.btnProjDefinitionSave, "btnProjDefinitionSave");
- this.errorProvider1.SetError(this.btnProjDefinitionSave, resources.GetString("btnProjDefinitionSave.Error"));
- this.errorProvider1.SetIconAlignment(this.btnProjDefinitionSave, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnProjDefinitionSave.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.btnProjDefinitionSave, ((int)(resources.GetObject("btnProjDefinitionSave.IconPadding"))));
this.btnProjDefinitionSave.Name = "btnProjDefinitionSave";
this.toolTip1.SetToolTip(this.btnProjDefinitionSave, resources.GetString("btnProjDefinitionSave.ToolTip"));
this.btnProjDefinitionSave.UseVisualStyleBackColor = true;
@@ -544,9 +491,6 @@ private void InitializeComponent()
// btnProjCoordinateOffsetSave
//
resources.ApplyResources(this.btnProjCoordinateOffsetSave, "btnProjCoordinateOffsetSave");
- this.errorProvider1.SetError(this.btnProjCoordinateOffsetSave, resources.GetString("btnProjCoordinateOffsetSave.Error"));
- this.errorProvider1.SetIconAlignment(this.btnProjCoordinateOffsetSave, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnProjCoordinateOffsetSave.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.btnProjCoordinateOffsetSave, ((int)(resources.GetObject("btnProjCoordinateOffsetSave.IconPadding"))));
this.btnProjCoordinateOffsetSave.Name = "btnProjCoordinateOffsetSave";
this.toolTip1.SetToolTip(this.btnProjCoordinateOffsetSave, resources.GetString("btnProjCoordinateOffsetSave.ToolTip"));
this.btnProjCoordinateOffsetSave.UseVisualStyleBackColor = true;
@@ -555,94 +499,57 @@ private void InitializeComponent()
// txtProjDefinition
//
resources.ApplyResources(this.txtProjDefinition, "txtProjDefinition");
- this.errorProvider1.SetError(this.txtProjDefinition, resources.GetString("txtProjDefinition.Error"));
- this.errorProvider1.SetIconAlignment(this.txtProjDefinition, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtProjDefinition.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtProjDefinition, ((int)(resources.GetObject("txtProjDefinition.IconPadding"))));
this.txtProjDefinition.Name = "txtProjDefinition";
- this.toolTip1.SetToolTip(this.txtProjDefinition, resources.GetString("txtProjDefinition.ToolTip"));
this.txtProjDefinition.DoubleClick += new System.EventHandler(this.txtProjDefinition_DoubleClick);
this.txtProjDefinition.Enter += new System.EventHandler(this.txtProjDefinition_Enter);
- this.txtProjDefinition.Validating += new System.ComponentModel.CancelEventHandler(this.txtProjDefinition_Validating);
//
// cbProjDefinition
//
resources.ApplyResources(this.cbProjDefinition, "cbProjDefinition");
this.cbProjDefinition.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.errorProvider1.SetError(this.cbProjDefinition, resources.GetString("cbProjDefinition.Error"));
this.cbProjDefinition.FormattingEnabled = true;
- this.errorProvider1.SetIconAlignment(this.cbProjDefinition, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbProjDefinition.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbProjDefinition, ((int)(resources.GetObject("cbProjDefinition.IconPadding"))));
this.cbProjDefinition.Name = "cbProjDefinition";
- this.toolTip1.SetToolTip(this.cbProjDefinition, resources.GetString("cbProjDefinition.ToolTip"));
this.cbProjDefinition.SelectedIndexChanged += new System.EventHandler(this.cbProjDefinition_SelectedIndexChanged);
//
// txtProjCoordinateOffset
//
resources.ApplyResources(this.txtProjCoordinateOffset, "txtProjCoordinateOffset");
- this.errorProvider1.SetError(this.txtProjCoordinateOffset, resources.GetString("txtProjCoordinateOffset.Error"));
- this.errorProvider1.SetIconAlignment(this.txtProjCoordinateOffset, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtProjCoordinateOffset.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.txtProjCoordinateOffset, ((int)(resources.GetObject("txtProjCoordinateOffset.IconPadding"))));
this.txtProjCoordinateOffset.Name = "txtProjCoordinateOffset";
this.toolTip1.SetToolTip(this.txtProjCoordinateOffset, resources.GetString("txtProjCoordinateOffset.ToolTip"));
- this.txtProjCoordinateOffset.Validating += new System.ComponentModel.CancelEventHandler(this.txtProjCoordinateOffset_Validating);
//
// lblProjCoordinateOffset
//
resources.ApplyResources(this.lblProjCoordinateOffset, "lblProjCoordinateOffset");
- this.errorProvider1.SetError(this.lblProjCoordinateOffset, resources.GetString("lblProjCoordinateOffset.Error"));
- this.errorProvider1.SetIconAlignment(this.lblProjCoordinateOffset, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblProjCoordinateOffset.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblProjCoordinateOffset, ((int)(resources.GetObject("lblProjCoordinateOffset.IconPadding"))));
this.lblProjCoordinateOffset.Name = "lblProjCoordinateOffset";
- this.toolTip1.SetToolTip(this.lblProjCoordinateOffset, resources.GetString("lblProjCoordinateOffset.ToolTip"));
//
// lblProjDefinition
//
resources.ApplyResources(this.lblProjDefinition, "lblProjDefinition");
- this.errorProvider1.SetError(this.lblProjDefinition, resources.GetString("lblProjDefinition.Error"));
- this.errorProvider1.SetIconAlignment(this.lblProjDefinition, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblProjDefinition.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblProjDefinition, ((int)(resources.GetObject("lblProjDefinition.IconPadding"))));
this.lblProjDefinition.Name = "lblProjDefinition";
- this.toolTip1.SetToolTip(this.lblProjDefinition, resources.GetString("lblProjDefinition.ToolTip"));
//
// cbProjOriginLocation
//
resources.ApplyResources(this.cbProjOriginLocation, "cbProjOriginLocation");
this.cbProjOriginLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.errorProvider1.SetError(this.cbProjOriginLocation, resources.GetString("cbProjOriginLocation.Error"));
this.cbProjOriginLocation.FormattingEnabled = true;
- this.errorProvider1.SetIconAlignment(this.cbProjOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("cbProjOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.cbProjOriginLocation, ((int)(resources.GetObject("cbProjOriginLocation.IconPadding"))));
this.cbProjOriginLocation.Name = "cbProjOriginLocation";
- this.toolTip1.SetToolTip(this.cbProjOriginLocation, resources.GetString("cbProjOriginLocation.ToolTip"));
//
// lblProjOriginLocation
//
resources.ApplyResources(this.lblProjOriginLocation, "lblProjOriginLocation");
- this.errorProvider1.SetError(this.lblProjOriginLocation, resources.GetString("lblProjOriginLocation.Error"));
- this.errorProvider1.SetIconAlignment(this.lblProjOriginLocation, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("lblProjOriginLocation.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.lblProjOriginLocation, ((int)(resources.GetObject("lblProjOriginLocation.IconPadding"))));
this.lblProjOriginLocation.Name = "lblProjOriginLocation";
- this.toolTip1.SetToolTip(this.lblProjOriginLocation, resources.GetString("lblProjOriginLocation.ToolTip"));
//
// btnReset
//
resources.ApplyResources(this.btnReset, "btnReset");
- this.errorProvider1.SetError(this.btnReset, resources.GetString("btnReset.Error"));
- this.errorProvider1.SetIconAlignment(this.btnReset, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnReset.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.btnReset, ((int)(resources.GetObject("btnReset.IconPadding"))));
this.btnReset.Name = "btnReset";
- this.toolTip1.SetToolTip(this.btnReset, resources.GetString("btnReset.ToolTip"));
this.btnReset.UseVisualStyleBackColor = true;
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnOK
//
resources.ApplyResources(this.btnOK, "btnOK");
- this.errorProvider1.SetError(this.btnOK, resources.GetString("btnOK.Error"));
- this.errorProvider1.SetIconAlignment(this.btnOK, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnOK.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.btnOK, ((int)(resources.GetObject("btnOK.IconPadding"))));
this.btnOK.Name = "btnOK";
- this.toolTip1.SetToolTip(this.btnOK, resources.GetString("btnOK.ToolTip"));
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
@@ -650,18 +557,13 @@ private void InitializeComponent()
//
resources.ApplyResources(this.btnCancel, "btnCancel");
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.errorProvider1.SetError(this.btnCancel, resources.GetString("btnCancel.Error"));
- this.errorProvider1.SetIconAlignment(this.btnCancel, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("btnCancel.IconAlignment"))));
- this.errorProvider1.SetIconPadding(this.btnCancel, ((int)(resources.GetObject("btnCancel.IconPadding"))));
this.btnCancel.Name = "btnCancel";
- this.toolTip1.SetToolTip(this.btnCancel, resources.GetString("btnCancel.ToolTip"));
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// errorProvider1
//
this.errorProvider1.ContainerControl = this;
- resources.ApplyResources(this.errorProvider1, "errorProvider1");
//
// openFileDialog1
//
@@ -681,7 +583,6 @@ private void InitializeComponent()
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FormGeoreferncing";
- this.toolTip1.SetToolTip(this, resources.GetString("$this.ToolTip"));
this.Load += new System.EventHandler(this.FormGeoreferncing_Load);
this.tabMain.ResumeLayout(false);
this.tabPageAuto.ResumeLayout(false);
@@ -753,5 +654,19 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox txtProjElevation;
private System.Windows.Forms.ComboBox cbProjElevation;
private System.Windows.Forms.Label lblProjElevation;
+ private System.Windows.Forms.Label lblEnuModelOriginCoordinate;
+ private System.Windows.Forms.TextBox txtEnuModelOriginN;
+ private System.Windows.Forms.Label lblEnuModelOriginN;
+ private System.Windows.Forms.Label lblEnuModelOriginE;
+ private System.Windows.Forms.TextBox txtEnuModelOriginE;
+ private System.Windows.Forms.TextBox txtEnuModelOriginH;
+ private System.Windows.Forms.Label lblEnuModelOriginH;
+ private System.Windows.Forms.TextBox txtLocalModelOriginH;
+ private System.Windows.Forms.Label lblLocalModelOriginH;
+ private System.Windows.Forms.TextBox txtLocalModelOriginE;
+ private System.Windows.Forms.Label lblLocalModelOriginE;
+ private System.Windows.Forms.Label lblLocalModelOriginN;
+ private System.Windows.Forms.TextBox txtLocalModelOriginN;
+ private System.Windows.Forms.Label lblLocalModelOriginCoordinate;
}
}
\ No newline at end of file
diff --git a/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.cs b/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.cs
index ef37567..4286dfd 100644
--- a/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.cs
+++ b/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.cs
@@ -17,6 +17,7 @@ partial class FormGeoreferncing : Form
{
private readonly string _ProjectFilePath = null;
private readonly SiteInfo _SiteInfo = null;
+ private readonly double[] _DefaultModelOrigin;
private readonly IGeoreferncingHost _Host;
private readonly string _DefaultTitle;
@@ -25,6 +26,7 @@ public FormGeoreferncing(IGeoreferncingHost host, GeoreferencedSetting setting)
{
_Host = host ?? throw new ArgumentNullException(nameof(host));
_SiteInfo = _Host.GetModelSiteInfo();
+ _DefaultModelOrigin = _Host.GetDefaultModelOrigin();
_ProjectFilePath = _Host.GetModelFilePath();
_DefaultTitle = Text;
@@ -59,7 +61,7 @@ private void tabMain_SelectedIndexChanged(object sender, EventArgs e)
private void InitUI()
{
- #region 初始化 "原点位置选择" 下拉框
+ #region 初始化 "模型坐标系" 下拉框
{
var originTypes = _Host.GetSupportOriginTypes();
@@ -101,6 +103,38 @@ private void InitUI()
}
#endregion
+ #region 初始化 站心坐标
+ {
+ _Host.Adapter.SetDirectionLetters(lblEnuModelOriginE, lblEnuModelOriginN, lblEnuModelOriginH);
+
+ txtEnuModelOriginN.OnValidating(t => { TryParseNumber(t, out _); });
+ txtEnuModelOriginE.OnValidating(t => { TryParseNumber(t, out _); });
+ txtEnuModelOriginH.OnValidating(t => { TryParseNumber(t, out _); });
+
+ txtEnuLatitude.OnValidating(t => { TryParseLatitude(t, out _); });
+ txtEnuLongitude.OnValidating(t => { TryParseLongitude(t, out _); });
+ txtEnuHeight.OnValidating(t => { TryParseHeight(t, out _); });
+ txtEnuRotation.OnValidating(t => { TryParseRotation(t, out _); });
+ }
+ #endregion
+
+ #region 初始化 暂不配准
+ {
+ _Host.Adapter.SetDirectionLetters(lblLocalModelOriginE, lblLocalModelOriginN, lblLocalModelOriginH);
+
+ txtLocalModelOriginN.OnValidating(t => { TryParseNumber(t, out _); });
+ txtLocalModelOriginE.OnValidating(t => { TryParseNumber(t, out _); });
+ txtLocalModelOriginH.OnValidating(t => { TryParseNumber(t, out _); });
+
+ txtLocalLatitude.OnValidating(t => { TryParseLatitude(t, out _); });
+ txtLocalLongitude.OnValidating(t => { TryParseLongitude(t, out _); });
+ txtLocalHeight.OnValidating(t => { TryParseHeight(t, out _); });
+ txtLocalRotation.OnValidating(t => { TryParseRotation(t, out _); });
+ }
+ #endregion
+
+ #region 初始化 投影坐标
+
#region 初始化 "投影参考定义" 下拉框
{
var items = _Host.GetProjSourceItems();
@@ -132,8 +166,7 @@ private void InitUI()
e.Effect = DragDropEffects.None;
if (e.Data.TryParsePath(out var path) && File.Exists(path))
{
- var projDefinition = _Host.GetProjDefinition(path);
- if (string.IsNullOrWhiteSpace(projDefinition) == false)
+ if (CheckProjFile(path))
{
e.Effect = DragDropEffects.Link;
}
@@ -142,6 +175,44 @@ private void InitUI()
}
#endregion
+ txtProjCoordinateOffset.OnValidating(t =>
+ {
+ errorProvider1.SetError(t, null);
+
+ var ret = true;
+ var s = t.Text;
+ if (string.IsNullOrWhiteSpace(s))
+ {
+ t.Text = @"0,0,0";
+ }
+ else if (TryParseOffsets(s, out _) == false)
+ {
+ ret = false; //e.Cancel = true;
+ errorProvider1.SetError(btnProjCoordinateOffsetSave, GeoStrings.InvalidData);
+ }
+ return ret;
+ });
+
+ txtProjElevation.OnValidating(t => { TryParseHeight(t, out _); });
+
+ txtProjDefinition.OnValidating(t =>
+ {
+ var s = t.Text;
+ if (_Host.CheckProjDefinition(s, out _) == false)
+ {
+ t.ForeColor = Color.Red;
+ errorProvider1.SetError(t, GeoStrings.InvalidProjectDefinition);
+ }
+ else
+ {
+ t.ForeColor = Color.Green;
+ errorProvider1.SetError(t, null);
+ }
+ });
+
+ #endregion
+
+
if (_SiteInfo == null)
{
cbEnuUseProjectLocation.Visible = false;
@@ -194,6 +265,15 @@ private void UpdateToTabEnu(ParameterEnu p)
cbEnuAlignOriginToSitePlaneCenter.Checked = p.AlignOriginToSitePlaneCenter;
+ if (p.AlignOriginToSitePlaneCenter == false &&
+ p.OriginOffset != null &&
+ p.OriginOffset.Length >= 3)
+ {
+ txtEnuModelOriginN.Text = GetDoubleString(p.OriginOffset[1], 10);
+ txtEnuModelOriginE.Text = GetDoubleString(p.OriginOffset[0], 10);
+ txtEnuModelOriginH.Text = GetDoubleString(p.OriginOffset[2], 10);
+ }
+
cbEnuUseProjectLocation.Checked = p.UseProjectLocation;
txtEnuLatitude.Text = GetDoubleString(p.Latitude, 10);
txtEnuLongitude.Text = GetDoubleString(p.Longitude, 10);
@@ -209,6 +289,15 @@ private void UpdateToTabLocal(ParameterLocal p)
cbLocalAlignOriginToSitePlaneCenter.Checked = p.AlignOriginToSitePlaneCenter;
+ if (p.AlignOriginToSitePlaneCenter == false &&
+ p.OriginOffset != null &&
+ p.OriginOffset.Length >= 3)
+ {
+ txtLocalModelOriginN.Text = GetDoubleString(p.OriginOffset[1], 10);
+ txtLocalModelOriginE.Text = GetDoubleString(p.OriginOffset[0], 10);
+ txtLocalModelOriginH.Text = GetDoubleString(p.OriginOffset[2], 10);
+ }
+
cbLocalUseProjectLocation.Checked = p.UseProjectLocation;
txtLocalLatitude.Text = GetDoubleString(p.Latitude, 10);
txtLocalLongitude.Text = GetDoubleString(p.Longitude, 10);
@@ -306,13 +395,46 @@ private bool UpdateFromTabEnu(ParameterEnu p)
var isActive = tabMain.SelectedTab == tabPageEnu;
var ret = true;
+ TextBox errorTextBox = null;
+
p.Origin = cbEnuOriginLocation.GetSelectedValue();
- p.AlignOriginToSitePlaneCenter = cbEnuAlignOriginToSitePlaneCenter.Checked;
+
+ if (cbEnuAlignOriginToSitePlaneCenter.Checked)
+ {
+ p.AlignOriginToSitePlaneCenter = true;
+ p.OriginOffset = null;
+ }
+ else
+ {
+ p.AlignOriginToSitePlaneCenter = false;
+
+ if (TryParseNumber(txtEnuModelOriginN, out var y) == false)
+ {
+ errorTextBox = errorTextBox ?? txtEnuModelOriginN;
+ ret = false;
+ }
+
+ if (TryParseNumber(txtEnuModelOriginE, out var x) == false)
+ {
+ errorTextBox = errorTextBox ?? txtEnuModelOriginE;
+ ret = false;
+ }
+
+ if (TryParseNumber(txtEnuModelOriginH, out var z) == false)
+ {
+ errorTextBox = errorTextBox ?? txtEnuModelOriginH;
+ ret = false;
+ }
+
+ if (ret)
+ {
+ p.OriginOffset = new[] { x, y, z };
+ }
+ }
+
p.UseProjectLocation = cbEnuUseProjectLocation.Checked;
p.UseAutoAlignToGround = cbEnuAutoAlignToGround.Checked;
- TextBox errorTextBox = null;
-
if (TryParseLatitude(txtEnuLatitude, out var latitude))
{
p.Latitude = latitude;
@@ -366,11 +488,44 @@ private bool UpdateFromTabLocal(ParameterLocal p)
var isActive = tabMain.SelectedTab == tabPageLocal;
var ret = true;
+ TextBox errorTextBox = null;
+
p.Origin = cbLocalOriginLocation.GetSelectedValue();
- p.AlignOriginToSitePlaneCenter = cbLocalAlignOriginToSitePlaneCenter.Checked;
- p.UseProjectLocation = cbLocalUseProjectLocation.Checked;
- TextBox errorTextBox = null;
+ if (cbLocalAlignOriginToSitePlaneCenter.Checked)
+ {
+ p.AlignOriginToSitePlaneCenter = true;
+ p.OriginOffset = null;
+ }
+ else
+ {
+ p.AlignOriginToSitePlaneCenter = false;
+
+ if (TryParseNumber(txtLocalModelOriginN, out var y) == false)
+ {
+ errorTextBox = errorTextBox ?? txtLocalModelOriginN;
+ ret = false;
+ }
+
+ if (TryParseNumber(txtLocalModelOriginE, out var x) == false)
+ {
+ errorTextBox = errorTextBox ?? txtLocalModelOriginE;
+ ret = false;
+ }
+
+ if (TryParseNumber(txtLocalModelOriginH, out var z) == false)
+ {
+ errorTextBox = errorTextBox ?? txtLocalModelOriginH;
+ ret = false;
+ }
+
+ if (ret)
+ {
+ p.OriginOffset = new[] { x, y, z };
+ }
+ }
+
+ p.UseProjectLocation = cbLocalUseProjectLocation.Checked;
if (TryParseLatitude(txtLocalLatitude, out var latitude))
{
@@ -549,11 +704,6 @@ private void cbProjElevation_SelectedIndexChanged(object sender, EventArgs e)
}
}
- private void txtProjElevation_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseHeight(txtProjElevation, out _);
- }
-
private void cbProjDefinition_SelectedIndexChanged(object sender, EventArgs e)
{
if (cbProjDefinition.SelectedItem is ProjSourceItem item)
@@ -593,6 +743,15 @@ private void cbProjDefinition_SelectedIndexChanged(object sender, EventArgs e)
txtProjDefinition.Text = item.ProjDefinition.ToWindowsFormat();
txtProjDefinition.ReadOnly = true;
break;
+ case ProjSourceType.MetadataXml:
+ {
+ if (MetadataXml.TryParse(item.FilePath, out var meta) &&
+ meta.TryGetProj(_Host, out var proj))
+ {
+ UseMetadataXmlProj(proj);
+ }
+ break;
+ }
case ProjSourceType.ProjectFolder:
txtProjDefinition.Text = item.ProjDefinition.ToWindowsFormat();
txtProjDefinition.ReadOnly = true;
@@ -607,22 +766,6 @@ private void cbProjDefinition_SelectedIndexChanged(object sender, EventArgs e)
}
}
- private void txtProjCoordinateOffset_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- errorProvider1.SetError(txtProjCoordinateOffset, null);
-
- var s = txtProjCoordinateOffset.Text;
- if (string.IsNullOrWhiteSpace(s))
- {
- txtProjCoordinateOffset.Text = @"0,0,0";
- }
- else if (TryParseOffsets(s, out var offsets) == false)
- {
- e.Cancel = true;
- errorProvider1.SetError(btnProjCoordinateOffsetSave, GeoStrings.InvalidData);
- }
- }
-
private void txtProjDefinition_Enter(object sender, EventArgs e)
{
txtProjDefinition.ForeColor = SystemColors.WindowText;
@@ -637,61 +780,6 @@ private void txtProjDefinition_DoubleClick(object sender, EventArgs e)
}
}
- private void txtProjDefinition_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- var s = txtProjDefinition.Text;
- if (_Host.CheckProjDefinition(s, out _) == false)
- {
- txtProjDefinition.ForeColor = Color.Red;
- errorProvider1.SetError(txtProjDefinition, GeoStrings.InvalidProjectDefinition);
- }
- else
- {
- txtProjDefinition.ForeColor = Color.Green;
- errorProvider1.SetError(txtProjDefinition, null);
- }
- }
-
- private void txtLocalLatitude_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseLatitude(txtLocalLatitude, out _);
- }
-
- private void txtLocalLongitude_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseLongitude(txtLocalLongitude, out _);
- }
-
- private void txtLocalHeight_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseHeight(txtLocalHeight, out _);
- }
-
- private void txtLocalRotation_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseRotation(txtLocalRotation, out _);
- }
-
- private void txtEnuLatitude_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseLatitude(txtEnuLatitude, out _);
- }
-
- private void txtEnuLongitude_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseLongitude(txtEnuLongitude, out _);
- }
-
- private void txtEnuHeight_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseHeight(txtEnuHeight, out _);
- }
-
- private void txtEnuRotation_Validating(object sender, System.ComponentModel.CancelEventArgs e)
- {
- TryParseRotation(txtEnuRotation, out _);
- }
-
private bool TryParseLatitude(TextBox text, out double n)
{
return TryParse(text, -90.0, 90.0, GeoStrings.ErrorMessageLatitude, out n);
@@ -712,6 +800,11 @@ private bool TryParseRotation(TextBox text, out double n)
return TryParse(text, -360.0, 360.0, GeoStrings.ErrorMessageRotation, out n);
}
+ private bool TryParseNumber(TextBox text, out double n)
+ {
+ return TryParse(text, double.MinValue, double.MaxValue, GeoStrings.ErrorMessageNumber, out n);
+ }
+
private bool TryParse(TextBox text, double min, double max, string errorInfo, out double n)
{
errorProvider1.SetError(text, null);
@@ -730,6 +823,14 @@ private bool TryParse(TextBox text, double min, double max, string errorInfo, ou
private bool UseProjFile(string projFilePath)
{
+ if (string.Compare(Path.GetExtension(projFilePath), @".xml", StringComparison.OrdinalIgnoreCase) == 0 &&
+ MetadataXml.TryParse(projFilePath, out var meta) &&
+ meta.TryGetProj(_Host, out var proj))
+ {
+ UseMetadataXmlProj(proj);
+ return true;
+ }
+
var projDefinition = _Host.GetProjDefinition(projFilePath);
if (string.IsNullOrWhiteSpace(projDefinition) == false)
{
@@ -747,6 +848,34 @@ private bool UseProjFile(string projFilePath)
return false;
}
+ private void UseMetadataXmlProj(MetadataXmlProj metaProj)
+ {
+ txtProjCoordinateOffset.Text = metaProj.SrsOrigin == null
+ ? @"0,0,0"
+ : string.Join(@",", metaProj.SrsOrigin);
+ txtProjDefinition.Text = metaProj.Srs;
+
+ cbProjDefinition.SelectedIndex = 0; //ProjSourceType.Custom
+ cbProjElevation.SelectedIndex = 0; //ProjElevationType.Default
+ }
+
+ private bool CheckProjFile(string projFilePath)
+ {
+ if (string.Compare(Path.GetExtension(projFilePath), @".xml", StringComparison.OrdinalIgnoreCase) == 0 &&
+ MetadataXml.TryParse(projFilePath, out _))
+ {
+ return true;
+ }
+
+ var projDefinition = _Host.GetProjDefinition(projFilePath);
+ if (string.IsNullOrWhiteSpace(projDefinition) == false)
+ {
+ return true;
+ }
+
+ return false;
+ }
+
private bool TryParseOffsets(string s, out double[] offsets)
{
var values = s.Split(new[] { ',', '/', ';', ' ' }, StringSplitOptions.RemoveEmptyEntries);
@@ -794,6 +923,31 @@ private void btnCancel_Click(object sender, EventArgs e)
Close();
}
+ private void cbEnuAlignOriginToSitePlaneCenter_CheckedChanged(object sender, EventArgs e)
+ {
+ if (cbEnuAlignOriginToSitePlaneCenter.Checked)
+ {
+ txtEnuModelOriginN.Text = GeoStrings.Auto;
+ txtEnuModelOriginE.Text = GeoStrings.Auto;
+ txtEnuModelOriginH.Text = GetDoubleString(0, 10);
+
+ txtEnuModelOriginN.ReadOnly = true;
+ txtEnuModelOriginE.ReadOnly = true;
+ txtEnuModelOriginH.ReadOnly = true;
+ }
+ else
+ {
+ var modelOrigin = _DefaultModelOrigin ?? new double[] { 0, 0, 0 };
+ txtEnuModelOriginN.Text = GetDoubleString(modelOrigin[1], 10);
+ txtEnuModelOriginE.Text = GetDoubleString(modelOrigin[0], 10);
+ txtEnuModelOriginH.Text = GetDoubleString(modelOrigin[2], 10);
+
+ txtEnuModelOriginN.ReadOnly = false;
+ txtEnuModelOriginE.ReadOnly = false;
+ txtEnuModelOriginH.ReadOnly = false;
+ }
+ }
+
private void cbEnuUseProjectLocation_CheckedChanged(object sender, EventArgs e)
{
if (cbEnuUseProjectLocation.Checked)
@@ -814,6 +968,31 @@ private void cbEnuUseProjectLocation_CheckedChanged(object sender, EventArgs e)
txtEnuRotation.ReadOnly = cbEnuUseProjectLocation.Checked;
}
+ private void cbLocalAlignOriginToSitePlaneCenter_CheckedChanged(object sender, EventArgs e)
+ {
+ if (cbLocalAlignOriginToSitePlaneCenter.Checked)
+ {
+ txtLocalModelOriginN.Text = GeoStrings.Auto;
+ txtLocalModelOriginE.Text = GeoStrings.Auto;
+ txtLocalModelOriginH.Text = GetDoubleString(0, 10);
+
+ txtLocalModelOriginN.ReadOnly = true;
+ txtLocalModelOriginE.ReadOnly = true;
+ txtLocalModelOriginH.ReadOnly = true;
+ }
+ else
+ {
+ var modelOrigin = _DefaultModelOrigin ?? new double[] { 0, 0, 0 };
+ txtLocalModelOriginN.Text = GetDoubleString(modelOrigin[1], 10);
+ txtLocalModelOriginE.Text = GetDoubleString(modelOrigin[0], 10);
+ txtLocalModelOriginH.Text = GetDoubleString(modelOrigin[2], 10);
+
+ txtLocalModelOriginN.ReadOnly = false;
+ txtLocalModelOriginE.ReadOnly = false;
+ txtLocalModelOriginH.ReadOnly = false;
+ }
+ }
+
private void cbLocalUseProjectLocation_CheckedChanged(object sender, EventArgs e)
{
if (cbLocalUseProjectLocation.Checked)
diff --git a/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.resx b/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.resx
index 3c8c61c..f1459b5 100644
--- a/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.resx
+++ b/Bimangle.ForgeEngine.Georeferncing/FormGeoreferncing.resx
@@ -117,1616 +117,2015 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tabPageLocal
+
+
+ Top, Bottom, Left, Right
-
- 7
+
+ FlatButtons
-
-
- 7
+
+ Top, Bottom, Left, Right
-
- 385, 20
-
-
- 12, 12
-
-
+
21, 67
-
-
- Top, Left, Right
+
+
+ True
-
- 4
+
+ Vertical
-
- MiddleRight
+
+ 401, 213
-
- MiddleRight
+
+ 2
-
- 75, 32
+
+ txtAutoSummary
-
-
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tabPageEnu
+
+ tabPageAuto
-
+
0
-
- 387, 20
-
-
- txtProjDefinition
+
+ Top, Left, Right
-
- 69, 21
+
+ 20, 40
-
- 2
+
+ 402, 20
-
- NoControl
+
+ 1
-
-
+
+ cbAutoOriginLocation
-
- MiddleRight
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ tabPageAuto
-
- tabPageProj
+
+ 1
-
- Use Site Location
+
+ Top, Left, Right
-
- MiddleRight
+
+ NoControl
-
- MiddleRight
+
+ 20, 17
-
- 11
+
+ 369, 20
-
+
0
-
-
-
-
- tabPageEnu
+
+ Model Coordinate System:
-
-
+
+ MiddleLeft
-
- 327, 149
+
+ lblAutoOriginLocation
-
- Top, Left, Right
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 0
+
+ tabPageAuto
-
- MiddleRight
+
+ 2
-
- 0
+
+ 4, 25
-
- ENU
+
+ 3, 3, 3, 3
-
-
+
+ 453, 320
-
- 4
+
+ 0
-
- 3
+
+ Auto
-
+
tabPageAuto
-
- Bottom, Right
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
+
+ tabMain
-
- MiddleRight
+
+ 0
-
- tabPageEnu
+
+ Top, Right
-
- MiddleRight
+
+ Disable
-
- 98, 176
+
+ 326, 90
-
- cbEnuUseProjectLocation
+
+ 96, 21
-
- &Reset
+
+ 8
-
- tabMain
+
+ 0
-
- MiddleLeft
+
+ 17, 17
+
+
+ metre
-
- 73, 21
+
+ txtEnuModelOriginH
-
-
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 252, 122
+
+ tabPageEnu
-
-
+
+ 0
-
-
+
+ Top, Right
-
- txtProjCoordinateOffset
+
+ NoControl
-
- btnProjCoordinateOffsetSave
+
+ 247, 90
-
- 19, 122
+
+ 73, 21
-
- lblEnuRotation
+
+ 7
-
- 12
+
+ H(Z):
-
- Height:
+
+ MiddleRight
-
- Latitude:
+
+ lblEnuModelOriginH
-
- 0
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tabMain
+
+ tabPageEnu
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 1
-
- 0
+
+ Top, Left, Right
-
- MiddleRight
+
+ Disable
-
- 14
+
+ 97, 114
-
- 6
+
+ 144, 21
-
- 355, 87
+
+ 6
-
- tabPageProj
+
+ 0
-
- tabPageLocal
+
+ metre
-
- toolTip1
+
+ txtEnuModelOriginE
-
- Degree, range: -360.0 to 360.0
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Disable
+
+ tabPageEnu
-
- Disable
+
+ 2
-
-
+
+ NoControl
-
- 11
+
+ 8, 114
-
- 2
+
+ 83, 21
-
- 1
+
+ 5
-
- 0
+
+ E(X):
-
+
MiddleRight
-
- 0
+
+ lblEnuModelOriginE
-
- Top, Left, Right
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ tabPageEnu
-
-
+
+ 3
-
- metre
+
+ NoControl
-
- 12345678.12
+
+ 6, 90
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 85, 21
-
-
+
+ 3
-
- 37.9118094000
+
+ N(Y):
-
- lblEnuHeight
+
+ MiddleRight
-
- 0
+
+ lblEnuModelOriginN
-
- System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 1
+
+ tabPageEnu
-
- 4, 25
+
+ 4
-
- 2
+
+ Top, Left, Right
-
- MiddleRight
+
+ Disable
-
- 21, 67
+
+ 97, 90
-
- Origin Location:
+
+ 144, 21
+
+
+ 4
-
+
0
-
- tabPageLocal
+
+ metre
-
+
+ txtEnuModelOriginN
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
tabPageEnu
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 5
-
- 2
+
+ Top, Left, Right
-
- 0
+
+ NoControl
-
- 51, 21
+
+ 20, 69
-
- cbProjElevation
+
+ 369, 20
-
- 144, 21
+
+ 2
-
-
+
+ Origin Model Coordinate (unit: metre):
-
- 385, 20
+
+ MiddleLeft
-
- Top, Left, Right
+
+ lblEnuModelOriginCoordinate
-
- 385, 20
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- MiddleLeft
+
+ tabPageEnu
-
- 5
+
+ 6
-
- 11
+
+ True
-
- 20, 161
+
+ NoControl
-
- 19, 17
+
+ 98, 291
-
- metre
+
+ 258, 16
-
- MiddleRight
+
+ 21
-
- tabPageProj
+
+ Automatic alignment to ground curvature
-
- MiddleRight
+
+ cbEnuAutoAlignToGround
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tabPageProj
+
+ tabPageEnu
+
+
+ 7
Top, Left, Right
-
- 3
+
+ NoControl
-
- 1
+
+ 20, 268
-
- Degree, range: -360.0 to 360.0
+
+ 370, 20
-
- MiddleRight
+
+ 20
-
- tabPageLocal
+
+ Advanced Options:
-
- tabPageProj
+
+ MiddleLeft
-
- System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ lblEnuAdvanced
-
- Rotation:
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Latitude:
+
+ tabPageEnu
-
-
+
+ 8
-
- tabMain
+
+ Top, Left, Right
-
-
+
+ 97, 141
-
- 3
+
+ 314, 20
-
- 75, 32
+
+ 9
-
- MiddleRight
+
+ Use the center of the site plan
-
- tabPageEnu
+
+ cbEnuAlignOriginToSitePlaneCenter
-
- 453, 320
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Top, Left, Right
+
+ tabPageEnu
-
- 0
+
+ 9
-
- 71, 21
+
+ True
-
- Prj File|*.prj;*.txt|All File|*.*
+
+ 97, 243
-
- 0
+
+ 252, 16
-
- MiddleLeft
+
+ 19
-
- 19, 17
+
+ Use the default coordinate of the site
-
-
+
+ cbEnuUseProjectLocation
-
- MiddleRight
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
+
+ tabPageEnu
-
+
10
-
- txtEnuLongitude
-
-
- Automatic alignment to ground curvature
-
-
- errorProvider1
-
-
-
+
+ Top, Right
-
- MiddleLeft
+
+ Disable
-
-
+
+ 326, 216
-
- 3
+
+ 96, 21
-
- Top, Left, Right
+
+ 18
-
- 3
+
+ 0
-
- Disable
+
+ Degree, range: -360.0 to 360.0
txtEnuRotation
-
- 385, 20
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
+
+ tabPageEnu
-
-
+
+ 11
-
- 387, 20
+
+ Top, Right
-
- 4
+
+ NoControl
-
- Height:
+
+ 249, 216
-
-
+
+ 71, 21
-
- CenterParent
+
+ 17
-
- 3, 3, 3, 3
+
+ Rotation:
-
- 4, 25
+
+ MiddleRight
-
-
+
+ lblEnuRotation
-
- 385, 20
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
+
+ tabPageEnu
-
-
+
+ 12
-
- 9
+
+ Top, Right
-
- Align origin to site plane center
+
+ Disable
-
- 4
+
+ 326, 189
-
- 2
+
+ 96, 21
-
- Top, Left, Right
+
+ 16
-
- 6, 12
+
+ 0
-
- Top, Left, Right
+
+ metre
-
+
+ txtEnuHeight
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
tabPageEnu
-
- 19, 122
+
+ 13
-
- MiddleRight
+
+ Top, Right
-
- lblLocalLongitude
+
+ NoControl
-
- lblLocalLatitude
+
+ 251, 189
-
- tabPageProj
+
+ 69, 21
-
- 2
+
+ 15
+
+
+ Height:
-
+
MiddleRight
-
- System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ lblEnuHeight
-
- NoControl
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Projected Elevation:
+
+ tabPageEnu
-
- lblEnuLongitude
+
+ 14
-
- NoControl
+
+ Top, Left, Right
-
- 12
+
+ Disable
-
- NoControl
+
+ 97, 216
-
- 2
+
+ 144, 21
-
- Local
+
+