diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index 532bca8..5123e71 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -365,39 +365,6 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- 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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
- this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
- 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.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.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSJGL = new DevComponents.DotNetBar.ButtonItem();
@@ -560,6 +527,39 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = 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.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.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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
+ this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
+ 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.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem14 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -647,12 +647,12 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -4114,12 +4114,12 @@
//
this.ribbonControl1.BackgroundStyle.Class = "";
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonControl1.Controls.Add(this.ribbonPanel15);
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel7);
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel8);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel15);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@@ -4160,549 +4160,15 @@
this.ribbonControl1.Text = "ribbonControl1";
this.ribbonControl1.UseCustomizeDialog = false;
//
- // ribbonPanel7
- //
- 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, 0);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
- this.ribbonPanel7.Visible = false;
- //
- // ribbonBar5
- //
- this.ribbonBar5.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.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(418, 92);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
- //
- //
- //
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
- this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
- //
- // btn_flag
- //
- 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);
- //
- // slider4ground
- //
- 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);
- //
- // ribbonPanel1
- //
- this.ribbonPanel1.AutoSize = true;
- this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
- this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel1.Controls.Add(this.ribbonBar21);
- this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel1.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel1.Name = "ribbonPanel1";
- this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel1.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel1.Style.Class = "";
- this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseDown.Class = "";
- this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseOver.Class = "";
- this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel1.TabIndex = 1;
- this.ribbonPanel1.Visible = false;
- //
- // ribbonBar21
- //
- this.ribbonBar21.AutoOverflowEnabled = true;
- this.ribbonBar21.BackColor = System.Drawing.Color.White;
- //
- //
- //
- this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.BackgroundStyle.Class = "";
- this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.ContainerControlProcessDialogKey = true;
- this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem87,
- this.buttonItem88,
- this.buttonItem27,
- this.sliderGroundTransSet1,
- this.buttonItem91,
- this.buttonItem1,
- this.btnlegendSet,
- this.buttonItem89});
- this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar21.Name = "ribbonBar21";
- this.ribbonBar21.Size = new System.Drawing.Size(653, 92);
- this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar21.TabIndex = 2;
- this.ribbonBar21.Text = "浏览模式";
- //
- //
- //
- this.ribbonBar21.TitleStyle.Class = "";
- this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.TitleStyleMouseOver.Class = "";
- this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.TitleVisible = false;
- //
- // buttonItem87
- //
- this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
- this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem87.Name = "buttonItem87";
- this.buttonItem87.SubItemsExpandWidth = 14;
- this.buttonItem87.Text = "地上模式";
- this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
- //
- // buttonItem88
- //
- this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
- this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem88.Name = "buttonItem88";
- this.buttonItem88.SubItemsExpandWidth = 14;
- this.buttonItem88.Text = "地下模式";
- this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
- //
- // buttonItem27
- //
- this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
- this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem27.Name = "buttonItem27";
- this.buttonItem27.SubItemsExpandWidth = 14;
- this.buttonItem27.Text = "行走模式";
- this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
- //
- // buttonItem91
- //
- this.buttonItem91.ForeColor = System.Drawing.Color.Black;
- this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem91.Name = "buttonItem91";
- this.buttonItem91.SubItemsExpandWidth = 14;
- this.buttonItem91.Text = "快速定位";
- this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
- //
- // buttonItem1
- //
- this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
- this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem1.Name = "buttonItem1";
- this.buttonItem1.SubItemsExpandWidth = 14;
- this.buttonItem1.Text = "图层管理";
- this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
- //
- // btnlegendSet
- //
- this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
- this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnlegendSet.Name = "btnlegendSet";
- this.btnlegendSet.SubItemsExpandWidth = 14;
- this.btnlegendSet.Text = "图例";
- this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
- //
- // buttonItem89
- //
- this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
- this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem89.Name = "buttonItem89";
- this.buttonItem89.SubItemsExpandWidth = 14;
- this.buttonItem89.Text = "全屏显示";
- this.buttonItem89.Visible = false;
- this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel3.Controls.Add(this.ribbonBar3);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel3.Style.Class = "";
- this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseDown.Class = "";
- this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseOver.Class = "";
- this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel3.TabIndex = 40;
- this.ribbonPanel3.Visible = false;
- //
- // ribbonBar3
- //
- this.ribbonBar3.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.BackgroundStyle.Class = "";
- this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.ContainerControlProcessDialogKey = true;
- this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_device,
- this.btn_Person,
- this.btn_constructMap,
- this.buttonItem9});
- this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar3.Name = "ribbonBar3";
- this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
- this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar3.TabIndex = 0;
- //
- //
- //
- this.ribbonBar3.TitleStyle.Class = "";
- this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.TitleStyleMouseOver.Class = "";
- this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.TitleVisible = false;
- //
- // btn_device
- //
- this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
- this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_device.Name = "btn_device";
- this.btn_device.SubItemsExpandWidth = 14;
- this.btn_device.Text = "探测仪管理";
- this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
- //
- // btn_Person
- //
- this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_Person.Name = "btn_Person";
- this.btn_Person.SubItemsExpandWidth = 14;
- this.btn_Person.Text = "定位人员维护";
- this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
- //
- // btn_constructMap
- //
- this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
- this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_constructMap.Name = "btn_constructMap";
- this.btn_constructMap.SubItemsExpandWidth = 14;
- this.btn_constructMap.Text = "导出施工图";
- this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
- //
- // buttonItem9
- //
- this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
- this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.SubItemsExpandWidth = 14;
- this.buttonItem9.Text = "文档管理";
- this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
- //
- // 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.Name = "btn_resc_info";
- //
- // 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, 0);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- 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(299, 92);
- 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;
this.ribbonPanel15.Controls.Add(this.ribbonBar20);
this.ribbonPanel15.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel15.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel15.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel15.Name = "ribbonPanel15";
this.ribbonPanel15.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel15.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel15.Size = new System.Drawing.Size(1328, 95);
//
//
//
@@ -4719,6 +4185,7 @@
this.ribbonPanel15.StyleMouseOver.Class = "";
this.ribbonPanel15.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel15.TabIndex = 35;
+ this.ribbonPanel15.Visible = false;
//
// ribbonBar20
//
@@ -4750,7 +4217,7 @@
this.buttonItemBZ});
this.ribbonBar20.Location = new System.Drawing.Point(3, 0);
this.ribbonBar20.Name = "ribbonBar20";
- this.ribbonBar20.Size = new System.Drawing.Size(835, 59);
+ this.ribbonBar20.Size = new System.Drawing.Size(835, 92);
this.ribbonBar20.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar20.TabIndex = 0;
//
@@ -6005,6 +5472,539 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_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, 0);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ 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(299, 92);
+ 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);
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel3.Controls.Add(this.ribbonBar3);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel3.Style.Class = "";
+ this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseDown.Class = "";
+ this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseOver.Class = "";
+ this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel3.TabIndex = 40;
+ this.ribbonPanel3.Visible = false;
+ //
+ // ribbonBar3
+ //
+ this.ribbonBar3.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundStyle.Class = "";
+ this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.ContainerControlProcessDialogKey = true;
+ this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_device,
+ this.btn_Person,
+ this.btn_constructMap,
+ this.buttonItem9});
+ this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar3.Name = "ribbonBar3";
+ this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
+ this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar3.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyle.Class = "";
+ this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyleMouseOver.Class = "";
+ this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.TitleVisible = false;
+ //
+ // btn_device
+ //
+ this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
+ this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_device.Name = "btn_device";
+ this.btn_device.SubItemsExpandWidth = 14;
+ this.btn_device.Text = "探测仪管理";
+ this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
+ //
+ // btn_Person
+ //
+ this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_Person.Name = "btn_Person";
+ this.btn_Person.SubItemsExpandWidth = 14;
+ this.btn_Person.Text = "定位人员维护";
+ this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
+ //
+ // btn_constructMap
+ //
+ this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
+ this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_constructMap.Name = "btn_constructMap";
+ this.btn_constructMap.SubItemsExpandWidth = 14;
+ this.btn_constructMap.Text = "导出施工图";
+ this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
+ //
+ // buttonItem9
+ //
+ this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
+ this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem9.Name = "buttonItem9";
+ this.buttonItem9.SubItemsExpandWidth = 14;
+ this.buttonItem9.Text = "文档管理";
+ this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
+ //
+ // ribbonPanel7
+ //
+ 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.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
+ //
+ // ribbonBar5
+ //
+ this.ribbonBar5.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.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(418, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
+ //
+ // btn_flag
+ //
+ 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);
+ //
+ // slider4ground
+ //
+ 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);
+ //
+ // ribbonPanel1
+ //
+ this.ribbonPanel1.AutoSize = true;
+ this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
+ this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel1.Controls.Add(this.ribbonBar21);
+ this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel1.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel1.Name = "ribbonPanel1";
+ this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel1.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel1.Style.Class = "";
+ this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseDown.Class = "";
+ this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseOver.Class = "";
+ this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel1.TabIndex = 1;
+ this.ribbonPanel1.Visible = false;
+ //
+ // ribbonBar21
+ //
+ this.ribbonBar21.AutoOverflowEnabled = true;
+ this.ribbonBar21.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundStyle.Class = "";
+ this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.ContainerControlProcessDialogKey = true;
+ this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem87,
+ this.buttonItem88,
+ this.buttonItem27,
+ this.sliderGroundTransSet1,
+ this.buttonItem91,
+ this.buttonItem1,
+ this.btnlegendSet,
+ this.buttonItem89});
+ this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar21.Name = "ribbonBar21";
+ this.ribbonBar21.Size = new System.Drawing.Size(653, 59);
+ this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar21.TabIndex = 2;
+ this.ribbonBar21.Text = "浏览模式";
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyle.Class = "";
+ this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyleMouseOver.Class = "";
+ this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.TitleVisible = false;
+ //
+ // buttonItem87
+ //
+ this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
+ this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem87.Name = "buttonItem87";
+ this.buttonItem87.SubItemsExpandWidth = 14;
+ this.buttonItem87.Text = "地上模式";
+ this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
+ //
+ // buttonItem88
+ //
+ this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
+ this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem88.Name = "buttonItem88";
+ this.buttonItem88.SubItemsExpandWidth = 14;
+ this.buttonItem88.Text = "地下模式";
+ this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
+ //
+ // buttonItem27
+ //
+ this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
+ this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem27.Name = "buttonItem27";
+ this.buttonItem27.SubItemsExpandWidth = 14;
+ this.buttonItem27.Text = "行走模式";
+ this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
+ //
+ // buttonItem91
+ //
+ this.buttonItem91.ForeColor = System.Drawing.Color.Black;
+ this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem91.Name = "buttonItem91";
+ this.buttonItem91.SubItemsExpandWidth = 14;
+ this.buttonItem91.Text = "快速定位";
+ this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
+ //
+ // buttonItem1
+ //
+ this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
+ this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem1.Name = "buttonItem1";
+ this.buttonItem1.SubItemsExpandWidth = 14;
+ this.buttonItem1.Text = "图层管理";
+ this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
+ //
+ // btnlegendSet
+ //
+ this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
+ this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnlegendSet.Name = "btnlegendSet";
+ this.btnlegendSet.SubItemsExpandWidth = 14;
+ this.btnlegendSet.Text = "图例";
+ this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
+ //
+ // buttonItem89
+ //
+ this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
+ this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem89.Name = "buttonItem89";
+ this.buttonItem89.SubItemsExpandWidth = 14;
+ this.buttonItem89.Text = "全屏显示";
+ this.buttonItem89.Visible = false;
+ this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
+ //
+ // 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.Name = "btn_resc_info";
+ //
+ // 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);
+ //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -6017,7 +6017,6 @@
// ribbonTabItem14
//
this.ribbonTabItem14.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.ribbonTabItem14.Checked = true;
this.ribbonTabItem14.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
this.ribbonTabItem14.Image = global::Cyberpipe.Properties.Resources._24x24icon_08;
this.ribbonTabItem14.Name = "ribbonTabItem14";
@@ -6046,6 +6045,7 @@
// ribbonTabItem7
//
this.ribbonTabItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.ribbonTabItem7.Checked = true;
this.ribbonTabItem7.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_04_hover1;
this.ribbonTabItem7.Image = global::Cyberpipe.Properties.Resources._24x24icon_041;
this.ribbonTabItem7.Name = "ribbonTabItem7";
@@ -6472,12 +6472,12 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index 532bca8..5123e71 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -365,39 +365,6 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- 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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
- this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
- 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.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.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSJGL = new DevComponents.DotNetBar.ButtonItem();
@@ -560,6 +527,39 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = 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.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.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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
+ this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
+ 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.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem14 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -647,12 +647,12 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -4114,12 +4114,12 @@
//
this.ribbonControl1.BackgroundStyle.Class = "";
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonControl1.Controls.Add(this.ribbonPanel15);
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel7);
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel8);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel15);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@@ -4160,549 +4160,15 @@
this.ribbonControl1.Text = "ribbonControl1";
this.ribbonControl1.UseCustomizeDialog = false;
//
- // ribbonPanel7
- //
- 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, 0);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
- this.ribbonPanel7.Visible = false;
- //
- // ribbonBar5
- //
- this.ribbonBar5.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.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(418, 92);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
- //
- //
- //
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
- this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
- //
- // btn_flag
- //
- 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);
- //
- // slider4ground
- //
- 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);
- //
- // ribbonPanel1
- //
- this.ribbonPanel1.AutoSize = true;
- this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
- this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel1.Controls.Add(this.ribbonBar21);
- this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel1.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel1.Name = "ribbonPanel1";
- this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel1.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel1.Style.Class = "";
- this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseDown.Class = "";
- this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseOver.Class = "";
- this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel1.TabIndex = 1;
- this.ribbonPanel1.Visible = false;
- //
- // ribbonBar21
- //
- this.ribbonBar21.AutoOverflowEnabled = true;
- this.ribbonBar21.BackColor = System.Drawing.Color.White;
- //
- //
- //
- this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.BackgroundStyle.Class = "";
- this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.ContainerControlProcessDialogKey = true;
- this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem87,
- this.buttonItem88,
- this.buttonItem27,
- this.sliderGroundTransSet1,
- this.buttonItem91,
- this.buttonItem1,
- this.btnlegendSet,
- this.buttonItem89});
- this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar21.Name = "ribbonBar21";
- this.ribbonBar21.Size = new System.Drawing.Size(653, 92);
- this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar21.TabIndex = 2;
- this.ribbonBar21.Text = "浏览模式";
- //
- //
- //
- this.ribbonBar21.TitleStyle.Class = "";
- this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.TitleStyleMouseOver.Class = "";
- this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.TitleVisible = false;
- //
- // buttonItem87
- //
- this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
- this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem87.Name = "buttonItem87";
- this.buttonItem87.SubItemsExpandWidth = 14;
- this.buttonItem87.Text = "地上模式";
- this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
- //
- // buttonItem88
- //
- this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
- this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem88.Name = "buttonItem88";
- this.buttonItem88.SubItemsExpandWidth = 14;
- this.buttonItem88.Text = "地下模式";
- this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
- //
- // buttonItem27
- //
- this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
- this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem27.Name = "buttonItem27";
- this.buttonItem27.SubItemsExpandWidth = 14;
- this.buttonItem27.Text = "行走模式";
- this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
- //
- // buttonItem91
- //
- this.buttonItem91.ForeColor = System.Drawing.Color.Black;
- this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem91.Name = "buttonItem91";
- this.buttonItem91.SubItemsExpandWidth = 14;
- this.buttonItem91.Text = "快速定位";
- this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
- //
- // buttonItem1
- //
- this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
- this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem1.Name = "buttonItem1";
- this.buttonItem1.SubItemsExpandWidth = 14;
- this.buttonItem1.Text = "图层管理";
- this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
- //
- // btnlegendSet
- //
- this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
- this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnlegendSet.Name = "btnlegendSet";
- this.btnlegendSet.SubItemsExpandWidth = 14;
- this.btnlegendSet.Text = "图例";
- this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
- //
- // buttonItem89
- //
- this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
- this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem89.Name = "buttonItem89";
- this.buttonItem89.SubItemsExpandWidth = 14;
- this.buttonItem89.Text = "全屏显示";
- this.buttonItem89.Visible = false;
- this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel3.Controls.Add(this.ribbonBar3);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel3.Style.Class = "";
- this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseDown.Class = "";
- this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseOver.Class = "";
- this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel3.TabIndex = 40;
- this.ribbonPanel3.Visible = false;
- //
- // ribbonBar3
- //
- this.ribbonBar3.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.BackgroundStyle.Class = "";
- this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.ContainerControlProcessDialogKey = true;
- this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_device,
- this.btn_Person,
- this.btn_constructMap,
- this.buttonItem9});
- this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar3.Name = "ribbonBar3";
- this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
- this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar3.TabIndex = 0;
- //
- //
- //
- this.ribbonBar3.TitleStyle.Class = "";
- this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.TitleStyleMouseOver.Class = "";
- this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.TitleVisible = false;
- //
- // btn_device
- //
- this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
- this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_device.Name = "btn_device";
- this.btn_device.SubItemsExpandWidth = 14;
- this.btn_device.Text = "探测仪管理";
- this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
- //
- // btn_Person
- //
- this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_Person.Name = "btn_Person";
- this.btn_Person.SubItemsExpandWidth = 14;
- this.btn_Person.Text = "定位人员维护";
- this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
- //
- // btn_constructMap
- //
- this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
- this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_constructMap.Name = "btn_constructMap";
- this.btn_constructMap.SubItemsExpandWidth = 14;
- this.btn_constructMap.Text = "导出施工图";
- this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
- //
- // buttonItem9
- //
- this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
- this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.SubItemsExpandWidth = 14;
- this.buttonItem9.Text = "文档管理";
- this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
- //
- // 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.Name = "btn_resc_info";
- //
- // 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, 0);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- 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(299, 92);
- 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;
this.ribbonPanel15.Controls.Add(this.ribbonBar20);
this.ribbonPanel15.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel15.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel15.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel15.Name = "ribbonPanel15";
this.ribbonPanel15.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel15.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel15.Size = new System.Drawing.Size(1328, 95);
//
//
//
@@ -4719,6 +4185,7 @@
this.ribbonPanel15.StyleMouseOver.Class = "";
this.ribbonPanel15.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel15.TabIndex = 35;
+ this.ribbonPanel15.Visible = false;
//
// ribbonBar20
//
@@ -4750,7 +4217,7 @@
this.buttonItemBZ});
this.ribbonBar20.Location = new System.Drawing.Point(3, 0);
this.ribbonBar20.Name = "ribbonBar20";
- this.ribbonBar20.Size = new System.Drawing.Size(835, 59);
+ this.ribbonBar20.Size = new System.Drawing.Size(835, 92);
this.ribbonBar20.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar20.TabIndex = 0;
//
@@ -6005,6 +5472,539 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_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, 0);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ 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(299, 92);
+ 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);
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel3.Controls.Add(this.ribbonBar3);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel3.Style.Class = "";
+ this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseDown.Class = "";
+ this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseOver.Class = "";
+ this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel3.TabIndex = 40;
+ this.ribbonPanel3.Visible = false;
+ //
+ // ribbonBar3
+ //
+ this.ribbonBar3.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundStyle.Class = "";
+ this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.ContainerControlProcessDialogKey = true;
+ this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_device,
+ this.btn_Person,
+ this.btn_constructMap,
+ this.buttonItem9});
+ this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar3.Name = "ribbonBar3";
+ this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
+ this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar3.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyle.Class = "";
+ this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyleMouseOver.Class = "";
+ this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.TitleVisible = false;
+ //
+ // btn_device
+ //
+ this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
+ this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_device.Name = "btn_device";
+ this.btn_device.SubItemsExpandWidth = 14;
+ this.btn_device.Text = "探测仪管理";
+ this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
+ //
+ // btn_Person
+ //
+ this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_Person.Name = "btn_Person";
+ this.btn_Person.SubItemsExpandWidth = 14;
+ this.btn_Person.Text = "定位人员维护";
+ this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
+ //
+ // btn_constructMap
+ //
+ this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
+ this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_constructMap.Name = "btn_constructMap";
+ this.btn_constructMap.SubItemsExpandWidth = 14;
+ this.btn_constructMap.Text = "导出施工图";
+ this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
+ //
+ // buttonItem9
+ //
+ this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
+ this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem9.Name = "buttonItem9";
+ this.buttonItem9.SubItemsExpandWidth = 14;
+ this.buttonItem9.Text = "文档管理";
+ this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
+ //
+ // ribbonPanel7
+ //
+ 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.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
+ //
+ // ribbonBar5
+ //
+ this.ribbonBar5.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.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(418, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
+ //
+ // btn_flag
+ //
+ 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);
+ //
+ // slider4ground
+ //
+ 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);
+ //
+ // ribbonPanel1
+ //
+ this.ribbonPanel1.AutoSize = true;
+ this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
+ this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel1.Controls.Add(this.ribbonBar21);
+ this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel1.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel1.Name = "ribbonPanel1";
+ this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel1.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel1.Style.Class = "";
+ this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseDown.Class = "";
+ this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseOver.Class = "";
+ this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel1.TabIndex = 1;
+ this.ribbonPanel1.Visible = false;
+ //
+ // ribbonBar21
+ //
+ this.ribbonBar21.AutoOverflowEnabled = true;
+ this.ribbonBar21.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundStyle.Class = "";
+ this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.ContainerControlProcessDialogKey = true;
+ this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem87,
+ this.buttonItem88,
+ this.buttonItem27,
+ this.sliderGroundTransSet1,
+ this.buttonItem91,
+ this.buttonItem1,
+ this.btnlegendSet,
+ this.buttonItem89});
+ this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar21.Name = "ribbonBar21";
+ this.ribbonBar21.Size = new System.Drawing.Size(653, 59);
+ this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar21.TabIndex = 2;
+ this.ribbonBar21.Text = "浏览模式";
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyle.Class = "";
+ this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyleMouseOver.Class = "";
+ this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.TitleVisible = false;
+ //
+ // buttonItem87
+ //
+ this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
+ this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem87.Name = "buttonItem87";
+ this.buttonItem87.SubItemsExpandWidth = 14;
+ this.buttonItem87.Text = "地上模式";
+ this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
+ //
+ // buttonItem88
+ //
+ this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
+ this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem88.Name = "buttonItem88";
+ this.buttonItem88.SubItemsExpandWidth = 14;
+ this.buttonItem88.Text = "地下模式";
+ this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
+ //
+ // buttonItem27
+ //
+ this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
+ this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem27.Name = "buttonItem27";
+ this.buttonItem27.SubItemsExpandWidth = 14;
+ this.buttonItem27.Text = "行走模式";
+ this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
+ //
+ // buttonItem91
+ //
+ this.buttonItem91.ForeColor = System.Drawing.Color.Black;
+ this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem91.Name = "buttonItem91";
+ this.buttonItem91.SubItemsExpandWidth = 14;
+ this.buttonItem91.Text = "快速定位";
+ this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
+ //
+ // buttonItem1
+ //
+ this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
+ this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem1.Name = "buttonItem1";
+ this.buttonItem1.SubItemsExpandWidth = 14;
+ this.buttonItem1.Text = "图层管理";
+ this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
+ //
+ // btnlegendSet
+ //
+ this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
+ this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnlegendSet.Name = "btnlegendSet";
+ this.btnlegendSet.SubItemsExpandWidth = 14;
+ this.btnlegendSet.Text = "图例";
+ this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
+ //
+ // buttonItem89
+ //
+ this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
+ this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem89.Name = "buttonItem89";
+ this.buttonItem89.SubItemsExpandWidth = 14;
+ this.buttonItem89.Text = "全屏显示";
+ this.buttonItem89.Visible = false;
+ this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
+ //
+ // 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.Name = "btn_resc_info";
+ //
+ // 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);
+ //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -6017,7 +6017,6 @@
// ribbonTabItem14
//
this.ribbonTabItem14.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.ribbonTabItem14.Checked = true;
this.ribbonTabItem14.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
this.ribbonTabItem14.Image = global::Cyberpipe.Properties.Resources._24x24icon_08;
this.ribbonTabItem14.Name = "ribbonTabItem14";
@@ -6046,6 +6045,7 @@
// ribbonTabItem7
//
this.ribbonTabItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.ribbonTabItem7.Checked = true;
this.ribbonTabItem7.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_04_hover1;
this.ribbonTabItem7.Image = global::Cyberpipe.Properties.Resources._24x24icon_041;
this.ribbonTabItem7.Name = "ribbonTabItem7";
@@ -6472,12 +6472,12 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/SysRescInfoManager.cs b/SysRescInfoManager.cs
index d9c0a9c..5b3038a 100644
--- a/SysRescInfoManager.cs
+++ b/SysRescInfoManager.cs
@@ -33,14 +33,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("资源新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void SysRescInfoManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index 532bca8..5123e71 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -365,39 +365,6 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- 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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
- this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
- 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.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.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSJGL = new DevComponents.DotNetBar.ButtonItem();
@@ -560,6 +527,39 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = 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.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.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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
+ this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
+ 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.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem14 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -647,12 +647,12 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -4114,12 +4114,12 @@
//
this.ribbonControl1.BackgroundStyle.Class = "";
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonControl1.Controls.Add(this.ribbonPanel15);
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel7);
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel8);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel15);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@@ -4160,549 +4160,15 @@
this.ribbonControl1.Text = "ribbonControl1";
this.ribbonControl1.UseCustomizeDialog = false;
//
- // ribbonPanel7
- //
- 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, 0);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
- this.ribbonPanel7.Visible = false;
- //
- // ribbonBar5
- //
- this.ribbonBar5.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.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(418, 92);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
- //
- //
- //
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
- this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
- //
- // btn_flag
- //
- 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);
- //
- // slider4ground
- //
- 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);
- //
- // ribbonPanel1
- //
- this.ribbonPanel1.AutoSize = true;
- this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
- this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel1.Controls.Add(this.ribbonBar21);
- this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel1.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel1.Name = "ribbonPanel1";
- this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel1.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel1.Style.Class = "";
- this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseDown.Class = "";
- this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseOver.Class = "";
- this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel1.TabIndex = 1;
- this.ribbonPanel1.Visible = false;
- //
- // ribbonBar21
- //
- this.ribbonBar21.AutoOverflowEnabled = true;
- this.ribbonBar21.BackColor = System.Drawing.Color.White;
- //
- //
- //
- this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.BackgroundStyle.Class = "";
- this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.ContainerControlProcessDialogKey = true;
- this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem87,
- this.buttonItem88,
- this.buttonItem27,
- this.sliderGroundTransSet1,
- this.buttonItem91,
- this.buttonItem1,
- this.btnlegendSet,
- this.buttonItem89});
- this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar21.Name = "ribbonBar21";
- this.ribbonBar21.Size = new System.Drawing.Size(653, 92);
- this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar21.TabIndex = 2;
- this.ribbonBar21.Text = "浏览模式";
- //
- //
- //
- this.ribbonBar21.TitleStyle.Class = "";
- this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.TitleStyleMouseOver.Class = "";
- this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.TitleVisible = false;
- //
- // buttonItem87
- //
- this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
- this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem87.Name = "buttonItem87";
- this.buttonItem87.SubItemsExpandWidth = 14;
- this.buttonItem87.Text = "地上模式";
- this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
- //
- // buttonItem88
- //
- this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
- this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem88.Name = "buttonItem88";
- this.buttonItem88.SubItemsExpandWidth = 14;
- this.buttonItem88.Text = "地下模式";
- this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
- //
- // buttonItem27
- //
- this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
- this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem27.Name = "buttonItem27";
- this.buttonItem27.SubItemsExpandWidth = 14;
- this.buttonItem27.Text = "行走模式";
- this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
- //
- // buttonItem91
- //
- this.buttonItem91.ForeColor = System.Drawing.Color.Black;
- this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem91.Name = "buttonItem91";
- this.buttonItem91.SubItemsExpandWidth = 14;
- this.buttonItem91.Text = "快速定位";
- this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
- //
- // buttonItem1
- //
- this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
- this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem1.Name = "buttonItem1";
- this.buttonItem1.SubItemsExpandWidth = 14;
- this.buttonItem1.Text = "图层管理";
- this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
- //
- // btnlegendSet
- //
- this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
- this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnlegendSet.Name = "btnlegendSet";
- this.btnlegendSet.SubItemsExpandWidth = 14;
- this.btnlegendSet.Text = "图例";
- this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
- //
- // buttonItem89
- //
- this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
- this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem89.Name = "buttonItem89";
- this.buttonItem89.SubItemsExpandWidth = 14;
- this.buttonItem89.Text = "全屏显示";
- this.buttonItem89.Visible = false;
- this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel3.Controls.Add(this.ribbonBar3);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel3.Style.Class = "";
- this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseDown.Class = "";
- this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseOver.Class = "";
- this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel3.TabIndex = 40;
- this.ribbonPanel3.Visible = false;
- //
- // ribbonBar3
- //
- this.ribbonBar3.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.BackgroundStyle.Class = "";
- this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.ContainerControlProcessDialogKey = true;
- this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_device,
- this.btn_Person,
- this.btn_constructMap,
- this.buttonItem9});
- this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar3.Name = "ribbonBar3";
- this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
- this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar3.TabIndex = 0;
- //
- //
- //
- this.ribbonBar3.TitleStyle.Class = "";
- this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.TitleStyleMouseOver.Class = "";
- this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.TitleVisible = false;
- //
- // btn_device
- //
- this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
- this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_device.Name = "btn_device";
- this.btn_device.SubItemsExpandWidth = 14;
- this.btn_device.Text = "探测仪管理";
- this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
- //
- // btn_Person
- //
- this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_Person.Name = "btn_Person";
- this.btn_Person.SubItemsExpandWidth = 14;
- this.btn_Person.Text = "定位人员维护";
- this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
- //
- // btn_constructMap
- //
- this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
- this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_constructMap.Name = "btn_constructMap";
- this.btn_constructMap.SubItemsExpandWidth = 14;
- this.btn_constructMap.Text = "导出施工图";
- this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
- //
- // buttonItem9
- //
- this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
- this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.SubItemsExpandWidth = 14;
- this.buttonItem9.Text = "文档管理";
- this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
- //
- // 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.Name = "btn_resc_info";
- //
- // 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, 0);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- 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(299, 92);
- 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;
this.ribbonPanel15.Controls.Add(this.ribbonBar20);
this.ribbonPanel15.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel15.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel15.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel15.Name = "ribbonPanel15";
this.ribbonPanel15.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel15.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel15.Size = new System.Drawing.Size(1328, 95);
//
//
//
@@ -4719,6 +4185,7 @@
this.ribbonPanel15.StyleMouseOver.Class = "";
this.ribbonPanel15.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel15.TabIndex = 35;
+ this.ribbonPanel15.Visible = false;
//
// ribbonBar20
//
@@ -4750,7 +4217,7 @@
this.buttonItemBZ});
this.ribbonBar20.Location = new System.Drawing.Point(3, 0);
this.ribbonBar20.Name = "ribbonBar20";
- this.ribbonBar20.Size = new System.Drawing.Size(835, 59);
+ this.ribbonBar20.Size = new System.Drawing.Size(835, 92);
this.ribbonBar20.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar20.TabIndex = 0;
//
@@ -6005,6 +5472,539 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_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, 0);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ 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(299, 92);
+ 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);
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel3.Controls.Add(this.ribbonBar3);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel3.Style.Class = "";
+ this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseDown.Class = "";
+ this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseOver.Class = "";
+ this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel3.TabIndex = 40;
+ this.ribbonPanel3.Visible = false;
+ //
+ // ribbonBar3
+ //
+ this.ribbonBar3.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundStyle.Class = "";
+ this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.ContainerControlProcessDialogKey = true;
+ this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_device,
+ this.btn_Person,
+ this.btn_constructMap,
+ this.buttonItem9});
+ this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar3.Name = "ribbonBar3";
+ this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
+ this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar3.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyle.Class = "";
+ this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyleMouseOver.Class = "";
+ this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.TitleVisible = false;
+ //
+ // btn_device
+ //
+ this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
+ this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_device.Name = "btn_device";
+ this.btn_device.SubItemsExpandWidth = 14;
+ this.btn_device.Text = "探测仪管理";
+ this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
+ //
+ // btn_Person
+ //
+ this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_Person.Name = "btn_Person";
+ this.btn_Person.SubItemsExpandWidth = 14;
+ this.btn_Person.Text = "定位人员维护";
+ this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
+ //
+ // btn_constructMap
+ //
+ this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
+ this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_constructMap.Name = "btn_constructMap";
+ this.btn_constructMap.SubItemsExpandWidth = 14;
+ this.btn_constructMap.Text = "导出施工图";
+ this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
+ //
+ // buttonItem9
+ //
+ this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
+ this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem9.Name = "buttonItem9";
+ this.buttonItem9.SubItemsExpandWidth = 14;
+ this.buttonItem9.Text = "文档管理";
+ this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
+ //
+ // ribbonPanel7
+ //
+ 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.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
+ //
+ // ribbonBar5
+ //
+ this.ribbonBar5.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.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(418, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
+ //
+ // btn_flag
+ //
+ 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);
+ //
+ // slider4ground
+ //
+ 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);
+ //
+ // ribbonPanel1
+ //
+ this.ribbonPanel1.AutoSize = true;
+ this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
+ this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel1.Controls.Add(this.ribbonBar21);
+ this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel1.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel1.Name = "ribbonPanel1";
+ this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel1.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel1.Style.Class = "";
+ this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseDown.Class = "";
+ this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseOver.Class = "";
+ this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel1.TabIndex = 1;
+ this.ribbonPanel1.Visible = false;
+ //
+ // ribbonBar21
+ //
+ this.ribbonBar21.AutoOverflowEnabled = true;
+ this.ribbonBar21.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundStyle.Class = "";
+ this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.ContainerControlProcessDialogKey = true;
+ this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem87,
+ this.buttonItem88,
+ this.buttonItem27,
+ this.sliderGroundTransSet1,
+ this.buttonItem91,
+ this.buttonItem1,
+ this.btnlegendSet,
+ this.buttonItem89});
+ this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar21.Name = "ribbonBar21";
+ this.ribbonBar21.Size = new System.Drawing.Size(653, 59);
+ this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar21.TabIndex = 2;
+ this.ribbonBar21.Text = "浏览模式";
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyle.Class = "";
+ this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyleMouseOver.Class = "";
+ this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.TitleVisible = false;
+ //
+ // buttonItem87
+ //
+ this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
+ this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem87.Name = "buttonItem87";
+ this.buttonItem87.SubItemsExpandWidth = 14;
+ this.buttonItem87.Text = "地上模式";
+ this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
+ //
+ // buttonItem88
+ //
+ this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
+ this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem88.Name = "buttonItem88";
+ this.buttonItem88.SubItemsExpandWidth = 14;
+ this.buttonItem88.Text = "地下模式";
+ this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
+ //
+ // buttonItem27
+ //
+ this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
+ this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem27.Name = "buttonItem27";
+ this.buttonItem27.SubItemsExpandWidth = 14;
+ this.buttonItem27.Text = "行走模式";
+ this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
+ //
+ // buttonItem91
+ //
+ this.buttonItem91.ForeColor = System.Drawing.Color.Black;
+ this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem91.Name = "buttonItem91";
+ this.buttonItem91.SubItemsExpandWidth = 14;
+ this.buttonItem91.Text = "快速定位";
+ this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
+ //
+ // buttonItem1
+ //
+ this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
+ this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem1.Name = "buttonItem1";
+ this.buttonItem1.SubItemsExpandWidth = 14;
+ this.buttonItem1.Text = "图层管理";
+ this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
+ //
+ // btnlegendSet
+ //
+ this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
+ this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnlegendSet.Name = "btnlegendSet";
+ this.btnlegendSet.SubItemsExpandWidth = 14;
+ this.btnlegendSet.Text = "图例";
+ this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
+ //
+ // buttonItem89
+ //
+ this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
+ this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem89.Name = "buttonItem89";
+ this.buttonItem89.SubItemsExpandWidth = 14;
+ this.buttonItem89.Text = "全屏显示";
+ this.buttonItem89.Visible = false;
+ this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
+ //
+ // 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.Name = "btn_resc_info";
+ //
+ // 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);
+ //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -6017,7 +6017,6 @@
// ribbonTabItem14
//
this.ribbonTabItem14.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.ribbonTabItem14.Checked = true;
this.ribbonTabItem14.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
this.ribbonTabItem14.Image = global::Cyberpipe.Properties.Resources._24x24icon_08;
this.ribbonTabItem14.Name = "ribbonTabItem14";
@@ -6046,6 +6045,7 @@
// ribbonTabItem7
//
this.ribbonTabItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.ribbonTabItem7.Checked = true;
this.ribbonTabItem7.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_04_hover1;
this.ribbonTabItem7.Image = global::Cyberpipe.Properties.Resources._24x24icon_041;
this.ribbonTabItem7.Name = "ribbonTabItem7";
@@ -6472,12 +6472,12 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/SysRescInfoManager.cs b/SysRescInfoManager.cs
index d9c0a9c..5b3038a 100644
--- a/SysRescInfoManager.cs
+++ b/SysRescInfoManager.cs
@@ -33,14 +33,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("资源新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void SysRescInfoManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
index 8ba3d20..f9eb150 100644
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
+++ b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
@@ -10,6 +10,7 @@
+
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index 532bca8..5123e71 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -365,39 +365,6 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- 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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
- this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
- 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.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.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSJGL = new DevComponents.DotNetBar.ButtonItem();
@@ -560,6 +527,39 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = 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.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.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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
+ this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
+ 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.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem14 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -647,12 +647,12 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -4114,12 +4114,12 @@
//
this.ribbonControl1.BackgroundStyle.Class = "";
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonControl1.Controls.Add(this.ribbonPanel15);
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel7);
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel8);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel15);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@@ -4160,549 +4160,15 @@
this.ribbonControl1.Text = "ribbonControl1";
this.ribbonControl1.UseCustomizeDialog = false;
//
- // ribbonPanel7
- //
- 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, 0);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
- this.ribbonPanel7.Visible = false;
- //
- // ribbonBar5
- //
- this.ribbonBar5.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.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(418, 92);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
- //
- //
- //
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
- this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
- //
- // btn_flag
- //
- 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);
- //
- // slider4ground
- //
- 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);
- //
- // ribbonPanel1
- //
- this.ribbonPanel1.AutoSize = true;
- this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
- this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel1.Controls.Add(this.ribbonBar21);
- this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel1.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel1.Name = "ribbonPanel1";
- this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel1.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel1.Style.Class = "";
- this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseDown.Class = "";
- this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseOver.Class = "";
- this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel1.TabIndex = 1;
- this.ribbonPanel1.Visible = false;
- //
- // ribbonBar21
- //
- this.ribbonBar21.AutoOverflowEnabled = true;
- this.ribbonBar21.BackColor = System.Drawing.Color.White;
- //
- //
- //
- this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.BackgroundStyle.Class = "";
- this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.ContainerControlProcessDialogKey = true;
- this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem87,
- this.buttonItem88,
- this.buttonItem27,
- this.sliderGroundTransSet1,
- this.buttonItem91,
- this.buttonItem1,
- this.btnlegendSet,
- this.buttonItem89});
- this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar21.Name = "ribbonBar21";
- this.ribbonBar21.Size = new System.Drawing.Size(653, 92);
- this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar21.TabIndex = 2;
- this.ribbonBar21.Text = "浏览模式";
- //
- //
- //
- this.ribbonBar21.TitleStyle.Class = "";
- this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.TitleStyleMouseOver.Class = "";
- this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.TitleVisible = false;
- //
- // buttonItem87
- //
- this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
- this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem87.Name = "buttonItem87";
- this.buttonItem87.SubItemsExpandWidth = 14;
- this.buttonItem87.Text = "地上模式";
- this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
- //
- // buttonItem88
- //
- this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
- this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem88.Name = "buttonItem88";
- this.buttonItem88.SubItemsExpandWidth = 14;
- this.buttonItem88.Text = "地下模式";
- this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
- //
- // buttonItem27
- //
- this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
- this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem27.Name = "buttonItem27";
- this.buttonItem27.SubItemsExpandWidth = 14;
- this.buttonItem27.Text = "行走模式";
- this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
- //
- // buttonItem91
- //
- this.buttonItem91.ForeColor = System.Drawing.Color.Black;
- this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem91.Name = "buttonItem91";
- this.buttonItem91.SubItemsExpandWidth = 14;
- this.buttonItem91.Text = "快速定位";
- this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
- //
- // buttonItem1
- //
- this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
- this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem1.Name = "buttonItem1";
- this.buttonItem1.SubItemsExpandWidth = 14;
- this.buttonItem1.Text = "图层管理";
- this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
- //
- // btnlegendSet
- //
- this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
- this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnlegendSet.Name = "btnlegendSet";
- this.btnlegendSet.SubItemsExpandWidth = 14;
- this.btnlegendSet.Text = "图例";
- this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
- //
- // buttonItem89
- //
- this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
- this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem89.Name = "buttonItem89";
- this.buttonItem89.SubItemsExpandWidth = 14;
- this.buttonItem89.Text = "全屏显示";
- this.buttonItem89.Visible = false;
- this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel3.Controls.Add(this.ribbonBar3);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel3.Style.Class = "";
- this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseDown.Class = "";
- this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseOver.Class = "";
- this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel3.TabIndex = 40;
- this.ribbonPanel3.Visible = false;
- //
- // ribbonBar3
- //
- this.ribbonBar3.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.BackgroundStyle.Class = "";
- this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.ContainerControlProcessDialogKey = true;
- this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_device,
- this.btn_Person,
- this.btn_constructMap,
- this.buttonItem9});
- this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar3.Name = "ribbonBar3";
- this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
- this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar3.TabIndex = 0;
- //
- //
- //
- this.ribbonBar3.TitleStyle.Class = "";
- this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.TitleStyleMouseOver.Class = "";
- this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.TitleVisible = false;
- //
- // btn_device
- //
- this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
- this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_device.Name = "btn_device";
- this.btn_device.SubItemsExpandWidth = 14;
- this.btn_device.Text = "探测仪管理";
- this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
- //
- // btn_Person
- //
- this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_Person.Name = "btn_Person";
- this.btn_Person.SubItemsExpandWidth = 14;
- this.btn_Person.Text = "定位人员维护";
- this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
- //
- // btn_constructMap
- //
- this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
- this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_constructMap.Name = "btn_constructMap";
- this.btn_constructMap.SubItemsExpandWidth = 14;
- this.btn_constructMap.Text = "导出施工图";
- this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
- //
- // buttonItem9
- //
- this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
- this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.SubItemsExpandWidth = 14;
- this.buttonItem9.Text = "文档管理";
- this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
- //
- // 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.Name = "btn_resc_info";
- //
- // 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, 0);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- 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(299, 92);
- 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;
this.ribbonPanel15.Controls.Add(this.ribbonBar20);
this.ribbonPanel15.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel15.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel15.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel15.Name = "ribbonPanel15";
this.ribbonPanel15.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel15.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel15.Size = new System.Drawing.Size(1328, 95);
//
//
//
@@ -4719,6 +4185,7 @@
this.ribbonPanel15.StyleMouseOver.Class = "";
this.ribbonPanel15.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel15.TabIndex = 35;
+ this.ribbonPanel15.Visible = false;
//
// ribbonBar20
//
@@ -4750,7 +4217,7 @@
this.buttonItemBZ});
this.ribbonBar20.Location = new System.Drawing.Point(3, 0);
this.ribbonBar20.Name = "ribbonBar20";
- this.ribbonBar20.Size = new System.Drawing.Size(835, 59);
+ this.ribbonBar20.Size = new System.Drawing.Size(835, 92);
this.ribbonBar20.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar20.TabIndex = 0;
//
@@ -6005,6 +5472,539 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_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, 0);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ 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(299, 92);
+ 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);
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel3.Controls.Add(this.ribbonBar3);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel3.Style.Class = "";
+ this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseDown.Class = "";
+ this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseOver.Class = "";
+ this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel3.TabIndex = 40;
+ this.ribbonPanel3.Visible = false;
+ //
+ // ribbonBar3
+ //
+ this.ribbonBar3.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundStyle.Class = "";
+ this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.ContainerControlProcessDialogKey = true;
+ this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_device,
+ this.btn_Person,
+ this.btn_constructMap,
+ this.buttonItem9});
+ this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar3.Name = "ribbonBar3";
+ this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
+ this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar3.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyle.Class = "";
+ this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyleMouseOver.Class = "";
+ this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.TitleVisible = false;
+ //
+ // btn_device
+ //
+ this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
+ this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_device.Name = "btn_device";
+ this.btn_device.SubItemsExpandWidth = 14;
+ this.btn_device.Text = "探测仪管理";
+ this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
+ //
+ // btn_Person
+ //
+ this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_Person.Name = "btn_Person";
+ this.btn_Person.SubItemsExpandWidth = 14;
+ this.btn_Person.Text = "定位人员维护";
+ this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
+ //
+ // btn_constructMap
+ //
+ this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
+ this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_constructMap.Name = "btn_constructMap";
+ this.btn_constructMap.SubItemsExpandWidth = 14;
+ this.btn_constructMap.Text = "导出施工图";
+ this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
+ //
+ // buttonItem9
+ //
+ this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
+ this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem9.Name = "buttonItem9";
+ this.buttonItem9.SubItemsExpandWidth = 14;
+ this.buttonItem9.Text = "文档管理";
+ this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
+ //
+ // ribbonPanel7
+ //
+ 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.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
+ //
+ // ribbonBar5
+ //
+ this.ribbonBar5.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.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(418, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
+ //
+ // btn_flag
+ //
+ 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);
+ //
+ // slider4ground
+ //
+ 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);
+ //
+ // ribbonPanel1
+ //
+ this.ribbonPanel1.AutoSize = true;
+ this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
+ this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel1.Controls.Add(this.ribbonBar21);
+ this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel1.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel1.Name = "ribbonPanel1";
+ this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel1.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel1.Style.Class = "";
+ this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseDown.Class = "";
+ this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseOver.Class = "";
+ this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel1.TabIndex = 1;
+ this.ribbonPanel1.Visible = false;
+ //
+ // ribbonBar21
+ //
+ this.ribbonBar21.AutoOverflowEnabled = true;
+ this.ribbonBar21.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundStyle.Class = "";
+ this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.ContainerControlProcessDialogKey = true;
+ this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem87,
+ this.buttonItem88,
+ this.buttonItem27,
+ this.sliderGroundTransSet1,
+ this.buttonItem91,
+ this.buttonItem1,
+ this.btnlegendSet,
+ this.buttonItem89});
+ this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar21.Name = "ribbonBar21";
+ this.ribbonBar21.Size = new System.Drawing.Size(653, 59);
+ this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar21.TabIndex = 2;
+ this.ribbonBar21.Text = "浏览模式";
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyle.Class = "";
+ this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyleMouseOver.Class = "";
+ this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.TitleVisible = false;
+ //
+ // buttonItem87
+ //
+ this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
+ this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem87.Name = "buttonItem87";
+ this.buttonItem87.SubItemsExpandWidth = 14;
+ this.buttonItem87.Text = "地上模式";
+ this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
+ //
+ // buttonItem88
+ //
+ this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
+ this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem88.Name = "buttonItem88";
+ this.buttonItem88.SubItemsExpandWidth = 14;
+ this.buttonItem88.Text = "地下模式";
+ this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
+ //
+ // buttonItem27
+ //
+ this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
+ this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem27.Name = "buttonItem27";
+ this.buttonItem27.SubItemsExpandWidth = 14;
+ this.buttonItem27.Text = "行走模式";
+ this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
+ //
+ // buttonItem91
+ //
+ this.buttonItem91.ForeColor = System.Drawing.Color.Black;
+ this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem91.Name = "buttonItem91";
+ this.buttonItem91.SubItemsExpandWidth = 14;
+ this.buttonItem91.Text = "快速定位";
+ this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
+ //
+ // buttonItem1
+ //
+ this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
+ this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem1.Name = "buttonItem1";
+ this.buttonItem1.SubItemsExpandWidth = 14;
+ this.buttonItem1.Text = "图层管理";
+ this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
+ //
+ // btnlegendSet
+ //
+ this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
+ this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnlegendSet.Name = "btnlegendSet";
+ this.btnlegendSet.SubItemsExpandWidth = 14;
+ this.btnlegendSet.Text = "图例";
+ this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
+ //
+ // buttonItem89
+ //
+ this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
+ this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem89.Name = "buttonItem89";
+ this.buttonItem89.SubItemsExpandWidth = 14;
+ this.buttonItem89.Text = "全屏显示";
+ this.buttonItem89.Visible = false;
+ this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
+ //
+ // 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.Name = "btn_resc_info";
+ //
+ // 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);
+ //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -6017,7 +6017,6 @@
// ribbonTabItem14
//
this.ribbonTabItem14.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.ribbonTabItem14.Checked = true;
this.ribbonTabItem14.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
this.ribbonTabItem14.Image = global::Cyberpipe.Properties.Resources._24x24icon_08;
this.ribbonTabItem14.Name = "ribbonTabItem14";
@@ -6046,6 +6045,7 @@
// ribbonTabItem7
//
this.ribbonTabItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.ribbonTabItem7.Checked = true;
this.ribbonTabItem7.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_04_hover1;
this.ribbonTabItem7.Image = global::Cyberpipe.Properties.Resources._24x24icon_041;
this.ribbonTabItem7.Name = "ribbonTabItem7";
@@ -6472,12 +6472,12 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/SysRescInfoManager.cs b/SysRescInfoManager.cs
index d9c0a9c..5b3038a 100644
--- a/SysRescInfoManager.cs
+++ b/SysRescInfoManager.cs
@@ -33,14 +33,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("资源新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void SysRescInfoManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
index 8ba3d20..f9eb150 100644
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
+++ b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
@@ -10,6 +10,7 @@
+
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest b/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
deleted file mode 100644
index 061c9ca..0000000
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index 532bca8..5123e71 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -365,39 +365,6 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- 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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
- this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
- 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.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.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSJGL = new DevComponents.DotNetBar.ButtonItem();
@@ -560,6 +527,39 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = 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.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.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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
+ this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
+ 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.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem14 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -647,12 +647,12 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -4114,12 +4114,12 @@
//
this.ribbonControl1.BackgroundStyle.Class = "";
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonControl1.Controls.Add(this.ribbonPanel15);
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel7);
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel8);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel15);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@@ -4160,549 +4160,15 @@
this.ribbonControl1.Text = "ribbonControl1";
this.ribbonControl1.UseCustomizeDialog = false;
//
- // ribbonPanel7
- //
- 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, 0);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
- this.ribbonPanel7.Visible = false;
- //
- // ribbonBar5
- //
- this.ribbonBar5.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.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(418, 92);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
- //
- //
- //
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
- this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
- //
- // btn_flag
- //
- 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);
- //
- // slider4ground
- //
- 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);
- //
- // ribbonPanel1
- //
- this.ribbonPanel1.AutoSize = true;
- this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
- this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel1.Controls.Add(this.ribbonBar21);
- this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel1.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel1.Name = "ribbonPanel1";
- this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel1.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel1.Style.Class = "";
- this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseDown.Class = "";
- this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseOver.Class = "";
- this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel1.TabIndex = 1;
- this.ribbonPanel1.Visible = false;
- //
- // ribbonBar21
- //
- this.ribbonBar21.AutoOverflowEnabled = true;
- this.ribbonBar21.BackColor = System.Drawing.Color.White;
- //
- //
- //
- this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.BackgroundStyle.Class = "";
- this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.ContainerControlProcessDialogKey = true;
- this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem87,
- this.buttonItem88,
- this.buttonItem27,
- this.sliderGroundTransSet1,
- this.buttonItem91,
- this.buttonItem1,
- this.btnlegendSet,
- this.buttonItem89});
- this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar21.Name = "ribbonBar21";
- this.ribbonBar21.Size = new System.Drawing.Size(653, 92);
- this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar21.TabIndex = 2;
- this.ribbonBar21.Text = "浏览模式";
- //
- //
- //
- this.ribbonBar21.TitleStyle.Class = "";
- this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.TitleStyleMouseOver.Class = "";
- this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.TitleVisible = false;
- //
- // buttonItem87
- //
- this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
- this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem87.Name = "buttonItem87";
- this.buttonItem87.SubItemsExpandWidth = 14;
- this.buttonItem87.Text = "地上模式";
- this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
- //
- // buttonItem88
- //
- this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
- this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem88.Name = "buttonItem88";
- this.buttonItem88.SubItemsExpandWidth = 14;
- this.buttonItem88.Text = "地下模式";
- this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
- //
- // buttonItem27
- //
- this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
- this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem27.Name = "buttonItem27";
- this.buttonItem27.SubItemsExpandWidth = 14;
- this.buttonItem27.Text = "行走模式";
- this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
- //
- // buttonItem91
- //
- this.buttonItem91.ForeColor = System.Drawing.Color.Black;
- this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem91.Name = "buttonItem91";
- this.buttonItem91.SubItemsExpandWidth = 14;
- this.buttonItem91.Text = "快速定位";
- this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
- //
- // buttonItem1
- //
- this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
- this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem1.Name = "buttonItem1";
- this.buttonItem1.SubItemsExpandWidth = 14;
- this.buttonItem1.Text = "图层管理";
- this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
- //
- // btnlegendSet
- //
- this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
- this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnlegendSet.Name = "btnlegendSet";
- this.btnlegendSet.SubItemsExpandWidth = 14;
- this.btnlegendSet.Text = "图例";
- this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
- //
- // buttonItem89
- //
- this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
- this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem89.Name = "buttonItem89";
- this.buttonItem89.SubItemsExpandWidth = 14;
- this.buttonItem89.Text = "全屏显示";
- this.buttonItem89.Visible = false;
- this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel3.Controls.Add(this.ribbonBar3);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel3.Style.Class = "";
- this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseDown.Class = "";
- this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseOver.Class = "";
- this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel3.TabIndex = 40;
- this.ribbonPanel3.Visible = false;
- //
- // ribbonBar3
- //
- this.ribbonBar3.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.BackgroundStyle.Class = "";
- this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.ContainerControlProcessDialogKey = true;
- this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_device,
- this.btn_Person,
- this.btn_constructMap,
- this.buttonItem9});
- this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar3.Name = "ribbonBar3";
- this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
- this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar3.TabIndex = 0;
- //
- //
- //
- this.ribbonBar3.TitleStyle.Class = "";
- this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.TitleStyleMouseOver.Class = "";
- this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.TitleVisible = false;
- //
- // btn_device
- //
- this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
- this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_device.Name = "btn_device";
- this.btn_device.SubItemsExpandWidth = 14;
- this.btn_device.Text = "探测仪管理";
- this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
- //
- // btn_Person
- //
- this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_Person.Name = "btn_Person";
- this.btn_Person.SubItemsExpandWidth = 14;
- this.btn_Person.Text = "定位人员维护";
- this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
- //
- // btn_constructMap
- //
- this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
- this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_constructMap.Name = "btn_constructMap";
- this.btn_constructMap.SubItemsExpandWidth = 14;
- this.btn_constructMap.Text = "导出施工图";
- this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
- //
- // buttonItem9
- //
- this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
- this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.SubItemsExpandWidth = 14;
- this.buttonItem9.Text = "文档管理";
- this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
- //
- // 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.Name = "btn_resc_info";
- //
- // 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, 0);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- 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(299, 92);
- 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;
this.ribbonPanel15.Controls.Add(this.ribbonBar20);
this.ribbonPanel15.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel15.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel15.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel15.Name = "ribbonPanel15";
this.ribbonPanel15.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel15.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel15.Size = new System.Drawing.Size(1328, 95);
//
//
//
@@ -4719,6 +4185,7 @@
this.ribbonPanel15.StyleMouseOver.Class = "";
this.ribbonPanel15.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel15.TabIndex = 35;
+ this.ribbonPanel15.Visible = false;
//
// ribbonBar20
//
@@ -4750,7 +4217,7 @@
this.buttonItemBZ});
this.ribbonBar20.Location = new System.Drawing.Point(3, 0);
this.ribbonBar20.Name = "ribbonBar20";
- this.ribbonBar20.Size = new System.Drawing.Size(835, 59);
+ this.ribbonBar20.Size = new System.Drawing.Size(835, 92);
this.ribbonBar20.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar20.TabIndex = 0;
//
@@ -6005,6 +5472,539 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_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, 0);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ 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(299, 92);
+ 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);
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel3.Controls.Add(this.ribbonBar3);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel3.Style.Class = "";
+ this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseDown.Class = "";
+ this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseOver.Class = "";
+ this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel3.TabIndex = 40;
+ this.ribbonPanel3.Visible = false;
+ //
+ // ribbonBar3
+ //
+ this.ribbonBar3.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundStyle.Class = "";
+ this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.ContainerControlProcessDialogKey = true;
+ this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_device,
+ this.btn_Person,
+ this.btn_constructMap,
+ this.buttonItem9});
+ this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar3.Name = "ribbonBar3";
+ this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
+ this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar3.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyle.Class = "";
+ this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyleMouseOver.Class = "";
+ this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.TitleVisible = false;
+ //
+ // btn_device
+ //
+ this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
+ this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_device.Name = "btn_device";
+ this.btn_device.SubItemsExpandWidth = 14;
+ this.btn_device.Text = "探测仪管理";
+ this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
+ //
+ // btn_Person
+ //
+ this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_Person.Name = "btn_Person";
+ this.btn_Person.SubItemsExpandWidth = 14;
+ this.btn_Person.Text = "定位人员维护";
+ this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
+ //
+ // btn_constructMap
+ //
+ this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
+ this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_constructMap.Name = "btn_constructMap";
+ this.btn_constructMap.SubItemsExpandWidth = 14;
+ this.btn_constructMap.Text = "导出施工图";
+ this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
+ //
+ // buttonItem9
+ //
+ this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
+ this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem9.Name = "buttonItem9";
+ this.buttonItem9.SubItemsExpandWidth = 14;
+ this.buttonItem9.Text = "文档管理";
+ this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
+ //
+ // ribbonPanel7
+ //
+ 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.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
+ //
+ // ribbonBar5
+ //
+ this.ribbonBar5.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.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(418, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
+ //
+ // btn_flag
+ //
+ 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);
+ //
+ // slider4ground
+ //
+ 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);
+ //
+ // ribbonPanel1
+ //
+ this.ribbonPanel1.AutoSize = true;
+ this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
+ this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel1.Controls.Add(this.ribbonBar21);
+ this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel1.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel1.Name = "ribbonPanel1";
+ this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel1.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel1.Style.Class = "";
+ this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseDown.Class = "";
+ this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseOver.Class = "";
+ this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel1.TabIndex = 1;
+ this.ribbonPanel1.Visible = false;
+ //
+ // ribbonBar21
+ //
+ this.ribbonBar21.AutoOverflowEnabled = true;
+ this.ribbonBar21.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundStyle.Class = "";
+ this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.ContainerControlProcessDialogKey = true;
+ this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem87,
+ this.buttonItem88,
+ this.buttonItem27,
+ this.sliderGroundTransSet1,
+ this.buttonItem91,
+ this.buttonItem1,
+ this.btnlegendSet,
+ this.buttonItem89});
+ this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar21.Name = "ribbonBar21";
+ this.ribbonBar21.Size = new System.Drawing.Size(653, 59);
+ this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar21.TabIndex = 2;
+ this.ribbonBar21.Text = "浏览模式";
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyle.Class = "";
+ this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyleMouseOver.Class = "";
+ this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.TitleVisible = false;
+ //
+ // buttonItem87
+ //
+ this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
+ this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem87.Name = "buttonItem87";
+ this.buttonItem87.SubItemsExpandWidth = 14;
+ this.buttonItem87.Text = "地上模式";
+ this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
+ //
+ // buttonItem88
+ //
+ this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
+ this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem88.Name = "buttonItem88";
+ this.buttonItem88.SubItemsExpandWidth = 14;
+ this.buttonItem88.Text = "地下模式";
+ this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
+ //
+ // buttonItem27
+ //
+ this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
+ this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem27.Name = "buttonItem27";
+ this.buttonItem27.SubItemsExpandWidth = 14;
+ this.buttonItem27.Text = "行走模式";
+ this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
+ //
+ // buttonItem91
+ //
+ this.buttonItem91.ForeColor = System.Drawing.Color.Black;
+ this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem91.Name = "buttonItem91";
+ this.buttonItem91.SubItemsExpandWidth = 14;
+ this.buttonItem91.Text = "快速定位";
+ this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
+ //
+ // buttonItem1
+ //
+ this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
+ this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem1.Name = "buttonItem1";
+ this.buttonItem1.SubItemsExpandWidth = 14;
+ this.buttonItem1.Text = "图层管理";
+ this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
+ //
+ // btnlegendSet
+ //
+ this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
+ this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnlegendSet.Name = "btnlegendSet";
+ this.btnlegendSet.SubItemsExpandWidth = 14;
+ this.btnlegendSet.Text = "图例";
+ this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
+ //
+ // buttonItem89
+ //
+ this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
+ this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem89.Name = "buttonItem89";
+ this.buttonItem89.SubItemsExpandWidth = 14;
+ this.buttonItem89.Text = "全屏显示";
+ this.buttonItem89.Visible = false;
+ this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
+ //
+ // 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.Name = "btn_resc_info";
+ //
+ // 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);
+ //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -6017,7 +6017,6 @@
// ribbonTabItem14
//
this.ribbonTabItem14.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.ribbonTabItem14.Checked = true;
this.ribbonTabItem14.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
this.ribbonTabItem14.Image = global::Cyberpipe.Properties.Resources._24x24icon_08;
this.ribbonTabItem14.Name = "ribbonTabItem14";
@@ -6046,6 +6045,7 @@
// ribbonTabItem7
//
this.ribbonTabItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.ribbonTabItem7.Checked = true;
this.ribbonTabItem7.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_04_hover1;
this.ribbonTabItem7.Image = global::Cyberpipe.Properties.Resources._24x24icon_041;
this.ribbonTabItem7.Name = "ribbonTabItem7";
@@ -6472,12 +6472,12 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/SysRescInfoManager.cs b/SysRescInfoManager.cs
index d9c0a9c..5b3038a 100644
--- a/SysRescInfoManager.cs
+++ b/SysRescInfoManager.cs
@@ -33,14 +33,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("资源新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void SysRescInfoManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
index 8ba3d20..f9eb150 100644
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
+++ b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
@@ -10,6 +10,7 @@
+
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest b/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
deleted file mode 100644
index 061c9ca..0000000
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp" "b/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp"
deleted file mode 100644
index 94657ab..0000000
--- "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp"
+++ /dev/null
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index 532bca8..5123e71 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -365,39 +365,6 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- 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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
- this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
- 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.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.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSJGL = new DevComponents.DotNetBar.ButtonItem();
@@ -560,6 +527,39 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = 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.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.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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
+ this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
+ 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.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem14 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -647,12 +647,12 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -4114,12 +4114,12 @@
//
this.ribbonControl1.BackgroundStyle.Class = "";
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonControl1.Controls.Add(this.ribbonPanel15);
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel7);
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel8);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel15);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@@ -4160,549 +4160,15 @@
this.ribbonControl1.Text = "ribbonControl1";
this.ribbonControl1.UseCustomizeDialog = false;
//
- // ribbonPanel7
- //
- 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, 0);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
- this.ribbonPanel7.Visible = false;
- //
- // ribbonBar5
- //
- this.ribbonBar5.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.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(418, 92);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
- //
- //
- //
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
- this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
- //
- // btn_flag
- //
- 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);
- //
- // slider4ground
- //
- 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);
- //
- // ribbonPanel1
- //
- this.ribbonPanel1.AutoSize = true;
- this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
- this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel1.Controls.Add(this.ribbonBar21);
- this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel1.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel1.Name = "ribbonPanel1";
- this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel1.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel1.Style.Class = "";
- this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseDown.Class = "";
- this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseOver.Class = "";
- this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel1.TabIndex = 1;
- this.ribbonPanel1.Visible = false;
- //
- // ribbonBar21
- //
- this.ribbonBar21.AutoOverflowEnabled = true;
- this.ribbonBar21.BackColor = System.Drawing.Color.White;
- //
- //
- //
- this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.BackgroundStyle.Class = "";
- this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.ContainerControlProcessDialogKey = true;
- this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem87,
- this.buttonItem88,
- this.buttonItem27,
- this.sliderGroundTransSet1,
- this.buttonItem91,
- this.buttonItem1,
- this.btnlegendSet,
- this.buttonItem89});
- this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar21.Name = "ribbonBar21";
- this.ribbonBar21.Size = new System.Drawing.Size(653, 92);
- this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar21.TabIndex = 2;
- this.ribbonBar21.Text = "浏览模式";
- //
- //
- //
- this.ribbonBar21.TitleStyle.Class = "";
- this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.TitleStyleMouseOver.Class = "";
- this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.TitleVisible = false;
- //
- // buttonItem87
- //
- this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
- this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem87.Name = "buttonItem87";
- this.buttonItem87.SubItemsExpandWidth = 14;
- this.buttonItem87.Text = "地上模式";
- this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
- //
- // buttonItem88
- //
- this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
- this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem88.Name = "buttonItem88";
- this.buttonItem88.SubItemsExpandWidth = 14;
- this.buttonItem88.Text = "地下模式";
- this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
- //
- // buttonItem27
- //
- this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
- this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem27.Name = "buttonItem27";
- this.buttonItem27.SubItemsExpandWidth = 14;
- this.buttonItem27.Text = "行走模式";
- this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
- //
- // buttonItem91
- //
- this.buttonItem91.ForeColor = System.Drawing.Color.Black;
- this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem91.Name = "buttonItem91";
- this.buttonItem91.SubItemsExpandWidth = 14;
- this.buttonItem91.Text = "快速定位";
- this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
- //
- // buttonItem1
- //
- this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
- this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem1.Name = "buttonItem1";
- this.buttonItem1.SubItemsExpandWidth = 14;
- this.buttonItem1.Text = "图层管理";
- this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
- //
- // btnlegendSet
- //
- this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
- this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnlegendSet.Name = "btnlegendSet";
- this.btnlegendSet.SubItemsExpandWidth = 14;
- this.btnlegendSet.Text = "图例";
- this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
- //
- // buttonItem89
- //
- this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
- this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem89.Name = "buttonItem89";
- this.buttonItem89.SubItemsExpandWidth = 14;
- this.buttonItem89.Text = "全屏显示";
- this.buttonItem89.Visible = false;
- this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel3.Controls.Add(this.ribbonBar3);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel3.Style.Class = "";
- this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseDown.Class = "";
- this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseOver.Class = "";
- this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel3.TabIndex = 40;
- this.ribbonPanel3.Visible = false;
- //
- // ribbonBar3
- //
- this.ribbonBar3.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.BackgroundStyle.Class = "";
- this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.ContainerControlProcessDialogKey = true;
- this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_device,
- this.btn_Person,
- this.btn_constructMap,
- this.buttonItem9});
- this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar3.Name = "ribbonBar3";
- this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
- this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar3.TabIndex = 0;
- //
- //
- //
- this.ribbonBar3.TitleStyle.Class = "";
- this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.TitleStyleMouseOver.Class = "";
- this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.TitleVisible = false;
- //
- // btn_device
- //
- this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
- this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_device.Name = "btn_device";
- this.btn_device.SubItemsExpandWidth = 14;
- this.btn_device.Text = "探测仪管理";
- this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
- //
- // btn_Person
- //
- this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_Person.Name = "btn_Person";
- this.btn_Person.SubItemsExpandWidth = 14;
- this.btn_Person.Text = "定位人员维护";
- this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
- //
- // btn_constructMap
- //
- this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
- this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_constructMap.Name = "btn_constructMap";
- this.btn_constructMap.SubItemsExpandWidth = 14;
- this.btn_constructMap.Text = "导出施工图";
- this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
- //
- // buttonItem9
- //
- this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
- this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.SubItemsExpandWidth = 14;
- this.buttonItem9.Text = "文档管理";
- this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
- //
- // 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.Name = "btn_resc_info";
- //
- // 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, 0);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- 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(299, 92);
- 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;
this.ribbonPanel15.Controls.Add(this.ribbonBar20);
this.ribbonPanel15.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel15.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel15.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel15.Name = "ribbonPanel15";
this.ribbonPanel15.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel15.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel15.Size = new System.Drawing.Size(1328, 95);
//
//
//
@@ -4719,6 +4185,7 @@
this.ribbonPanel15.StyleMouseOver.Class = "";
this.ribbonPanel15.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel15.TabIndex = 35;
+ this.ribbonPanel15.Visible = false;
//
// ribbonBar20
//
@@ -4750,7 +4217,7 @@
this.buttonItemBZ});
this.ribbonBar20.Location = new System.Drawing.Point(3, 0);
this.ribbonBar20.Name = "ribbonBar20";
- this.ribbonBar20.Size = new System.Drawing.Size(835, 59);
+ this.ribbonBar20.Size = new System.Drawing.Size(835, 92);
this.ribbonBar20.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar20.TabIndex = 0;
//
@@ -6005,6 +5472,539 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_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, 0);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ 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(299, 92);
+ 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);
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel3.Controls.Add(this.ribbonBar3);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel3.Style.Class = "";
+ this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseDown.Class = "";
+ this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseOver.Class = "";
+ this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel3.TabIndex = 40;
+ this.ribbonPanel3.Visible = false;
+ //
+ // ribbonBar3
+ //
+ this.ribbonBar3.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundStyle.Class = "";
+ this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.ContainerControlProcessDialogKey = true;
+ this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_device,
+ this.btn_Person,
+ this.btn_constructMap,
+ this.buttonItem9});
+ this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar3.Name = "ribbonBar3";
+ this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
+ this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar3.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyle.Class = "";
+ this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyleMouseOver.Class = "";
+ this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.TitleVisible = false;
+ //
+ // btn_device
+ //
+ this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
+ this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_device.Name = "btn_device";
+ this.btn_device.SubItemsExpandWidth = 14;
+ this.btn_device.Text = "探测仪管理";
+ this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
+ //
+ // btn_Person
+ //
+ this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_Person.Name = "btn_Person";
+ this.btn_Person.SubItemsExpandWidth = 14;
+ this.btn_Person.Text = "定位人员维护";
+ this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
+ //
+ // btn_constructMap
+ //
+ this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
+ this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_constructMap.Name = "btn_constructMap";
+ this.btn_constructMap.SubItemsExpandWidth = 14;
+ this.btn_constructMap.Text = "导出施工图";
+ this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
+ //
+ // buttonItem9
+ //
+ this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
+ this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem9.Name = "buttonItem9";
+ this.buttonItem9.SubItemsExpandWidth = 14;
+ this.buttonItem9.Text = "文档管理";
+ this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
+ //
+ // ribbonPanel7
+ //
+ 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.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
+ //
+ // ribbonBar5
+ //
+ this.ribbonBar5.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.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(418, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
+ //
+ // btn_flag
+ //
+ 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);
+ //
+ // slider4ground
+ //
+ 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);
+ //
+ // ribbonPanel1
+ //
+ this.ribbonPanel1.AutoSize = true;
+ this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
+ this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel1.Controls.Add(this.ribbonBar21);
+ this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel1.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel1.Name = "ribbonPanel1";
+ this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel1.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel1.Style.Class = "";
+ this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseDown.Class = "";
+ this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseOver.Class = "";
+ this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel1.TabIndex = 1;
+ this.ribbonPanel1.Visible = false;
+ //
+ // ribbonBar21
+ //
+ this.ribbonBar21.AutoOverflowEnabled = true;
+ this.ribbonBar21.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundStyle.Class = "";
+ this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.ContainerControlProcessDialogKey = true;
+ this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem87,
+ this.buttonItem88,
+ this.buttonItem27,
+ this.sliderGroundTransSet1,
+ this.buttonItem91,
+ this.buttonItem1,
+ this.btnlegendSet,
+ this.buttonItem89});
+ this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar21.Name = "ribbonBar21";
+ this.ribbonBar21.Size = new System.Drawing.Size(653, 59);
+ this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar21.TabIndex = 2;
+ this.ribbonBar21.Text = "浏览模式";
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyle.Class = "";
+ this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyleMouseOver.Class = "";
+ this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.TitleVisible = false;
+ //
+ // buttonItem87
+ //
+ this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
+ this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem87.Name = "buttonItem87";
+ this.buttonItem87.SubItemsExpandWidth = 14;
+ this.buttonItem87.Text = "地上模式";
+ this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
+ //
+ // buttonItem88
+ //
+ this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
+ this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem88.Name = "buttonItem88";
+ this.buttonItem88.SubItemsExpandWidth = 14;
+ this.buttonItem88.Text = "地下模式";
+ this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
+ //
+ // buttonItem27
+ //
+ this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
+ this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem27.Name = "buttonItem27";
+ this.buttonItem27.SubItemsExpandWidth = 14;
+ this.buttonItem27.Text = "行走模式";
+ this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
+ //
+ // buttonItem91
+ //
+ this.buttonItem91.ForeColor = System.Drawing.Color.Black;
+ this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem91.Name = "buttonItem91";
+ this.buttonItem91.SubItemsExpandWidth = 14;
+ this.buttonItem91.Text = "快速定位";
+ this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
+ //
+ // buttonItem1
+ //
+ this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
+ this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem1.Name = "buttonItem1";
+ this.buttonItem1.SubItemsExpandWidth = 14;
+ this.buttonItem1.Text = "图层管理";
+ this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
+ //
+ // btnlegendSet
+ //
+ this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
+ this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnlegendSet.Name = "btnlegendSet";
+ this.btnlegendSet.SubItemsExpandWidth = 14;
+ this.btnlegendSet.Text = "图例";
+ this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
+ //
+ // buttonItem89
+ //
+ this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
+ this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem89.Name = "buttonItem89";
+ this.buttonItem89.SubItemsExpandWidth = 14;
+ this.buttonItem89.Text = "全屏显示";
+ this.buttonItem89.Visible = false;
+ this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
+ //
+ // 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.Name = "btn_resc_info";
+ //
+ // 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);
+ //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -6017,7 +6017,6 @@
// ribbonTabItem14
//
this.ribbonTabItem14.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.ribbonTabItem14.Checked = true;
this.ribbonTabItem14.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
this.ribbonTabItem14.Image = global::Cyberpipe.Properties.Resources._24x24icon_08;
this.ribbonTabItem14.Name = "ribbonTabItem14";
@@ -6046,6 +6045,7 @@
// ribbonTabItem7
//
this.ribbonTabItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.ribbonTabItem7.Checked = true;
this.ribbonTabItem7.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_04_hover1;
this.ribbonTabItem7.Image = global::Cyberpipe.Properties.Resources._24x24icon_041;
this.ribbonTabItem7.Name = "ribbonTabItem7";
@@ -6472,12 +6472,12 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/SysRescInfoManager.cs b/SysRescInfoManager.cs
index d9c0a9c..5b3038a 100644
--- a/SysRescInfoManager.cs
+++ b/SysRescInfoManager.cs
@@ -33,14 +33,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("资源新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void SysRescInfoManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
index 8ba3d20..f9eb150 100644
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
+++ b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
@@ -10,6 +10,7 @@
+
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest b/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
deleted file mode 100644
index 061c9ca..0000000
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp" "b/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp"
deleted file mode 100644
index 94657ab..0000000
--- "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp"
+++ /dev/null
Binary files differ
diff --git "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-43-26\051.dmp" "b/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-43-26\051.dmp"
deleted file mode 100644
index 77956d1..0000000
--- "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-43-26\051.dmp"
+++ /dev/null
Binary files differ
diff --git a/Cyberpipe.csproj b/Cyberpipe.csproj
index 54237f9..2568fe3 100644
--- a/Cyberpipe.csproj
+++ b/Cyberpipe.csproj
@@ -74,6 +74,36 @@
prompt
AllRules.ruleset
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ bin\x86\Debug\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+
+
+ bin\x64\Release\
+ TRACE
+ true
+ pdbonly
+ x64
+ bin\Release\EMSCyberpipe.exe.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ AllRules.ruleset
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
+ false
+ ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
+ false
+
False
diff --git a/Cyberpipe.sln b/Cyberpipe.sln
index a13d2ae..d4e94b7 100644
--- a/Cyberpipe.sln
+++ b/Cyberpipe.sln
@@ -6,17 +6,23 @@
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.ActiveCfg = Debug|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x64.Build.0 = Debug|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.ActiveCfg = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Debug|x86.Build.0 = Debug|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|Any CPU.Build.0 = Release|Any CPU
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.ActiveCfg = Release|x64
+ {52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x64.Build.0 = Release|x64
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.ActiveCfg = Release|x86
{52E529AA-ACEF-4474-8A3E-72ECAA203995}.Release|x86.Build.0 = Release|x86
EndGlobalSection
diff --git a/Cyberpipe.suo b/Cyberpipe.suo
index 2730042..e11a4b3 100644
--- a/Cyberpipe.suo
+++ b/Cyberpipe.suo
Binary files differ
diff --git a/EMS_Forms/Form_EventManager.cs b/EMS_Forms/Form_EventManager.cs
index 157053d..b18c45b 100644
--- a/EMS_Forms/Form_EventManager.cs
+++ b/EMS_Forms/Form_EventManager.cs
@@ -66,10 +66,7 @@
}
conn.Close();
- if (Utility.userRole.IndexOf("事件编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
IS_OPEN = true;
diff --git a/EMS_Forms/Form_TaskManager.cs b/EMS_Forms/Form_TaskManager.cs
index 7e81528..41aa6f2 100644
--- a/EMS_Forms/Form_TaskManager.cs
+++ b/EMS_Forms/Form_TaskManager.cs
@@ -81,10 +81,7 @@
comboBox_state.Items.Add("任务执行中");
comboBox_state.Items.Add("结束任务");
- if (Utility.userRole.IndexOf("工单创建") == -1)
- {
- button_new.Visible = false;
- }
+
IS_OPEN = true;
diff --git a/FrmEquipmentManage.cs b/FrmEquipmentManage.cs
index 6d96e1c..ad650e4 100644
--- a/FrmEquipmentManage.cs
+++ b/FrmEquipmentManage.cs
@@ -51,18 +51,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("探测仪新增") == -1)
- {
- btnAddDev.Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- }
+
}
///
@@ -137,8 +126,7 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("探测仪编辑") == -1)
- return;
+
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count > 0)
diff --git a/FrmFlagManager.cs b/FrmFlagManager.cs
index f6d43b2..1b50075 100644
--- a/FrmFlagManager.cs
+++ b/FrmFlagManager.cs
@@ -55,19 +55,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("标识器添加") == -1)
- {
- btn_add_batch.Visible = false;
- btn_add_menu.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器编辑") == -1)
- {
- dataGridViewX1.Columns["btnEdit"].Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器报废") == -1)
- {
- dataGridViewX1.Columns["btnDel"].Visible = false;
- }
+
}
private void reloadGrid(int pageIndex)
diff --git a/FrmFlagManagers.Designer.cs b/FrmFlagManagers.Designer.cs
index e2cf211..96b427f 100644
--- a/FrmFlagManagers.Designer.cs
+++ b/FrmFlagManagers.Designer.cs
@@ -121,6 +121,7 @@
//
this.btn_add_batch.Name = "btn_add_batch";
this.btn_add_batch.Text = "批量添加";
+ this.btn_add_batch.Visible = false;
this.btn_add_batch.Click += new System.EventHandler(this.btn_add_batch_Click);
//
// btn_add_menu
diff --git a/FrmPatrolerManager.cs b/FrmPatrolerManager.cs
index 9bf9e2c..37f8ffd 100644
--- a/FrmPatrolerManager.cs
+++ b/FrmPatrolerManager.cs
@@ -116,8 +116,6 @@
///
private void winGridViewPager1_OnEditSelected(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- return;
DataGridView grid = sender as DataGridView;
if (grid != null && grid.SelectedRows.Count>0)
@@ -320,20 +318,7 @@
private void initForm()
{
- if (Utility.userRole.IndexOf("巡检员新增") == -1)
- {
- btn_add_person.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员编辑") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[2].Visible = false;
- 编辑ToolStripMenuItem.Visible = false;
- }
- if (Utility.userRole.IndexOf("巡检员注销") == -1)
- {
- //winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- 注销ToolStripMenuItem.Visible = false;
- }
+
}
private void btn_query_person_Click(object sender, EventArgs e)
diff --git a/FrmRoleInfoManager.cs b/FrmRoleInfoManager.cs
index 671e504..21225a7 100644
--- a/FrmRoleInfoManager.cs
+++ b/FrmRoleInfoManager.cs
@@ -32,15 +32,7 @@
private void FrmRoleInfoManager_Load(object sender, EventArgs e)
{
LoadData();
- if (Utility.userRole.IndexOf("角色新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
-
- }
+
IS_OPEN = true;
}
diff --git a/FrmRoleRescManager.cs b/FrmRoleRescManager.cs
index 598552f..14d109d 100644
--- a/FrmRoleRescManager.cs
+++ b/FrmRoleRescManager.cs
@@ -24,10 +24,7 @@
IS_OPEN = true;
initForm("");
initCombox();
- if (Utility.userRole.IndexOf("角色资源") == -1)
- {
- btn_ok.Visible = false;
- }
+
}
private void FrmRoleRescManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmSysUserInfoManger.cs b/FrmSysUserInfoManger.cs
index eb61aff..81c8888 100644
--- a/FrmSysUserInfoManger.cs
+++ b/FrmSysUserInfoManger.cs
@@ -35,14 +35,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("用户新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void FrmSysUserInfoManger_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/FrmUserRole.cs b/FrmUserRole.cs
index 6ad2c6a..9e0b04b 100644
--- a/FrmUserRole.cs
+++ b/FrmUserRole.cs
@@ -24,10 +24,6 @@
IS_OPEN = true;
reloadGrid(-1);
initCombox();
- if (Utility.userRole.IndexOf("用户角色") == -1)
- {
- btn_ok.Visible = false;
- }
}
private void initCombox()
diff --git a/MainFrm.cs b/MainFrm.cs
index 438bafa..4a2b913 100644
--- a/MainFrm.cs
+++ b/MainFrm.cs
@@ -182,21 +182,7 @@
{
toolRightMenu.Items.Remove(区域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("缓冲区分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(缓冲区分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(附属物分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("无源淹没分析") < 0)
- {
- 区域分析ToolStripMenuItem.DropDownItems.Remove(无源淹没分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 视域分析
@@ -204,21 +190,7 @@
{
toolRightMenu.Items.Remove(视域分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("通视分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(通视分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视域分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视域分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("可视包络分析") < 0)
- {
- 视域分析ToolStripMenuItem.DropDownItems.Remove(可视包络分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 开挖分析
@@ -226,33 +198,7 @@
{
toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("多边形开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(多边形开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("挖方量分析") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(挖方量分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("沿线开挖") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(沿线开挖ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("创建隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(创建隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("隐藏隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(隐藏隧道ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("删除隧道") < 0)
- {
- 开挖分析ToolStripMenuItem.DropDownItems.Remove(删除隧道ToolStripMenuItem);
- }
- }
+
#endregion
#region 拓扑分析
@@ -260,37 +206,7 @@
{
toolRightMenu.Items.Remove(拓扑分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("创建拓扑") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(创建拓扑ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("上游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(上游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("下游分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(下游分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("流向分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(流向分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关阀分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(关阀分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连通分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(连通分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("爆管分析") < 0)
- {
- 拓扑分析ToolStripMenuItem.DropDownItems.Remove(爆管分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 断面分析
@@ -298,25 +214,7 @@
{
toolRightMenu.Items.Remove(断面分析ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("横断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(横断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("纵断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(纵断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("道路断面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(道路断面分析ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基线剖面分析") < 0)
- {
- 断面分析ToolStripMenuItem.DropDownItems.Remove(基线剖面分析ToolStripMenuItem);
- }
- }
+
#endregion
#region 绘制区域统计
@@ -324,49 +222,7 @@
{
toolRightMenu.Items.Remove(绘制区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("绘制区域管线长度统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域阀门数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域井盖数量统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域埋深分段统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域管径分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域材质分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域附属物分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器分类统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("绘制区域标识器街道统计") < 0)
- {
- 绘制区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem1);
- }
- }
+
#endregion
#region 全区域统计
@@ -374,49 +230,7 @@
{
toolRightMenu.Items.Remove(全区域统计ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("全区域管线长度统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管线长度统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域阀门数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(阀门数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域井盖数量统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(井盖数量统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域埋深分段统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(埋深分段统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域管径分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(管径分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域材质分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(材质分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域附属物分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(附属物分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器分类统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器分类统计ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("全区域标识器街道统计") < 0)
- {
- 全区域统计ToolStripMenuItem.DropDownItems.Remove(标识器街道统计ToolStripMenuItem);
- }
- }
+
#endregion
#region 查询
@@ -424,49 +238,7 @@
{
toolRightMenu.Items.Remove(查询ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("空间查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(空间查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("编号查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(编号查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(坐标查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(管径查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("材质查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(材质查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("基本查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(基本查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("复合查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(复合查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关联查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关联查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("关键字查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("附属物查询") < 0)
- {
- 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem);
- }
- }
+
#endregion
#region 标注
@@ -474,53 +246,7 @@
{
toolRightMenu.Items.Remove(标注ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("标高标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标高标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("管径标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(管径标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("埋深标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(埋深标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坐标标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坐标标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("距离标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(距离标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("自定义标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(自定义标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("扯旗标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(扯旗标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("坡度标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(坡度标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("属性标注") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(属性标注ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("红线工具") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(红线工具ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("标注管理") < 0)
- {
- 标注ToolStripMenuItem.DropDownItems.Remove(标注管理ToolStripMenuItem);
- }
- }
+
#endregion
#region 飞行
@@ -528,25 +254,7 @@
{
toolRightMenu.Items.Remove(飞行ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("自定义飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(自定义飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("飞行到目标点") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(飞行到目标点ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕中心点飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕中心点飞行ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("绕眼睛飞行") < 0)
- {
- 飞行ToolStripMenuItem.DropDownItems.Remove(绕眼睛飞行ToolStripMenuItem);
- }
- }
+
#endregion
#region 编辑
@@ -554,49 +262,7 @@
{
toolRightMenu.Items.Remove(编辑ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("平移对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(平移对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("升降对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(升降对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("旋转对象") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(旋转对象ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("连接管段") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(连接管段ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem);
- }
- else
- {
- if (Utility.userRole.IndexOf("导出CAD") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0)
- {
- 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1);
- }
-
- }
- if (Utility.userRole.IndexOf("前进") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem);
- }
- if (Utility.userRole.IndexOf("后退") < 0)
- {
- 编辑ToolStripMenuItem.DropDownItems.Remove(删除模型ToolStripMenuItem);
- }
- }
+
#endregion
#region 量算
@@ -604,37 +270,7 @@
{
toolRightMenu.Items.Remove(量算ToolStripMenuItem);
}
- else
- {
- if (Utility.userRole.IndexOf("水平距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("垂直距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(垂直距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("空间距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(空间距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表距离") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表距离ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("高度量算") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(高度量算ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("水平面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(水平面积ToolStripMenuItem1);
- }
- if (Utility.userRole.IndexOf("地表面积") < 0)
- {
- 量算ToolStripMenuItem.DropDownItems.Remove(地表面积ToolStripMenuItem1);
- }
- }
+
#endregion
}
@@ -648,38 +284,7 @@
ribbonControl1.Items.Remove(ribbonTabItem8);
ribbonPanel8.Visible = false;
}
- else
- {
- ribbonTabItem8.Select();
- if (Utility.userRole.IndexOf("用户管理") < 0)
- {
- btn_user_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色管理") < 0)
- {
- btn_role_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源管理") < 0)
- {
- btn_resc_info.Visible = false;
- }
- if (Utility.userRole.IndexOf("角色授权") < 0)
- {
- btn_role_resc.Visible = false;
- }
- if (Utility.userRole.IndexOf("用户授权") < 0)
- {
- btn_user_role.Visible = false;
- }
- if (Utility.userRole.IndexOf("密码修改") < 0)
- {
- btn_password_edit.Visible = false;
- }
- if (Utility.userRole.IndexOf("重置密码") < 0)
- {
- btn_reset_password.Visible = false;
- }
- }
+
#endregion
#region 标识器管理
@@ -688,18 +293,7 @@
ribbonControl1.Items.Remove(ribbonTabItem7);
ribbonPanel7.Visible = false;
}
- else
- {
- ribbonTabItem7.Select();
- if (Utility.userRole.IndexOf("地面透明度(标识器管理)") < 0)
- {
- slider4ground.Visible = false;
- }
- if (Utility.userRole.IndexOf("标识器管理(标识器管理)") < 0)
- {
- btn_flag.Visible = false;
- }
- }
+
#endregion
#region EMS信息管理
@@ -708,26 +302,7 @@
ribbonControl1.Items.Remove(ribbonTabItem5);
ribbonPanel3.Visible = false;
}
- else
- {
- ribbonTabItem5.Select();
- if (Utility.userRole.IndexOf("探测仪管理") < 0)
- {
- btn_device.Visible = false;
- }
- if (Utility.userRole.IndexOf("定位人员维护") < 0)
- {
- btn_Person.Visible = false;
- }
- if (Utility.userRole.IndexOf("导出施工图") < 0)
- {
- btn_constructMap.Visible = false;
- }
- if (Utility.userRole.IndexOf("文档管理") < 0)
- {
- buttonItem9.Visible = false;
- }
- }
+
#endregion
#region 管线探测
@@ -736,24 +311,7 @@
ribbonControl1.Items.Remove(ribbonTabItem2);
ribbonPanel2.Visible = false;
}
- else
- {
- ribbonTabItem2.Select();
- if (Utility.userRole.IndexOf("工单管理")<0)
- {
- buttonItem_TaskManager.Visible = false;
- }
- buttonItem_OnlineTask.Visible = false;
-
- //if (Utility.userRole.IndexOf("在线任务") < 0)
- //{
- // buttonItem_OnlineTask.Visible = false;
- //}
- if (Utility.userRole.IndexOf("事件管理") < 0)
- {
- buttonItem_Event.Visible = false;
- }
- }
+
#endregion
#region 基础工具
@@ -762,38 +320,7 @@
ribbonControl1.Items.Remove(ribbonTabItem1);
ribbonPanel1.Visible = false;
}
- else
- {
- ribbonTabItem1.Select();
- if (Utility.userRole.IndexOf("地上模式") < 0)
- {
- buttonItem87.Visible = false;
- }
- if (Utility.userRole.IndexOf("地下模式") < 0)
- {
- buttonItem88.Visible = false;
- }
- if (Utility.userRole.IndexOf("行走模式") < 0)
- {
- buttonItem27.Visible = false;
- }
- if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0)
- {
- sliderGroundTransSet1.Visible = false;
- }
- if (Utility.userRole.IndexOf("快速定位") < 0)
- {
- buttonItem91.Visible = false;
- }
- if (Utility.userRole.IndexOf("图层管理") < 0)
- {
- buttonItem1.Visible = false;
- }
- if (Utility.userRole.IndexOf("图例") < 0)
- {
- btnlegendSet.Visible = false;
- }
- }
+
#endregion
if (ribbonControl1.Items.Count <= 0)
@@ -13506,10 +13033,7 @@
private void btn_reset_password_Click(object sender, EventArgs e)
{
- if (Utility.userRole.IndexOf("密码重置") < 0)
- {
- return;
- }
+
if (Frm_password_reset.IS_OPEN)
{
return;
diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs
index 532bca8..5123e71 100644
--- a/MainFrm.designer.cs
+++ b/MainFrm.designer.cs
@@ -365,39 +365,6 @@
this.可编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.保存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
- 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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
- this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
- this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
- this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
- this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
- 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.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.ribbonPanel15 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar20 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItemSJGL = new DevComponents.DotNetBar.ButtonItem();
@@ -560,6 +527,39 @@
this.buttonItemBZ9 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ10 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItemBZ11 = 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.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.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.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
+ this.ribbonBar21 = new DevComponents.DotNetBar.RibbonBar();
+ this.buttonItem87 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem88 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem91 = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
+ this.btnlegendSet = new DevComponents.DotNetBar.ButtonItem();
+ this.buttonItem89 = new DevComponents.DotNetBar.ButtonItem();
+ 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.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem14 = new DevComponents.DotNetBar.RibbonTabItem();
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
@@ -647,12 +647,12 @@
this.contextMenuStrip3.SuspendLayout();
this.contextMenuStripDeleteLayerNode.SuspendLayout();
this.ribbonControl1.SuspendLayout();
+ this.ribbonPanel15.SuspendLayout();
+ this.ribbonPanel2.SuspendLayout();
+ this.ribbonPanel3.SuspendLayout();
this.ribbonPanel7.SuspendLayout();
this.ribbonPanel1.SuspendLayout();
- this.ribbonPanel3.SuspendLayout();
this.ribbonPanel8.SuspendLayout();
- this.ribbonPanel2.SuspendLayout();
- this.ribbonPanel15.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -4114,12 +4114,12 @@
//
this.ribbonControl1.BackgroundStyle.Class = "";
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonControl1.Controls.Add(this.ribbonPanel15);
- this.ribbonControl1.Controls.Add(this.ribbonPanel2);
- this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel7);
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel2);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel8);
+ this.ribbonControl1.Controls.Add(this.ribbonPanel15);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@@ -4160,549 +4160,15 @@
this.ribbonControl1.Text = "ribbonControl1";
this.ribbonControl1.UseCustomizeDialog = false;
//
- // ribbonPanel7
- //
- 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, 0);
- this.ribbonPanel7.Name = "ribbonPanel7";
- this.ribbonPanel7.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel7.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel7.Style.Class = "";
- this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseDown.Class = "";
- this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel7.StyleMouseOver.Class = "";
- this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel7.TabIndex = 41;
- this.ribbonPanel7.Visible = false;
- //
- // ribbonBar5
- //
- this.ribbonBar5.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar5.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(418, 92);
- this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar5.TabIndex = 0;
- //
- //
- //
- this.ribbonBar5.TitleStyle.Class = "";
- this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar5.TitleStyleMouseOver.Class = "";
- this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar5.TitleVisible = false;
- this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
- //
- // btn_flag
- //
- 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);
- //
- // slider4ground
- //
- 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);
- //
- // ribbonPanel1
- //
- this.ribbonPanel1.AutoSize = true;
- this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
- this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel1.Controls.Add(this.ribbonBar21);
- this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel1.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel1.Name = "ribbonPanel1";
- this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel1.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel1.Style.Class = "";
- this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseDown.Class = "";
- this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel1.StyleMouseOver.Class = "";
- this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel1.TabIndex = 1;
- this.ribbonPanel1.Visible = false;
- //
- // ribbonBar21
- //
- this.ribbonBar21.AutoOverflowEnabled = true;
- this.ribbonBar21.BackColor = System.Drawing.Color.White;
- //
- //
- //
- this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.BackgroundStyle.Class = "";
- this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.ContainerControlProcessDialogKey = true;
- this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.buttonItem87,
- this.buttonItem88,
- this.buttonItem27,
- this.sliderGroundTransSet1,
- this.buttonItem91,
- this.buttonItem1,
- this.btnlegendSet,
- this.buttonItem89});
- this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar21.Name = "ribbonBar21";
- this.ribbonBar21.Size = new System.Drawing.Size(653, 92);
- this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar21.TabIndex = 2;
- this.ribbonBar21.Text = "浏览模式";
- //
- //
- //
- this.ribbonBar21.TitleStyle.Class = "";
- this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar21.TitleStyleMouseOver.Class = "";
- this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar21.TitleVisible = false;
- //
- // buttonItem87
- //
- this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
- this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem87.Name = "buttonItem87";
- this.buttonItem87.SubItemsExpandWidth = 14;
- this.buttonItem87.Text = "地上模式";
- this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
- //
- // buttonItem88
- //
- this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
- this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem88.Name = "buttonItem88";
- this.buttonItem88.SubItemsExpandWidth = 14;
- this.buttonItem88.Text = "地下模式";
- this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
- //
- // buttonItem27
- //
- this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
- this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem27.Name = "buttonItem27";
- this.buttonItem27.SubItemsExpandWidth = 14;
- this.buttonItem27.Text = "行走模式";
- this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
- //
- // buttonItem91
- //
- this.buttonItem91.ForeColor = System.Drawing.Color.Black;
- this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
- this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem91.Name = "buttonItem91";
- this.buttonItem91.SubItemsExpandWidth = 14;
- this.buttonItem91.Text = "快速定位";
- this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
- //
- // buttonItem1
- //
- this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
- this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem1.Name = "buttonItem1";
- this.buttonItem1.SubItemsExpandWidth = 14;
- this.buttonItem1.Text = "图层管理";
- this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
- //
- // btnlegendSet
- //
- this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
- this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btnlegendSet.Name = "btnlegendSet";
- this.btnlegendSet.SubItemsExpandWidth = 14;
- this.btnlegendSet.Text = "图例";
- this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
- //
- // buttonItem89
- //
- this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
- this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem89.Name = "buttonItem89";
- this.buttonItem89.SubItemsExpandWidth = 14;
- this.buttonItem89.Text = "全屏显示";
- this.buttonItem89.Visible = false;
- this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
- //
- // ribbonPanel3
- //
- this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonPanel3.Controls.Add(this.ribbonBar3);
- this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
- this.ribbonPanel3.Name = "ribbonPanel3";
- this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- this.ribbonPanel3.Style.Class = "";
- this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseDown.Class = "";
- this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonPanel3.StyleMouseOver.Class = "";
- this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonPanel3.TabIndex = 40;
- this.ribbonPanel3.Visible = false;
- //
- // ribbonBar3
- //
- this.ribbonBar3.AutoOverflowEnabled = true;
- //
- //
- //
- this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
- this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.BackgroundStyle.Class = "";
- this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.ContainerControlProcessDialogKey = true;
- this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
- this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.btn_device,
- this.btn_Person,
- this.btn_constructMap,
- this.buttonItem9});
- this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
- this.ribbonBar3.Name = "ribbonBar3";
- this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
- this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.ribbonBar3.TabIndex = 0;
- //
- //
- //
- this.ribbonBar3.TitleStyle.Class = "";
- this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.ribbonBar3.TitleStyleMouseOver.Class = "";
- this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.ribbonBar3.TitleVisible = false;
- //
- // btn_device
- //
- this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
- this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_device.Name = "btn_device";
- this.btn_device.SubItemsExpandWidth = 14;
- this.btn_device.Text = "探测仪管理";
- this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
- //
- // btn_Person
- //
- this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
- this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_Person.Name = "btn_Person";
- this.btn_Person.SubItemsExpandWidth = 14;
- this.btn_Person.Text = "定位人员维护";
- this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
- //
- // btn_constructMap
- //
- this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
- this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.btn_constructMap.Name = "btn_constructMap";
- this.btn_constructMap.SubItemsExpandWidth = 14;
- this.btn_constructMap.Text = "导出施工图";
- this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
- //
- // buttonItem9
- //
- this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
- this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonItem9.Name = "buttonItem9";
- this.buttonItem9.SubItemsExpandWidth = 14;
- this.buttonItem9.Text = "文档管理";
- this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
- //
- // 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.Name = "btn_resc_info";
- //
- // 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, 0);
- this.ribbonPanel2.Name = "ribbonPanel2";
- this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
- //
- //
- //
- 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(299, 92);
- 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;
this.ribbonPanel15.Controls.Add(this.ribbonBar20);
this.ribbonPanel15.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ribbonPanel15.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel15.Location = new System.Drawing.Point(0, 0);
this.ribbonPanel15.Name = "ribbonPanel15";
this.ribbonPanel15.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
- this.ribbonPanel15.Size = new System.Drawing.Size(1328, 62);
+ this.ribbonPanel15.Size = new System.Drawing.Size(1328, 95);
//
//
//
@@ -4719,6 +4185,7 @@
this.ribbonPanel15.StyleMouseOver.Class = "";
this.ribbonPanel15.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel15.TabIndex = 35;
+ this.ribbonPanel15.Visible = false;
//
// ribbonBar20
//
@@ -4750,7 +4217,7 @@
this.buttonItemBZ});
this.ribbonBar20.Location = new System.Drawing.Point(3, 0);
this.ribbonBar20.Name = "ribbonBar20";
- this.ribbonBar20.Size = new System.Drawing.Size(835, 59);
+ this.ribbonBar20.Size = new System.Drawing.Size(835, 92);
this.ribbonBar20.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar20.TabIndex = 0;
//
@@ -6005,6 +5472,539 @@
this.buttonItemBZ11.Text = "标注管理";
this.buttonItemBZ11.Click += new System.EventHandler(this.buttonItemBZ11_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, 0);
+ this.ribbonPanel2.Name = "ribbonPanel2";
+ this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel2.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ 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(299, 92);
+ 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);
+ //
+ // ribbonPanel3
+ //
+ this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel3.Controls.Add(this.ribbonBar3);
+ this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel3.Location = new System.Drawing.Point(0, 0);
+ this.ribbonPanel3.Name = "ribbonPanel3";
+ this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel3.Size = new System.Drawing.Size(1328, 95);
+ //
+ //
+ //
+ this.ribbonPanel3.Style.Class = "";
+ this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseDown.Class = "";
+ this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel3.StyleMouseOver.Class = "";
+ this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel3.TabIndex = 40;
+ this.ribbonPanel3.Visible = false;
+ //
+ // ribbonBar3
+ //
+ this.ribbonBar3.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.BackgroundStyle.Class = "";
+ this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.ContainerControlProcessDialogKey = true;
+ this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.btn_device,
+ this.btn_Person,
+ this.btn_constructMap,
+ this.buttonItem9});
+ this.ribbonBar3.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar3.Name = "ribbonBar3";
+ this.ribbonBar3.Size = new System.Drawing.Size(378, 92);
+ this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar3.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyle.Class = "";
+ this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar3.TitleStyleMouseOver.Class = "";
+ this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar3.TitleVisible = false;
+ //
+ // btn_device
+ //
+ this.btn_device.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_device.Image = global::Cyberpipe.Properties.Resources._24X24__2__02;
+ this.btn_device.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_device.Name = "btn_device";
+ this.btn_device.SubItemsExpandWidth = 14;
+ this.btn_device.Text = "探测仪管理";
+ this.btn_device.Click += new System.EventHandler(this.btn_device_Click);
+ //
+ // btn_Person
+ //
+ this.btn_Person.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.btn_Person.Image = global::Cyberpipe.Properties.Resources._24x24icon_05_hover1;
+ this.btn_Person.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_Person.Name = "btn_Person";
+ this.btn_Person.SubItemsExpandWidth = 14;
+ this.btn_Person.Text = "定位人员维护";
+ this.btn_Person.Click += new System.EventHandler(this.btn_Person_Click);
+ //
+ // btn_constructMap
+ //
+ this.btn_constructMap.Image = global::Cyberpipe.Properties.Resources._24x24icon_04_hover;
+ this.btn_constructMap.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btn_constructMap.Name = "btn_constructMap";
+ this.btn_constructMap.SubItemsExpandWidth = 14;
+ this.btn_constructMap.Text = "导出施工图";
+ this.btn_constructMap.Click += new System.EventHandler(this.btn_constructMap_Click);
+ //
+ // buttonItem9
+ //
+ this.buttonItem9.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__10;
+ this.buttonItem9.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem9.Name = "buttonItem9";
+ this.buttonItem9.SubItemsExpandWidth = 14;
+ this.buttonItem9.Text = "文档管理";
+ this.buttonItem9.Click += new System.EventHandler(this.buttonItem9_Click);
+ //
+ // ribbonPanel7
+ //
+ 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.ribbonPanel7.Style.Class = "";
+ this.ribbonPanel7.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseDown.Class = "";
+ this.ribbonPanel7.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel7.StyleMouseOver.Class = "";
+ this.ribbonPanel7.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel7.TabIndex = 41;
+ //
+ // ribbonBar5
+ //
+ this.ribbonBar5.AutoOverflowEnabled = true;
+ //
+ //
+ //
+ this.ribbonBar5.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar5.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(418, 59);
+ this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar5.TabIndex = 0;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyle.Class = "";
+ this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar5.TitleStyleMouseOver.Class = "";
+ this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar5.TitleVisible = false;
+ this.ribbonBar5.ItemClick += new System.EventHandler(this.ribbonBar5_ItemClick);
+ //
+ // btn_flag
+ //
+ 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);
+ //
+ // slider4ground
+ //
+ 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);
+ //
+ // ribbonPanel1
+ //
+ this.ribbonPanel1.AutoSize = true;
+ this.ribbonPanel1.CanvasColor = System.Drawing.Color.Gray;
+ this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonPanel1.Controls.Add(this.ribbonBar21);
+ this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ribbonPanel1.Location = new System.Drawing.Point(0, 33);
+ this.ribbonPanel1.Name = "ribbonPanel1";
+ this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
+ this.ribbonPanel1.Size = new System.Drawing.Size(1328, 62);
+ //
+ //
+ //
+ this.ribbonPanel1.Style.Class = "";
+ this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseDown.Class = "";
+ this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonPanel1.StyleMouseOver.Class = "";
+ this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonPanel1.TabIndex = 1;
+ this.ribbonPanel1.Visible = false;
+ //
+ // ribbonBar21
+ //
+ this.ribbonBar21.AutoOverflowEnabled = true;
+ this.ribbonBar21.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundMouseOverStyle.Class = "";
+ this.ribbonBar21.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.BackgroundStyle.Class = "";
+ this.ribbonBar21.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.ContainerControlProcessDialogKey = true;
+ this.ribbonBar21.Dock = System.Windows.Forms.DockStyle.Left;
+ this.ribbonBar21.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.buttonItem87,
+ this.buttonItem88,
+ this.buttonItem27,
+ this.sliderGroundTransSet1,
+ this.buttonItem91,
+ this.buttonItem1,
+ this.btnlegendSet,
+ this.buttonItem89});
+ this.ribbonBar21.Location = new System.Drawing.Point(3, 0);
+ this.ribbonBar21.Name = "ribbonBar21";
+ this.ribbonBar21.Size = new System.Drawing.Size(653, 59);
+ this.ribbonBar21.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.ribbonBar21.TabIndex = 2;
+ this.ribbonBar21.Text = "浏览模式";
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyle.Class = "";
+ this.ribbonBar21.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.ribbonBar21.TitleStyleMouseOver.Class = "";
+ this.ribbonBar21.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.ribbonBar21.TitleVisible = false;
+ //
+ // buttonItem87
+ //
+ this.buttonItem87.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__86;
+ this.buttonItem87.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem87.Name = "buttonItem87";
+ this.buttonItem87.SubItemsExpandWidth = 14;
+ this.buttonItem87.Text = "地上模式";
+ this.buttonItem87.Click += new System.EventHandler(this.buttonItem87_Click);
+ //
+ // buttonItem88
+ //
+ this.buttonItem88.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__87;
+ this.buttonItem88.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem88.Name = "buttonItem88";
+ this.buttonItem88.SubItemsExpandWidth = 14;
+ this.buttonItem88.Text = "地下模式";
+ this.buttonItem88.Click += new System.EventHandler(this.buttonItem88_Click);
+ //
+ // buttonItem27
+ //
+ this.buttonItem27.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__88;
+ this.buttonItem27.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem27.Name = "buttonItem27";
+ this.buttonItem27.SubItemsExpandWidth = 14;
+ this.buttonItem27.Text = "行走模式";
+ this.buttonItem27.Click += new System.EventHandler(this.buttonItem27_Click);
+ //
+ // buttonItem91
+ //
+ this.buttonItem91.ForeColor = System.Drawing.Color.Black;
+ this.buttonItem91.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__92;
+ this.buttonItem91.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem91.Name = "buttonItem91";
+ this.buttonItem91.SubItemsExpandWidth = 14;
+ this.buttonItem91.Text = "快速定位";
+ this.buttonItem91.Click += new System.EventHandler(this.buttonItem91_Click);
+ //
+ // buttonItem1
+ //
+ this.buttonItem1.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__94;
+ this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem1.Name = "buttonItem1";
+ this.buttonItem1.SubItemsExpandWidth = 14;
+ this.buttonItem1.Text = "图层管理";
+ this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
+ //
+ // btnlegendSet
+ //
+ this.btnlegendSet.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__93;
+ this.btnlegendSet.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.btnlegendSet.Name = "btnlegendSet";
+ this.btnlegendSet.SubItemsExpandWidth = 14;
+ this.btnlegendSet.Text = "图例";
+ this.btnlegendSet.Click += new System.EventHandler(this.btnlegendSet_Click);
+ //
+ // buttonItem89
+ //
+ this.buttonItem89.Image = global::Cyberpipe.Properties.Resources._24x24icon__2__90;
+ this.buttonItem89.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonItem89.Name = "buttonItem89";
+ this.buttonItem89.SubItemsExpandWidth = 14;
+ this.buttonItem89.Text = "全屏显示";
+ this.buttonItem89.Visible = false;
+ this.buttonItem89.Click += new System.EventHandler(this.buttonItem89_Click);
+ //
+ // 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.Name = "btn_resc_info";
+ //
+ // 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);
+ //
// ribbonTabItem1
//
this.ribbonTabItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
@@ -6017,7 +6017,6 @@
// ribbonTabItem14
//
this.ribbonTabItem14.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
- this.ribbonTabItem14.Checked = true;
this.ribbonTabItem14.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_08_hover;
this.ribbonTabItem14.Image = global::Cyberpipe.Properties.Resources._24x24icon_08;
this.ribbonTabItem14.Name = "ribbonTabItem14";
@@ -6046,6 +6045,7 @@
// ribbonTabItem7
//
this.ribbonTabItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+ this.ribbonTabItem7.Checked = true;
this.ribbonTabItem7.HoverImage = global::Cyberpipe.Properties.Resources._24x24icon_04_hover1;
this.ribbonTabItem7.Image = global::Cyberpipe.Properties.Resources._24x24icon_041;
this.ribbonTabItem7.Name = "ribbonTabItem7";
@@ -6472,12 +6472,12 @@
this.contextMenuStripDeleteLayerNode.ResumeLayout(false);
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
+ this.ribbonPanel15.ResumeLayout(false);
+ this.ribbonPanel2.ResumeLayout(false);
+ this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel7.ResumeLayout(false);
this.ribbonPanel1.ResumeLayout(false);
- this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel8.ResumeLayout(false);
- this.ribbonPanel2.ResumeLayout(false);
- this.ribbonPanel15.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/SysRescInfoManager.cs b/SysRescInfoManager.cs
index d9c0a9c..5b3038a 100644
--- a/SysRescInfoManager.cs
+++ b/SysRescInfoManager.cs
@@ -33,14 +33,7 @@
{
IS_OPEN = true;
LoadData();
- if (Utility.userRole.IndexOf("资源新增") == -1)
- {
- btn_add.Visible = false;
- }
- if (Utility.userRole.IndexOf("资源删除") == -1)
- {
- winGridViewPager1.dataGridView1.ContextMenuStrip.Items[3].Visible = false;
- }
+
}
private void SysRescInfoManager_FormClosing(object sender, FormClosingEventArgs e)
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
index 8ba3d20..f9eb150 100644
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
+++ b/bin/x86/Debug/EMSCyberpipe.vshost.exe.config
@@ -10,6 +10,7 @@
+
diff --git a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest b/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
deleted file mode 100644
index 061c9ca..0000000
--- a/bin/x86/Debug/EMSCyberpipe.vshost.exe.manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp" "b/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp"
deleted file mode 100644
index 94657ab..0000000
--- "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-37-34\051.dmp"
+++ /dev/null
Binary files differ
diff --git "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-43-26\051.dmp" "b/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-43-26\051.dmp"
deleted file mode 100644
index 77956d1..0000000
--- "a/bin/x86/Debug/EMSCyberpipe2016-08-12\05014-43-26\051.dmp"
+++ /dev/null
Binary files differ
diff --git "a/bin/x86/Debug/EMSCyberpipe2016-11-28\05013-56-55\051.dmp" "b/bin/x86/Debug/EMSCyberpipe2016-11-28\05013-56-55\051.dmp"
deleted file mode 100644
index 155133c..0000000
--- "a/bin/x86/Debug/EMSCyberpipe2016-11-28\05013-56-55\051.dmp"
+++ /dev/null
Binary files differ