diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
index b298ab5..ce07e15 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
index b298ab5..ce07e15 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 8ace5e0..cb2f611 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
index b298ab5..ce07e15 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 8ace5e0..cb2f611 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.exe b/obj/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/obj/x86/Debug/EMSCyberpipe.exe
+++ b/obj/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
index b298ab5..ce07e15 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 8ace5e0..cb2f611 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.exe b/obj/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/obj/x86/Debug/EMSCyberpipe.exe
+++ b/obj/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.pdb b/obj/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/obj/x86/Debug/EMSCyberpipe.pdb
+++ b/obj/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
index b298ab5..ce07e15 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 8ace5e0..cb2f611 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.exe b/obj/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/obj/x86/Debug/EMSCyberpipe.exe
+++ b/obj/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.pdb b/obj/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/obj/x86/Debug/EMSCyberpipe.pdb
+++ b/obj/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/GenerateResource.read.1.tlog b/obj/x86/Debug/GenerateResource.read.1.tlog
index 9bcd2bd..ffb1c26 100644
--- a/obj/x86/Debug/GenerateResource.read.1.tlog
+++ b/obj/x86/Debug/GenerateResource.read.1.tlog
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
index b298ab5..ce07e15 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 8ace5e0..cb2f611 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.exe b/obj/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/obj/x86/Debug/EMSCyberpipe.exe
+++ b/obj/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.pdb b/obj/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/obj/x86/Debug/EMSCyberpipe.pdb
+++ b/obj/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/GenerateResource.read.1.tlog b/obj/x86/Debug/GenerateResource.read.1.tlog
index 9bcd2bd..ffb1c26 100644
--- a/obj/x86/Debug/GenerateResource.read.1.tlog
+++ b/obj/x86/Debug/GenerateResource.read.1.tlog
Binary files differ
diff --git a/obj/x86/Debug/GenerateResource.write.1.tlog b/obj/x86/Debug/GenerateResource.write.1.tlog
index 06fe7f3..ed512ef 100644
--- a/obj/x86/Debug/GenerateResource.write.1.tlog
+++ b/obj/x86/Debug/GenerateResource.write.1.tlog
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index d156661..b88d61a 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -157,6 +157,14 @@
+
+ False
+ bin\x86\Debug\WHC.Pager.Entity.dll
+
+
+ False
+ bin\x86\Debug\WHC.Pager.WinControl.dll
+
False
.exe
@@ -528,12 +536,24 @@
FrmFlagEdit.cs
+
+ Form
+
+
+ FrmFlagEdits.cs
+
Form
FrmFlagManager.cs
+
+ Form
+
+
+ FrmFlagManagers.cs
+
Form
@@ -1507,9 +1527,15 @@
FrmFlagEdit.cs
+
+ FrmFlagEdits.cs
+
FrmFlagManager.cs
+
+ FrmFlagManagers.cs
+
FrmFlySetDlg.cs
Designer
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 18d4cf6..bb45f87 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/FrmFlagEdits.Designer.cs b/FrmFlagEdits.Designer.cs
new file mode 100644
index 0000000..20d3181
--- /dev/null
+++ b/FrmFlagEdits.Designer.cs
@@ -0,0 +1,308 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagEdits
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.btn_ok = new DevComponents.DotNetBar.ButtonX();
+ this.labelX1 = new DevComponents.DotNetBar.LabelX();
+ this.labelX2 = new DevComponents.DotNetBar.LabelX();
+ this.labelX3 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_no = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX6 = new DevComponents.DotNetBar.LabelX();
+ this.txt_flag_type = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_flag_id = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.txt_deep = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX11 = new DevComponents.DotNetBar.LabelX();
+ this.txt_street = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
+ this.textBoxXgc = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.labelX4 = new DevComponents.DotNetBar.LabelX();
+ this.groupPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // btn_ok
+ //
+ this.btn_ok.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn_ok.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn_ok.Location = new System.Drawing.Point(602, 197);
+ this.btn_ok.Name = "btn_ok";
+ this.btn_ok.Size = new System.Drawing.Size(75, 23);
+ this.btn_ok.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn_ok.TabIndex = 4;
+ this.btn_ok.Text = "确定";
+ this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
+ //
+ // labelX1
+ //
+ this.labelX1.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX1.BackgroundStyle.Class = "";
+ this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX1.Location = new System.Drawing.Point(18, 22);
+ this.labelX1.Name = "labelX1";
+ this.labelX1.Size = new System.Drawing.Size(75, 23);
+ this.labelX1.TabIndex = 0;
+ this.labelX1.Text = "标识器ID";
+ //
+ // labelX2
+ //
+ this.labelX2.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX2.BackgroundStyle.Class = "";
+ this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX2.Location = new System.Drawing.Point(251, 22);
+ this.labelX2.Name = "labelX2";
+ this.labelX2.Size = new System.Drawing.Size(75, 23);
+ this.labelX2.TabIndex = 0;
+ this.labelX2.Text = "编号";
+ //
+ // labelX3
+ //
+ this.labelX3.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX3.BackgroundStyle.Class = "";
+ this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX3.Location = new System.Drawing.Point(466, 22);
+ this.labelX3.Name = "labelX3";
+ this.labelX3.Size = new System.Drawing.Size(75, 23);
+ this.labelX3.TabIndex = 0;
+ this.labelX3.Text = "型号";
+ //
+ // txt_flag_no
+ //
+ //
+ //
+ //
+ this.txt_flag_no.Border.Class = "TextBoxBorder";
+ this.txt_flag_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_no.Location = new System.Drawing.Point(332, 22);
+ this.txt_flag_no.Name = "txt_flag_no";
+ this.txt_flag_no.ReadOnly = true;
+ this.txt_flag_no.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_no.TabIndex = 1;
+ //
+ // labelX6
+ //
+ this.labelX6.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX6.BackgroundStyle.Class = "";
+ this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX6.Location = new System.Drawing.Point(251, 76);
+ this.labelX6.Name = "labelX6";
+ this.labelX6.Size = new System.Drawing.Size(75, 23);
+ this.labelX6.TabIndex = 0;
+ this.labelX6.Text = "埋深*";
+ //
+ // txt_flag_type
+ //
+ //
+ //
+ //
+ this.txt_flag_type.Border.Class = "TextBoxBorder";
+ this.txt_flag_type.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_type.Location = new System.Drawing.Point(547, 22);
+ this.txt_flag_type.Name = "txt_flag_type";
+ this.txt_flag_type.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_type.TabIndex = 1;
+ //
+ // txt_flag_id
+ //
+ //
+ //
+ //
+ this.txt_flag_id.Border.Class = "TextBoxBorder";
+ this.txt_flag_id.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_flag_id.Location = new System.Drawing.Point(99, 22);
+ this.txt_flag_id.Name = "txt_flag_id";
+ this.txt_flag_id.ReadOnly = true;
+ this.txt_flag_id.Size = new System.Drawing.Size(128, 21);
+ this.txt_flag_id.TabIndex = 1;
+ //
+ // txt_deep
+ //
+ //
+ //
+ //
+ this.txt_deep.Border.Class = "TextBoxBorder";
+ this.txt_deep.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_deep.Location = new System.Drawing.Point(332, 80);
+ this.txt_deep.Name = "txt_deep";
+ this.txt_deep.Size = new System.Drawing.Size(128, 21);
+ this.txt_deep.TabIndex = 1;
+ //
+ // labelX11
+ //
+ this.labelX11.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX11.BackgroundStyle.Class = "";
+ this.labelX11.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX11.Location = new System.Drawing.Point(466, 76);
+ this.labelX11.Name = "labelX11";
+ this.labelX11.Size = new System.Drawing.Size(75, 23);
+ this.labelX11.TabIndex = 5;
+ this.labelX11.Text = "所属道路";
+ //
+ // txt_street
+ //
+ //
+ //
+ //
+ this.txt_street.Border.Class = "TextBoxBorder";
+ this.txt_street.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txt_street.Location = new System.Drawing.Point(547, 76);
+ this.txt_street.Name = "txt_street";
+ this.txt_street.Size = new System.Drawing.Size(128, 21);
+ this.txt_street.TabIndex = 12;
+ //
+ // groupPanel1
+ //
+ this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
+ this.groupPanel1.Controls.Add(this.textBoxXgc);
+ this.groupPanel1.Controls.Add(this.labelX4);
+ this.groupPanel1.Controls.Add(this.txt_street);
+ this.groupPanel1.Controls.Add(this.labelX11);
+ this.groupPanel1.Controls.Add(this.txt_deep);
+ this.groupPanel1.Controls.Add(this.txt_flag_id);
+ this.groupPanel1.Controls.Add(this.txt_flag_type);
+ this.groupPanel1.Controls.Add(this.labelX6);
+ this.groupPanel1.Controls.Add(this.txt_flag_no);
+ this.groupPanel1.Controls.Add(this.labelX3);
+ this.groupPanel1.Controls.Add(this.labelX2);
+ this.groupPanel1.Controls.Add(this.labelX1);
+ this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupPanel1.Location = new System.Drawing.Point(0, 0);
+ this.groupPanel1.Name = "groupPanel1";
+ this.groupPanel1.Size = new System.Drawing.Size(701, 180);
+ //
+ //
+ //
+ this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.groupPanel1.Style.BackColorGradientAngle = 90;
+ this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderBottomWidth = 1;
+ this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderLeftWidth = 1;
+ this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderRightWidth = 1;
+ this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.groupPanel1.Style.BorderTopWidth = 1;
+ this.groupPanel1.Style.Class = "";
+ this.groupPanel1.Style.CornerDiameter = 4;
+ this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
+ this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
+ this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseDown.Class = "";
+ this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.groupPanel1.StyleMouseOver.Class = "";
+ this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.groupPanel1.TabIndex = 2;
+ this.groupPanel1.Text = "标识器属性信息";
+ //
+ // textBoxXgc
+ //
+ //
+ //
+ //
+ this.textBoxXgc.Border.Class = "TextBoxBorder";
+ this.textBoxXgc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxXgc.Location = new System.Drawing.Point(99, 78);
+ this.textBoxXgc.Name = "textBoxXgc";
+ this.textBoxXgc.Size = new System.Drawing.Size(128, 21);
+ this.textBoxXgc.TabIndex = 14;
+ //
+ // labelX4
+ //
+ this.labelX4.BackColor = System.Drawing.Color.Transparent;
+ //
+ //
+ //
+ this.labelX4.BackgroundStyle.Class = "";
+ this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.labelX4.Location = new System.Drawing.Point(18, 78);
+ this.labelX4.Name = "labelX4";
+ this.labelX4.Size = new System.Drawing.Size(75, 23);
+ this.labelX4.TabIndex = 13;
+ this.labelX4.Text = "地面高程";
+ //
+ // FrmFlagEdits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(701, 236);
+ this.Controls.Add(this.btn_ok);
+ this.Controls.Add(this.groupPanel1);
+ this.DoubleBuffered = true;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "FrmFlagEdits";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器属性编辑";
+ this.groupPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevComponents.DotNetBar.ButtonX btn_ok;
+ private DevComponents.DotNetBar.LabelX labelX1;
+ private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.LabelX labelX3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_no;
+ private DevComponents.DotNetBar.LabelX labelX6;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_type;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_flag_id;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_deep;
+ private DevComponents.DotNetBar.LabelX labelX11;
+ private DevComponents.DotNetBar.Controls.TextBoxX txt_street;
+ private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxXgc;
+ private DevComponents.DotNetBar.LabelX labelX4;
+
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagEdits.cs b/FrmFlagEdits.cs
new file mode 100644
index 0000000..ff25a41
--- /dev/null
+++ b/FrmFlagEdits.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagEdits : Office2007Form
+ {
+ public FrmFlagEdits()
+ {
+ InitializeComponent();
+ }
+ string id = "";
+ public FrmFlagEdits(string id, string flagid, string flagno, string flagtype,
+ string deep, string street,string gc)
+ {
+ InitializeComponent();
+ this.id = id;
+ txt_flag_id.Text = flagid;//标识器ID
+ txt_flag_no.Text = flagno;//编号
+ txt_flag_type.Text = flagtype;//标识器型号
+ textBoxXgc.Text = gc;//地面高程
+ txt_deep.Text = deep;//埋深
+ txt_street.Text = street;//所属道路
+
+ }
+
+ private void btn_ok_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ double outer;
+
+ if (!double.TryParse(txt_deep.Text.Trim(), out outer))
+ {
+ MessageBox.Show("埋深取值有误!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ txt_deep.Focus();
+ return;
+ }
+ string sql = "update 标识器 t " +
+ "set t.标识器id号 = '" + txt_flag_id.Text.Trim() + "'," +
+ "t.编号 = '" + txt_flag_no.Text.Trim() + "'," +
+ "t.标识器型号 = '" + txt_flag_type.Text.Trim() + "'," +
+ "t.地面高程 =" + textBoxXgc.Text.Trim() + "," +
+ "t.标识器埋深 =" + txt_deep.Text.Trim() + "," +
+ "t.所属道路 = '" + txt_street.Text.Trim() + "'" +
+ "where t.LSSYS_ID =" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ if (MessageBox.Show("属性编辑成功!", "结果", MessageBoxButtons.YesNo, MessageBoxIcon.Question)==DialogResult.Yes)
+ {
+ this.Close();
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+
+ }
+}
diff --git a/FrmFlagEdits.resx b/FrmFlagEdits.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagEdits.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs
index 8b953da..0e32a4e 100644
--- a/FrmFlagManager.Designer.cs
+++ b/FrmFlagManager.Designer.cs
@@ -204,15 +204,14 @@
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
- this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
+ this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dataGridViewX1.Location = new System.Drawing.Point(0, 28);
this.dataGridViewX1.MultiSelect = false;
this.dataGridViewX1.Name = "dataGridViewX1";
this.dataGridViewX1.ReadOnly = true;
this.dataGridViewX1.RowTemplate.Height = 23;
this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dataGridViewX1.Size = new System.Drawing.Size(966, 437);
+ this.dataGridViewX1.Size = new System.Drawing.Size(966, 403);
this.dataGridViewX1.TabIndex = 1;
this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick);
this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick);
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
new file mode 100644
index 0000000..f4a9e5b
--- /dev/null
+++ b/FrmFlagManagers.Designer.cs
@@ -0,0 +1,176 @@
+namespace Cyberpipe
+{
+ partial class FrmFlagManagers
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.winGridViewPager1 = new WHC.Pager.WinControl.WinGridViewPager();
+ this.bar1 = new DevComponents.DotNetBar.Bar();
+ this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
+ this.txt_no = new DevComponents.DotNetBar.TextBoxItem();
+ this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
+ this.combo_street = new DevComponents.DotNetBar.ComboBoxItem();
+ this.btn_query = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_batch = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_db = new DevComponents.DotNetBar.ButtonItem();
+ this.tableLayoutPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.winGridViewPager1, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.bar1, 0, 0);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 2;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(770, 467);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // winGridViewPager1
+ //
+ this.winGridViewPager1.AppendedMenu = null;
+ this.winGridViewPager1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.winGridViewPager1.DataSource = null;
+ this.winGridViewPager1.DisplayColumns = "";
+ this.winGridViewPager1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.winGridViewPager1.Location = new System.Drawing.Point(3, 35);
+ this.winGridViewPager1.MinimumSize = new System.Drawing.Size(540, 0);
+ this.winGridViewPager1.Name = "winGridViewPager1";
+ this.winGridViewPager1.PrintTitle = "";
+ this.winGridViewPager1.Size = new System.Drawing.Size(764, 429);
+ this.winGridViewPager1.TabIndex = 5;
+ //
+ // bar1
+ //
+ this.bar1.AntiAlias = true;
+ this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
+ this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.labelItem1,
+ this.txt_no,
+ this.labelItem2,
+ this.combo_street,
+ this.btn_query,
+ this.btn_add_batch,
+ this.btn_add_menu,
+ this.btn_db});
+ this.bar1.Location = new System.Drawing.Point(3, 3);
+ this.bar1.Name = "bar1";
+ this.bar1.Size = new System.Drawing.Size(764, 28);
+ this.bar1.Stretch = true;
+ this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.bar1.TabIndex = 1;
+ this.bar1.TabStop = false;
+ this.bar1.Text = "bar1";
+ //
+ // labelItem1
+ //
+ this.labelItem1.Name = "labelItem1";
+ this.labelItem1.Text = "编号";
+ //
+ // txt_no
+ //
+ this.txt_no.Name = "txt_no";
+ this.txt_no.TextBoxWidth = 200;
+ this.txt_no.WatermarkColor = System.Drawing.SystemColors.GrayText;
+ //
+ // labelItem2
+ //
+ this.labelItem2.Name = "labelItem2";
+ this.labelItem2.Text = "街道";
+ //
+ // combo_street
+ //
+ this.combo_street.ComboWidth = 200;
+ this.combo_street.DropDownHeight = 106;
+ this.combo_street.ItemHeight = 17;
+ this.combo_street.Name = "combo_street";
+ //
+ // btn_query
+ //
+ this.btn_query.Name = "btn_query";
+ this.btn_query.Text = "查询";
+ this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
+ //
+ // btn_add_batch
+ //
+ this.btn_add_batch.Name = "btn_add_batch";
+ this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
+ //
+ // btn_add_menu
+ //
+ this.btn_add_menu.Name = "btn_add_menu";
+ this.btn_add_menu.Text = "手工添加";
+ this.btn_add_menu.Click += new System.EventHandler(this.btn_add_menu_Click);
+ //
+ // btn_db
+ //
+ this.btn_db.Name = "btn_db";
+ this.btn_db.Text = "数据导出";
+ //
+ // FrmFlagManagers
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(770, 467);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.DoubleBuffered = true;
+ this.Name = "FrmFlagManagers";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "标识器管理";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFlagManagers_FormClosing);
+ this.Load += new System.EventHandler(this.FrmFlagManagers_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private WHC.Pager.WinControl.WinGridViewPager winGridViewPager1;
+ private DevComponents.DotNetBar.Bar bar1;
+ private DevComponents.DotNetBar.LabelItem labelItem1;
+ private DevComponents.DotNetBar.TextBoxItem txt_no;
+ private DevComponents.DotNetBar.LabelItem labelItem2;
+ private DevComponents.DotNetBar.ComboBoxItem combo_street;
+ private DevComponents.DotNetBar.ButtonItem btn_query;
+ private DevComponents.DotNetBar.ButtonItem btn_add_batch;
+ private DevComponents.DotNetBar.ButtonItem btn_add_menu;
+ private DevComponents.DotNetBar.ButtonItem btn_db;
+ }
+}
\ No newline at end of file
diff --git a/FrmFlagManagers.cs b/FrmFlagManagers.cs
new file mode 100644
index 0000000..2fca3f5
--- /dev/null
+++ b/FrmFlagManagers.cs
@@ -0,0 +1,410 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using DevComponents.DotNetBar;
+using GeoScene.Globe;
+using GeoScene.Data;
+using GeoScene.Engine;
+using System.IO;
+using System.Reflection;
+using System.Data.OracleClient;
+using WHC.Pager.WinControl;
+
+namespace Cyberpipe
+{
+ public partial class FrmFlagManagers : Office2007Form
+ {
+ GSOGlobeControl globeControl1 = null;
+ int maxPageIndex = 20;
+ public static bool IS_OPEN = false;
+ int rows = 0;
+ public static GeoScene.Engine.GSODataSource ds = null;
+ TreeNode layerManagerNode = null;
+ List Features = new List();
+
+ public FrmFlagManagers(GSOGlobeControl _globeControl1)
+ {
+ this.globeControl1 = _globeControl1;
+ InitializeComponent();
+ winGridViewPager1.OnPageChanged += new EventHandler(winGridViewPager1_OnPageChanged);
+ this.winGridViewPager1.OnAddNew += new EventHandler(winGridViewPager1_OnAddNew); //右键定位
+ this.winGridViewPager1.OnEditSelected += new EventHandler(winGridViewPager1_OnEditSelected);//属性编辑
+ this.winGridViewPager1.OnDeleteSelected += new EventHandler(winGridViewPager1_OnDeleteSelected);//标识器报废
+
+ this.winGridViewPager1.OnStartExport += new EventHandler(pager1_OnStartExport);
+ this.winGridViewPager1.OnEndExport += new EventHandler(pager1_OnEndExport);
+ //this.winGridViewPager1.ExportCurrent += new ExportCurrentEventHandler(pager1_ExportCurrent);
+ //this.winGridViewPager1.ExportAll += new ExportAllEventHandler(pager1_ExportAll);
+
+ winGridViewPager1.dataGridView1.MultiSelect = false;
+
+ }
+
+ void pager1_OnEndExport(object sender, EventArgs e)
+ {
+
+ }
+
+ void pager1_OnStartExport(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+ ///
+ /// 初始化分页表格
+ ///
+ private void initlizeDatagrid()
+ {
+
+ //控制表格显示的列,以及每一列要显示的列名
+ this.winGridViewPager1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.dataGridView1.Dock = DockStyle.Fill;
+ this.winGridViewPager1.AddColumnAlias("编号", "编号");
+ this.winGridViewPager1.AddColumnAlias("标识器ID号", "标识器ID号");
+ this.winGridViewPager1.AddColumnAlias("标识器型号", "标识器型号");
+ this.winGridViewPager1.AddColumnAlias("地面高程", "地面高程");
+ this.winGridViewPager1.AddColumnAlias("标识器埋深", "标识器埋深");
+ this.winGridViewPager1.AddColumnAlias("对象编号", "对象编号");
+ this.winGridViewPager1.AddColumnAlias("对象类型", "对象类型");
+ this.winGridViewPager1.AddColumnAlias("所属道路", "所属道路");
+ this.winGridViewPager1.AddColumnAlias("使用状态", "使用状态");
+
+ this.winGridViewPager1.DisplayColumns = "编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态";
+
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+
+ //隐藏右键功能按钮
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Visible = false;
+ //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[4].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[5].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[6].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[7].Visible = false;
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[1].Text = "定位查看";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Text = "属性编辑";
+ winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Text = "标识器报废";
+ //数据铺满表格
+ this.winGridViewPager1.dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
+ //控制间隔的颜色
+ winGridViewPager1.BackColor = Color.LightCyan;//间隔颜色
+ //控制每页显示的最大数据量
+ winGridViewPager1.PagerInfo.RecordCount = rows;
+ winGridViewPager1.PagerInfo.PageSize = maxPageIndex;
+ winGridViewPager1.dataGridView1.Refresh();
+ //winGridViewPager1.Controls.RemoveAt(1);
+
+ }
+ ///
+ /// 页面刷新
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnPageChanged(object sender, EventArgs e)
+ {
+ LoadData();
+
+ }
+ ///
+ /// 属性编辑
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ string flagid = row.Cells["标识器ID号"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string gc = row.Cells["地面高程"].Value.ToString();
+ string flagtype = row.Cells["标识器型号"].Value.ToString();
+ string deep = row.Cells["标识器埋深"].Value.ToString();
+ string street = row.Cells["所属道路"].Value.ToString();
+
+ FrmFlagEdits frm = new FrmFlagEdits(id, flagid, flagno,flagtype, deep, street,gc);
+ frm.ShowDialog();
+ winGridViewPager1.Refresh();
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("属性编辑失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ }
+ ///
+ /// 右键定位
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnAddNew(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ try
+ {
+ this.WindowState = FormWindowState.Minimized;
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ string flagno = row.Cells["编号"].Value.ToString();
+ string flagstreet = row.Cells["所属道路"].Value.ToString();
+ double x = Convert.ToDouble(row.Cells["X坐标"].Value);
+ double y = Convert.ToDouble(row.Cells["Y坐标"].Value);
+ GSOFeature flagFeature = globeControl1.Globe.Layers.GetLayerByCaption("标识器").GetFeatureByID(int.Parse(id));
+
+ string type = "";
+ string pipe = "";
+ string sql = "select t.标识器型号,t.对象编号 from 标识器 t where t.编号='" + flagno + "'";
+ using (OracleDataReader reader = OracleUtils.ExecuteReader(OracleUtils.ConnectionString, CommandType.Text, sql))
+ {
+ while (reader.Read())
+ {
+ type = reader.GetString(0);
+ pipe = reader.GetString(1);
+ }
+ }
+
+ GSOLabel label = new GSOLabel();
+ label.Text = "标识器编号:" + flagno + "\r\n" +
+ "标识器类型:" + type + "\r\n" +
+ //"标识对象编号:" + pipe + "\r\n" +
+ "所属道路:" + flagstreet;
+ label.Style = new GSOLabelStyle();
+ label.Style.TextStyle.FontSize = 18;
+ label.Style.TextStyle.ForeColor = Color.FromArgb(0, 0, 0, 255);
+ label.Style.Opaque = 0.8; //设置标注的透明度,取值区间是0-1
+ label.Style.TracktionLineType = EnumTracktionLineType.Solid;
+ label.Style.TextStyle.FontHeight = 10;
+ label.Style.TextStyle.FontName = "黑体";
+ label.Style.TractionLineEndPos = new GSOPoint2d(80, 60);
+
+ flagFeature.Label = label;
+ Features.Add(flagFeature);
+ globeControl1.Globe.JumpToFeature(flagFeature, 20);
+ this.globeControl1.Refresh();
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器定位失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+
+ }
+ }
+ ///
+ /// 标识器报废
+ ///
+ ///
+ ///
+ private void winGridViewPager1_OnDeleteSelected(object sender, EventArgs e)
+ {
+ DataGridView grid = sender as DataGridView;
+ if (grid != null)
+ {
+ DataGridViewRow row = grid.SelectedRows[0];
+ string id = row.Cells["LSSYS_ID"].Value.ToString();
+ try
+ {
+ if (MessageBox.Show("确定废弃?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ string sql = "update 标识器 t set t.使用状态='废弃' where t.lssys_id=" + id;
+ OracleUtils.ExecuteNonQuery(OracleUtils.ConnectionString, CommandType.Text, sql);
+ winGridViewPager1.dataGridView1.Rows.Remove(row);
+ winGridViewPager1.Refresh();
+ MessageBox.Show("标识器废弃成功!", "结果", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("标识器报废失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+ }
+ private void FrmFlagManagers_Load(object sender, EventArgs e)
+ {
+ //string sql = "select 编号,标识器ID号,地面高程,标识器埋深,对象编号,对象类型,所属道路,使用状态 from 标识器";
+ bindComboxStreet();
+ LoadData();
+
+ IS_OPEN = true;
+ }
+
+ private void LoadData()
+ {
+ int pageIndex = winGridViewPager1.PagerInfo.CurrenetPageIndex;
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private void LoadData(int pageIndex)
+ {
+ string sqlData = GetSql(pageIndex);
+ initlizeDatagrid();
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sqlData).Tables[0];
+ winGridViewPager1.DataSource = table.DefaultView;
+
+ winGridViewPager1.Refresh();
+ }
+
+ private string GetSql(int pageIndex)
+ {
+
+ string sqlCount = "select count(*) from 标识器 where 使用状态 = '使用中'";
+
+ string sqlData = "select 编号,标识器ID号,标识器型号,地面高程,标识器埋深,对象编号,对象类型,所属道路,LSSYS_ID,X坐标,Y坐标,使用状态 " +
+ "from (select t.*,rownum row_num from 标识器 t where 使用状态 = '使用中' order by 编号)b "+
+ " where(b.row_num between " + (pageIndex - 1) * maxPageIndex + " and " + pageIndex * maxPageIndex + ")";
+
+ if (!String.IsNullOrEmpty(txt_no.Text.Trim()))
+ {
+ sqlCount += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ sqlData += " and 编号 like '%" + txt_no.Text.Trim() + "%'";
+ }
+ if (null != combo_street.SelectedItem && !String.IsNullOrEmpty(combo_street.SelectedItem.ToString().Trim()))
+ {
+ sqlData += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ sqlCount += " and 所属道路='" + combo_street.SelectedItem.ToString().Trim() + "'";
+ }
+
+ rows = int.Parse(OracleUtils.ExecuteScalar(OracleUtils.ConnectionString, CommandType.Text, sqlCount).ToString());
+
+ return sqlData;
+ }
+
+ private void bindComboxStreet()
+ {
+ ComboBoxItem item = new ComboBoxItem();
+ //item.Text = "";
+ //combo_street.Items.Add(item);
+
+ String sql = "select distinct t.所属道路 from 标识器 t where t.使用状态='使用中'";
+ DataTable table = OracleUtils.ExecuteDataset(OracleUtils.ConnectionString, CommandType.Text, sql).Tables[0];
+ foreach (DataRow row in table.Rows)
+ {
+ item = new ComboBoxItem();
+ item.Text = row[0].ToString();
+ if (!item.Text.Equals(""))
+ combo_street.Items.Add(item);
+ }
+ }
+
+ private void FrmFlagManagers_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ IS_OPEN = false;
+ globeControl1.Globe.MemoryLayer.RemoveAllFeature();
+ foreach (GSOFeature f in Features)
+ {
+ f.Label = null;
+ }
+ globeControl1.Globe.Layers["标识器"].Save();
+ Features.RemoveRange(0, Features.Count);
+ globeControl1.Refresh();
+
+ }
+
+ private void btn_query_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ LoadData(1);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("查询失败:" + ex.ToString(), "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ private void btn_add_batch_Click(object sender, EventArgs e)
+ {
+ if (ds == null && null != globeControl1)
+ {
+ FrmFlagDatabase frmDB = new FrmFlagDatabase(globeControl1);
+ if (frmDB.ShowDialog() == DialogResult.OK)
+ {
+ ds = FrmFlagDatabase.ds;
+ }
+ }
+
+ if (ds != null && null != globeControl1)
+ {
+ FrmAddFlagBatch frmFlag = new FrmAddFlagBatch(globeControl1, ds);
+ if (frmFlag.ShowDialog() == DialogResult.OK)
+ {
+ addNodeToLayerManagerNode(frmFlag.flags);
+ }
+ }
+ }
+
+ private Boolean CheckDatasetGeoReference(GSODataset dataset)
+ {
+ Boolean bSuccess = false;
+ if (dataset.GeoReferenceType == EnumGeoReferenceType.Flat)
+ {
+ if (MessageBox.Show("数据没有空间参考信息,请设置空间参考信息!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) == DialogResult.OK)
+ {
+ String strPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\Coordinate Systems";
+ OpenFileDialog dlg = new OpenFileDialog();
+
+ dlg.InitialDirectory = strPath;
+ dlg.RestoreDirectory = true;
+
+ dlg.Filter = "投影文件|*.prj||";
+ if (dlg.ShowDialog() == DialogResult.OK)
+ {
+ bSuccess = dataset.LoadProjectionFromESRIFile(dlg.FileName);
+ }
+ }
+ }
+ else
+ {
+ return true;
+ }
+ return bSuccess;
+ }
+
+ private void addNodeToLayerManagerNode(GSOLayer layer)
+ {
+ if (layer != null)
+ {
+ GSODataset dataset = layer.Dataset;
+ CheckDatasetGeoReference(layer.Dataset);
+ TreeNode node = new TreeNode();
+ node.Tag = layer;
+ node.Text = layer.Dataset.Caption;
+ node.ImageIndex = 0;
+ node.SelectedImageIndex = 0;
+ node.Checked = layer.Visible;
+ layerManagerNode.Nodes.Insert(0, node);
+ layerManagerNode.Expand();
+ }
+ }
+
+ private void btn_add_menu_Click(object sender, EventArgs e)
+ {
+ if (null != globeControl1)
+ {
+ FrmAddSinMark frm = new FrmAddSinMark(globeControl1);
+ frm.ShowDialog();
+ }
+ }
+
+
+
+ }
+}
diff --git a/FrmFlagManagers.resx b/FrmFlagManagers.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/FrmFlagManagers.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MainFrm.cs b/MainFrm.cs
index 7f86775..a7901c1 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -15340,11 +15340,11 @@
private void btn_flag_Click(object sender, EventArgs e)
{
- if (FrmFlagManager.IS_OPEN)
+ if (FrmFlagManagers.IS_OPEN)
{
return;
}
- FrmFlagManager frm = new FrmFlagManager(globeControl1);
+ FrmFlagManagers frm = new FrmFlagManagers(globeControl1);
frm.Show(this);
}
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index a11874d..c4bd11b 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -82,6 +82,7 @@
this.sideBar1 = new DevComponents.DotNetBar.SideBar();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.layerSensorTree = new System.Windows.Forms.TreeView();
+ this.layerTree = new Cyberpipe.MyTreeView();
this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem();
this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem();
this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem();
@@ -365,26 +366,16 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
- this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
- this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
- this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
- this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
- this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
+ this.slider4ground = new DevComponents.DotNetBar.SliderItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.btn_device = new DevComponents.DotNetBar.ButtonItem();
this.btn_Person = new DevComponents.DotNetBar.ButtonItem();
this.btn_constructMap = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem9 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSH = new DevComponents.DotNetBar.ButtonItem();
@@ -551,10 +542,29 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel7 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
- this.btn_flag = new DevComponents.DotNetBar.ButtonItem();
- this.slider4ground = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
+ this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
+ this.ribbonPanel8 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar_UserInfo = new DevComponents.DotNetBar.RibbonBar();
+ this.btn_user_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_resc_info = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_role_resc = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_user_role = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_password_edit = new DevComponents.DotNetBar.ButtonItem();
+ this.btn_reset_password = new DevComponents.DotNetBar.ButtonItem();
+ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem_TaskManager = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_OnlineTask = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem_Event = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
@@ -594,15 +604,6 @@
this.buttonItemPJFB = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemXTWJ = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemDZWD = new DevComponents.DotNetBar.ButtonItem();
- this.ribbonPanel6 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItemSPDB = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPLD = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPFX = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemSPSZ = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItemLocation = new DevComponents.DotNetBar.ButtonItem();
- this.sliderItem2 = new DevComponents.DotNetBar.SliderItem();
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem11 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem6 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -653,7 +654,6 @@
this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
- this.layerTree = new Cyberpipe.MyTreeView();
this.statusStrip1.SuspendLayout();
this.sideBar1.SuspendLayout();
this.panelEx3.SuspendLayout();
@@ -690,16 +690,16 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
- this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel6.SuspendLayout();
+ this.ribbonPanel8.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
this.ribbonPanel12.SuspendLayout();
this.ribbonPanel5.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
- this.ribbonPanel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -1094,6 +1094,16 @@
this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck);
this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick);
//
+ // layerTree
+ //
+ this.layerTree.CheckBoxes = true;
+ this.layerTree.ItemHeight = 18;
+ this.layerTree.Location = new System.Drawing.Point(30, 78);
+ this.layerTree.Name = "layerTree";
+ this.layerTree.Size = new System.Drawing.Size(121, 97);
+ this.layerTree.TabIndex = 1;
+ this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
+ //
// sideBarPanelItem3
//
this.sideBarPanelItem3.FontBold = true;
@@ -3485,28 +3495,28 @@
// 横断面分析ToolStripMenuItem
//
this.横断面分析ToolStripMenuItem.Name = "横断面分析ToolStripMenuItem";
- this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.横断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.横断面分析ToolStripMenuItem.Text = "横断面分析";
this.横断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_1_Click);
//
// 纵断面分析ToolStripMenuItem
//
this.纵断面分析ToolStripMenuItem.Name = "纵断面分析ToolStripMenuItem";
- this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.纵断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.纵断面分析ToolStripMenuItem.Text = "纵断面分析";
this.纵断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_2_Click);
//
// 道路断面分析ToolStripMenuItem
//
this.道路断面分析ToolStripMenuItem.Name = "道路断面分析ToolStripMenuItem";
- this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.道路断面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.道路断面分析ToolStripMenuItem.Text = "道路断面分析";
this.道路断面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_3_Click);
//
// 基线剖面分析ToolStripMenuItem
//
this.基线剖面分析ToolStripMenuItem.Name = "基线剖面分析ToolStripMenuItem";
- this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.基线剖面分析ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.基线剖面分析ToolStripMenuItem.Text = "基线剖面分析";
this.基线剖面分析ToolStripMenuItem.Click += new System.EventHandler(this.buttonItemFX2_4_Click);
//
@@ -4216,134 +4226,83 @@
this.ribbonControl1.UseCustomizeDialog = false;
this.ribbonControl1.Click += new System.EventHandler(this.ribbonControl1_Click);
//
- // ribbonPanel8
+ // ribbonPanel7
//
- this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
- this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel8.Name = "ribbonPanel8";
- this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel7.Controls.Add(this.ribbonBar5);
+ this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel7.Name = "ribbonPanel7";
+ this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
//
//
//
- this.ribbonPanel8.Style.Class = "";
- this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseDown.Class = "";
- this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel8.StyleMouseOver.Class = "";
- this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel8.TabIndex = 42;
- this.ribbonPanel8.Visible = false;
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
//
- // ribbonBar_UserInfo
+ // ribbonBar5
//
- this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ this.ribbonBar5.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
- this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
- this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_user_info,
- this.btn_role_info,
- this.btn_resc_info,
- this.btn_role_resc,
- this.btn_user_role,
- this.btn_password_edit,
- this.btn_reset_password});
- this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
- this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
- this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar_UserInfo.TabIndex = 0;
+ this.ribbonBar5.BackgroundStyle.Class = "";
+ this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.ContainerControlProcessDialogKey = true;
+ this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_flag,
+ this.slider4ground});
+ this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar5.Name = "ribbonBar5";
+ this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
//
//
//
- this.ribbonBar_UserInfo.TitleStyle.Class = "";
- this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
- this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
//
- // btn_user_info
+ // btn_flag
//
- this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
- this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_info.Name = "btn_user_info";
- this.btn_user_info.SubItemsExpandWidth = 14;
- this.btn_user_info.Text = "用户管理";
- this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
+ this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_flag.Name = "btn_flag";
+ this.btn_flag.SubItemsExpandWidth = 14;
+ this.btn_flag.Text = "标识器管理";
+ this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
//
- // btn_role_info
+ // slider4ground
//
- this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_info.Name = "btn_role_info";
- this.btn_role_info.SubItemsExpandWidth = 14;
- this.btn_role_info.Text = "角色管理";
- this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
- //
- // btn_resc_info
- //
- this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
- this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_resc_info.Name = "btn_resc_info";
- this.btn_resc_info.SubItemsExpandWidth = 14;
- this.btn_resc_info.Text = "资源管理";
- this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
- //
- // btn_role_resc
- //
- this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
- this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_role_resc.Name = "btn_role_resc";
- this.btn_role_resc.SubItemsExpandWidth = 14;
- this.btn_role_resc.Text = "角色授权";
- this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
- //
- // btn_user_role
- //
- this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
- this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_user_role.Name = "btn_user_role";
- this.btn_user_role.SubItemsExpandWidth = 14;
- this.btn_user_role.Text = "用户授权";
- this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
- //
- // btn_password_edit
- //
- this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
- this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_password_edit.Name = "btn_password_edit";
- this.btn_password_edit.SubItemsExpandWidth = 14;
- this.btn_password_edit.Text = "密码修改";
- this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
- //
- // btn_reset_password
- //
- this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
- this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_reset_password.Name = "btn_reset_password";
- this.btn_reset_password.SubItemsExpandWidth = 14;
- this.btn_reset_password.Text = "重置密码";
- this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.slider4ground.Name = "slider4ground";
+ this.slider4ground.Text = "地面透明度";
+ this.slider4ground.Value = 0;
+ this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
//
// ribbonPanel3
//
@@ -4447,97 +4406,6 @@
this.buttonItem9.Text = "文档管理";
this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
//
- // ribbonPanel2
- //
- this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel2.Controls.Add(this.ribbonBar4);
- this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
- //
- //
- //
- this.ribbonPanel2.Style.Class = "";
- this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseDown.Class = "";
- this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel2.StyleMouseOver.Class = "";
- this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel2.TabIndex = 39;
- this.ribbonPanel2.Visible = false;
- //
- // ribbonBar4
- //
- this.ribbonBar4.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.BackgroundStyle.Class = "";
- this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.ContainerControlProcessDialogKey = true;
- this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem_TaskManager,
- this.buttonItem_OnlineTask,
- this.buttonItem_Event});
- this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar4.Name = "ribbonBar4";
- this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
- this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar4.TabIndex = 0;
- this.ribbonBar4.Text = "ribbonBar4";
- //
- //
- //
- this.ribbonBar4.TitleStyle.Class = "";
- this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar4.TitleStyleMouseOver.Class = "";
- this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar4.TitleVisible = false;
- //
- // buttonItem_TaskManager
- //
- this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
- this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
- this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
- this.buttonItem_TaskManager.Text = "工单管理";
- this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
- //
- // buttonItem_OnlineTask
- //
- this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
- this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
- this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
- this.buttonItem_OnlineTask.Text = "在线任务";
- this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
- //
- // buttonItem_Event
- //
- this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
- this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem_Event.Name = "buttonItem_Event";
- this.buttonItem_Event.SubItemsExpandWidth = 14;
- this.buttonItem_Event.Text = "事件管理";
- this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
- //
// ribbonPanel15
//
this.ribbonPanel15.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -5892,83 +5760,361 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_Click);
//
- // ribbonPanel7
+ // ribbonPanel6
//
- this.ribbonPanel7.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel7.Controls.Add(this.ribbonBar5);
- this.ribbonPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel7.Location = new System.Drawing.Point(0, 33);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel6.Controls.Add(this.ribbonBar6);
+ this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel6.Name = "ribbonPanel6";
+ this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
//
//
//
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.Style.Class = "";
+ this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.StyleMouseDown.Class = "";
+ this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
+ this.ribbonPanel6.StyleMouseOver.Class = "";
+ this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel6.TabIndex = 38;
+ this.ribbonPanel6.Visible = false;
//
- // ribbonBar5
+ // ribbonBar6
//
- this.ribbonBar5.AutoOverflowEnabled = true;
+ this.ribbonBar6.AutoOverflowEnabled = true;
//
//
//
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.BackgroundStyle.Class = "";
- this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.ContainerControlProcessDialogKey = true;
- this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_flag,
- this.slider4ground});
- this.ribbonBar5.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar5.Name = "ribbonBar5";
- this.ribbonBar5.Size = new System.Drawing.Size(427, 59);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
+ this.ribbonBar6.BackgroundStyle.Class = "";
+ this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.ContainerControlProcessDialogKey = true;
+ this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItemSPDB,
+ this.buttonItemSPLD,
+ this.buttonItemSPFX,
+ this.buttonItemSPSZ,
+ this.buttonItem8,
+ this.buttonItemLocation,
+ this.sliderItem2});
+ this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar6.Name = "ribbonBar6";
+ this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
+ this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar6.TabIndex = 0;
//
//
//
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleStyle.Class = "";
+ this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar6.TitleStyleMouseOver.Class = "";
+ this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar6.TitleVisible = false;
//
- // btn_flag
+ // buttonItemSPDB
//
- this.btn_flag.Image = global::Cyberpipe.Properties.Resources._24x24icon_03_hover;
- this.btn_flag.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_flag.Name = "btn_flag";
- this.btn_flag.SubItemsExpandWidth = 14;
- this.btn_flag.Text = "标识器管理";
- this.btn_flag.Click += new System.EventHandler(this.btn_flag_Click);
+ this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPDB.Name = "buttonItemSPDB";
+ this.buttonItemSPDB.SubItemsExpandWidth = 14;
+ this.buttonItemSPDB.Text = "双屏显示";
+ this.buttonItemSPDB.Visible = false;
+ this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
//
- // slider4ground
+ // buttonItemSPLD
//
- this.slider4ground.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.slider4ground.Name = "slider4ground";
- this.slider4ground.Text = "地面透明度";
- this.slider4ground.Value = 0;
- this.slider4ground.ValueChanged += new System.EventHandler(this.slider4ground_ValueChanged);
+ this.buttonItemSPLD.Enabled = false;
+ this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
+ this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPLD.Name = "buttonItemSPLD";
+ this.buttonItemSPLD.SubItemsExpandWidth = 14;
+ this.buttonItemSPLD.Text = "双屏联动";
+ this.buttonItemSPLD.Visible = false;
+ this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
+ //
+ // buttonItemSPFX
+ //
+ this.buttonItemSPFX.Enabled = false;
+ this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPFX.Name = "buttonItemSPFX";
+ this.buttonItemSPFX.SubItemsExpandWidth = 14;
+ this.buttonItemSPFX.Text = "双屏分析";
+ this.buttonItemSPFX.Visible = false;
+ this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
+ //
+ // buttonItemSPSZ
+ //
+ this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
+ this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemSPSZ.Name = "buttonItemSPSZ";
+ this.buttonItemSPSZ.SubItemsExpandWidth = 14;
+ this.buttonItemSPSZ.Text = "双屏设置";
+ this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
+ //
+ // buttonItem8
+ //
+ this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
+ this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem8.Name = "buttonItem8";
+ this.buttonItem8.SubItemsExpandWidth = 14;
+ this.buttonItem8.Text = "双屏分析";
+ this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
+ //
+ // buttonItemLocation
+ //
+ this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItemLocation.Name = "buttonItemLocation";
+ this.buttonItemLocation.SubItemsExpandWidth = 14;
+ this.buttonItemLocation.Text = "快速定位";
+ this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
+ //
+ // sliderItem2
+ //
+ this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
+ this.sliderItem2.LabelWidth = 50;
+ this.sliderItem2.Name = "sliderItem2";
+ this.sliderItem2.Text = "地面透明度";
+ this.sliderItem2.TextColor = System.Drawing.Color.Black;
+ this.sliderItem2.Value = 0;
+ this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
+ //
+ // ribbonPanel8
+ //
+ this.ribbonPanel8.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel8.Controls.Add(this.ribbonBar_UserInfo);
+ this.ribbonPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel8.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel8.Name = "ribbonPanel8";
+ this.ribbonPanel8.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel8.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel8.Style.Class = "";
+ this.ribbonPanel8.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseDown.Class = "";
+ this.ribbonPanel8.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel8.StyleMouseOver.Class = "";
+ this.ribbonPanel8.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel8.TabIndex = 42;
+ this.ribbonPanel8.Visible = false;
+ //
+ // ribbonBar_UserInfo
+ //
+ this.ribbonBar_UserInfo.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.BackgroundStyle.Class = "";
+ this.ribbonBar_UserInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar_UserInfo.ContainerControlProcessDialogKey = true;
+ this.ribbonBar_UserInfo.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar_UserInfo.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_user_info,
+ this.btn_role_info,
+ this.btn_resc_info,
+ this.btn_role_resc,
+ this.btn_user_role,
+ this.btn_password_edit,
+ this.btn_reset_password});
+ this.ribbonBar_UserInfo.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar_UserInfo.Name = "ribbonBar_UserInfo";
+ this.ribbonBar_UserInfo.Size = new System.Drawing.Size(427, 92);
+ this.ribbonBar_UserInfo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar_UserInfo.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyle.Class = "";
+ this.ribbonBar_UserInfo.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.Class = "";
+ this.ribbonBar_UserInfo.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ // btn_user_info
+ //
+ this.btn_user_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_13_hover;
+ this.btn_user_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_info.Name = "btn_user_info";
+ this.btn_user_info.SubItemsExpandWidth = 14;
+ this.btn_user_info.Text = "用户管理";
+ this.btn_user_info.Click += new System.EventHandler(this.btn_user_info_Click);
+ //
+ // btn_role_info
+ //
+ this.btn_role_info.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_role_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_info.Name = "btn_role_info";
+ this.btn_role_info.SubItemsExpandWidth = 14;
+ this.btn_role_info.Text = "角色管理";
+ this.btn_role_info.Click += new System.EventHandler(this.btn_role_info_Click);
+ //
+ // btn_resc_info
+ //
+ this.btn_resc_info.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__09;
+ this.btn_resc_info.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_resc_info.Name = "btn_resc_info";
+ this.btn_resc_info.SubItemsExpandWidth = 14;
+ this.btn_resc_info.Text = "资源管理";
+ this.btn_resc_info.Click += new System.EventHandler(this.btn_resc_info_Click);
+ //
+ // btn_role_resc
+ //
+ this.btn_role_resc.Image = global::Cyberpipe.Properties.Resources.btnlegendSet_Image_副本;
+ this.btn_role_resc.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_role_resc.Name = "btn_role_resc";
+ this.btn_role_resc.SubItemsExpandWidth = 14;
+ this.btn_role_resc.Text = "角色授权";
+ this.btn_role_resc.Click += new System.EventHandler(this.btn_role_resc_Click);
+ //
+ // btn_user_role
+ //
+ this.btn_user_role.Image = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
+ this.btn_user_role.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_user_role.Name = "btn_user_role";
+ this.btn_user_role.SubItemsExpandWidth = 14;
+ this.btn_user_role.Text = "用户授权";
+ this.btn_user_role.Click += new System.EventHandler(this.btn_user_role_Click);
+ //
+ // btn_password_edit
+ //
+ this.btn_password_edit.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__67;
+ this.btn_password_edit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_password_edit.Name = "btn_password_edit";
+ this.btn_password_edit.SubItemsExpandWidth = 14;
+ this.btn_password_edit.Text = "密码修改";
+ this.btn_password_edit.Click += new System.EventHandler(this.btn_password_edit_Click);
+ //
+ // btn_reset_password
+ //
+ this.btn_reset_password.Image = global::Cyberpipe.Properties.Resources.liuxiang;
+ this.btn_reset_password.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_reset_password.Name = "btn_reset_password";
+ this.btn_reset_password.SubItemsExpandWidth = 14;
+ this.btn_reset_password.Text = "重置密码";
+ this.btn_reset_password.Click += new System.EventHandler(this.btn_reset_password_Click);
+ //
+ // ribbonPanel2
+ //
+ this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel2.Controls.Add(this.ribbonBar4);
+ this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel2.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel2.Style.Class = "";
+ this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseDown.Class = "";
+ this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel2.StyleMouseOver.Class = "";
+ this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel2.TabIndex = 39;
+ this.ribbonPanel2.Visible = false;
+ //
+ // ribbonBar4
+ //
+ this.ribbonBar4.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.BackgroundStyle.Class = "";
+ this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.ContainerControlProcessDialogKey = true;
+ this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem_TaskManager,
+ this.buttonItem_OnlineTask,
+ this.buttonItem_Event});
+ this.ribbonBar4.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar4.Name = "ribbonBar4";
+ this.ribbonBar4.Size = new System.Drawing.Size(211, 59);
+ this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar4.TabIndex = 0;
+ this.ribbonBar4.Text = "ribbonBar4";
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyle.Class = "";
+ this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar4.TitleStyleMouseOver.Class = "";
+ this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar4.TitleVisible = false;
+ //
+ // buttonItem_TaskManager
+ //
+ this.buttonItem_TaskManager.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__76;
+ this.buttonItem_TaskManager.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_TaskManager.Name = "buttonItem_TaskManager";
+ this.buttonItem_TaskManager.SubItemsExpandWidth = 14;
+ this.buttonItem_TaskManager.Text = "工单管理";
+ this.buttonItem_TaskManager.Click += new System.EventHandler(this.buttonItem_TaskManager_Click);
+ //
+ // buttonItem_OnlineTask
+ //
+ this.buttonItem_OnlineTask.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__69;
+ this.buttonItem_OnlineTask.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_OnlineTask.Name = "buttonItem_OnlineTask";
+ this.buttonItem_OnlineTask.SubItemsExpandWidth = 14;
+ this.buttonItem_OnlineTask.Text = "在线任务";
+ this.buttonItem_OnlineTask.Click += new System.EventHandler(this.buttonItem_OnlineTask_Click);
+ //
+ // buttonItem_Event
+ //
+ this.buttonItem_Event.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__72;
+ this.buttonItem_Event.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem_Event.Name = "buttonItem_Event";
+ this.buttonItem_Event.SubItemsExpandWidth = 14;
+ this.buttonItem_Event.Text = "事件管理";
+ this.buttonItem_Event.Click += new System.EventHandler(this.buttonItem_Event_Click);
//
// ribbonPanel1
//
@@ -6557,142 +6703,6 @@
this.buttonItemDZWD.Visible = false;
this.buttonItemDZWD.Click += new System.EventHandler(this.buttonItemDZWD_Click);
//
- // ribbonPanel6
- //
- this.ribbonPanel6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel6.Controls.Add(this.ribbonBar6);
- this.ribbonPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel6.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel6.Name = "ribbonPanel6";
- this.ribbonPanel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel6.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel6.Style.Class = "";
- this.ribbonPanel6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseDown.Class = "";
- this.ribbonPanel6.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel6.StyleMouseOver.Class = "";
- this.ribbonPanel6.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel6.TabIndex = 38;
- this.ribbonPanel6.Visible = false;
- //
- // ribbonBar6
- //
- this.ribbonBar6.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar6.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.BackgroundStyle.Class = "";
- this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.ContainerControlProcessDialogKey = true;
- this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItemSPDB,
- this.buttonItemSPLD,
- this.buttonItemSPFX,
- this.buttonItemSPSZ,
- this.buttonItem8,
- this.buttonItemLocation,
- this.sliderItem2});
- this.ribbonBar6.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar6.Name = "ribbonBar6";
- this.ribbonBar6.Size = new System.Drawing.Size(545, 92);
- this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar6.TabIndex = 0;
- //
- //
- //
- this.ribbonBar6.TitleStyle.Class = "";
- this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar6.TitleStyleMouseOver.Class = "";
- this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar6.TitleVisible = false;
- //
- // buttonItemSPDB
- //
- this.buttonItemSPDB.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPDB.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPDB.Name = "buttonItemSPDB";
- this.buttonItemSPDB.SubItemsExpandWidth = 14;
- this.buttonItemSPDB.Text = "双屏显示";
- this.buttonItemSPDB.Visible = false;
- this.buttonItemSPDB.Click += new System.EventHandler(this.buttonItemSPDB_Click);
- //
- // buttonItemSPLD
- //
- this.buttonItemSPLD.Enabled = false;
- this.buttonItemSPLD.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__64;
- this.buttonItemSPLD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPLD.Name = "buttonItemSPLD";
- this.buttonItemSPLD.SubItemsExpandWidth = 14;
- this.buttonItemSPLD.Text = "双屏联动";
- this.buttonItemSPLD.Visible = false;
- this.buttonItemSPLD.Click += new System.EventHandler(this.buttonItemSPLD_Click);
- //
- // buttonItemSPFX
- //
- this.buttonItemSPFX.Enabled = false;
- this.buttonItemSPFX.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItemSPFX.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPFX.Name = "buttonItemSPFX";
- this.buttonItemSPFX.SubItemsExpandWidth = 14;
- this.buttonItemSPFX.Text = "双屏分析";
- this.buttonItemSPFX.Visible = false;
- this.buttonItemSPFX.Click += new System.EventHandler(this.buttonItemSPFX_Click);
- //
- // buttonItemSPSZ
- //
- this.buttonItemSPSZ.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__65;
- this.buttonItemSPSZ.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemSPSZ.Name = "buttonItemSPSZ";
- this.buttonItemSPSZ.SubItemsExpandWidth = 14;
- this.buttonItemSPSZ.Text = "双屏设置";
- this.buttonItemSPSZ.Click += new System.EventHandler(this.buttonItemSPSZ_Click);
- //
- // buttonItem8
- //
- this.buttonItem8.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__63;
- this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem8.Name = "buttonItem8";
- this.buttonItem8.SubItemsExpandWidth = 14;
- this.buttonItem8.Text = "双屏分析";
- this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
- //
- // buttonItemLocation
- //
- this.buttonItemLocation.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItemLocation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItemLocation.Name = "buttonItemLocation";
- this.buttonItemLocation.SubItemsExpandWidth = 14;
- this.buttonItemLocation.Text = "快速定位";
- this.buttonItemLocation.Click += new System.EventHandler(this.buttonItemLocation_Click);
- //
- // sliderItem2
- //
- this.sliderItem2.LabelPosition = DevComponents.DotNetBar.eSliderLabelPosition.Top;
- this.sliderItem2.LabelWidth = 50;
- this.sliderItem2.Name = "sliderItem2";
- this.sliderItem2.Text = "地面透明度";
- this.sliderItem2.TextColor = System.Drawing.Color.Black;
- this.sliderItem2.Value = 0;
- this.sliderItem2.ValueChanged += new System.EventHandler(this.sliderItem2_ValueChanged);
- //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -7098,16 +7108,6 @@
this.buttonItem76.SubItemsExpandWidth = 14;
this.buttonItem76.Text = "坐标标注";
//
- // layerTree
- //
- this.layerTree.CheckBoxes = true;
- this.layerTree.ItemHeight = 18;
- this.layerTree.Location = new System.Drawing.Point(30, 78);
- this.layerTree.Name = "layerTree";
- this.layerTree.Size = new System.Drawing.Size(121, 97);
- this.layerTree.TabIndex = 1;
- this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck);
- //
// MainFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
@@ -7181,16 +7181,16 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
- this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel6.ResumeLayout(false);
+ this.ribbonPanel8.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
this.ribbonPanel12.ResumeLayout(false);
this.ribbonPanel5.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
- this.ribbonPanel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/bin/x86/Debug/EMSCyberpipe.exe b/bin/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/bin/x86/Debug/EMSCyberpipe.exe
+++ b/bin/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/bin/x86/Debug/EMSCyberpipe.pdb b/bin/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/bin/x86/Debug/EMSCyberpipe.pdb
+++ b/bin/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
index 54de333..42dc58c 100644
--- a/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
+++ b/obj/x86/Debug/Cyberpipe.csproj.FileListAbsolute.txt
@@ -201,3 +201,5 @@
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe.licenses
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.exe
D:\ym\EMS+GHFX\EMS\obj\x86\Debug\EMSCyberpipe.pdb
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagManagers.resources
+D:\ym\EMS+GHFX\EMS\obj\x86\Debug\Cyberpipe.FrmFlagEdits.resources
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
index b298ab5..ce07e15 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
diff --git a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 8ace5e0..cb2f611 100644
--- a/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
+++ b/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.exe b/obj/x86/Debug/EMSCyberpipe.exe
index 525bc89..5a6c31d 100644
--- a/obj/x86/Debug/EMSCyberpipe.exe
+++ b/obj/x86/Debug/EMSCyberpipe.exe
Binary files differ
diff --git a/obj/x86/Debug/EMSCyberpipe.pdb b/obj/x86/Debug/EMSCyberpipe.pdb
index 856cf0f..3aaf32a 100644
--- a/obj/x86/Debug/EMSCyberpipe.pdb
+++ b/obj/x86/Debug/EMSCyberpipe.pdb
Binary files differ
diff --git a/obj/x86/Debug/GenerateResource.read.1.tlog b/obj/x86/Debug/GenerateResource.read.1.tlog
index 9bcd2bd..ffb1c26 100644
--- a/obj/x86/Debug/GenerateResource.read.1.tlog
+++ b/obj/x86/Debug/GenerateResource.read.1.tlog
Binary files differ
diff --git a/obj/x86/Debug/GenerateResource.write.1.tlog b/obj/x86/Debug/GenerateResource.write.1.tlog
index 06fe7f3..ed512ef 100644
--- a/obj/x86/Debug/GenerateResource.write.1.tlog
+++ b/obj/x86/Debug/GenerateResource.write.1.tlog
Binary files differ
diff --git a/obj/x86/Debug/ResolveAssemblyReference.cache b/obj/x86/Debug/ResolveAssemblyReference.cache
index 5116f0e..fa82c2f 100644
--- a/obj/x86/Debug/ResolveAssemblyReference.cache
+++ b/obj/x86/Debug/ResolveAssemblyReference.cache
Binary files differ