init lserp cs 5.0

This commit is contained in:
cyf
2026-07-10 15:25:05 +08:00
commit 90f3fda86a
3799 changed files with 976868 additions and 0 deletions
+282
View File
@@ -0,0 +1,282 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Main", "Lskj.Main\Lskj.Main.csproj", "{421749FA-0343-4A18-A03D-11D84BD1FFD6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ControlLib", "..\ControlLib\ControlLib.csproj", "{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonLib", "..\CommonLib\CommonLib.csproj", "{3E8E6529-5D8A-4F17-8C41-27CD7380178D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.MyControl", "..\Lskj.MyControl\Lskj.MyControl.csproj", "{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Report", "..\Lskj.Report\Lskj.Report\Lskj.Report.csproj", "{516750E8-FFF8-499F-B167-C2B781E70F35}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Common", "..\Lskj.Common\Lskj.Common.csproj", "{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.BaseAccraditation", "..\Lskj.BaseAccraditation\Lskj.BaseAccraditation\Lskj.BaseAccraditation.csproj", "{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubAccraditation", "..\Lskj.PubAccraditation\Lskj.PubAccraditation\Lskj.PubAccraditation.csproj", "{781A5A97-921F-40F7-990A-42200E88204F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubUtils", "..\Lskj.PubUtils\Lskj.PubUtils.csproj", "{752386CB-FD63-4565-980F-E8F72A520F77}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModule", "..\Lskj.PubModule\Lskj.PubModule\Lskj.PubModule.csproj", "{EC847F73-0E0A-4828-9291-7195EF4C94DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBill", "..\Lskj.PubBill\Lskj.PubBill\Lskj.PubBill.csproj", "{3099E8AC-E422-4E31-968C-97BDFD082632}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBillInfo", "..\Lskj.PubBillInfo\Lskj.PubBillInfo.csproj", "{6012FE1F-6848-46A4-B805-899D6ECE9C60}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PhotoView", "..\Lskj.PhotoView\Lskj.PhotoView\Lskj.PhotoView.csproj", "{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Excel", "..\Lskj.Excel\Lskj.Excel.csproj", "{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModuleDetail", "..\Lskj.PubModuleDetail\Lskj.PubModuleDetail.csproj", "{7536863A-9A0A-43DD-8B12-3971A0B3FD46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.CmCapture", "..\Lskj.CmCapture\Lskj.CmCapture.csproj", "{78F10772-3B77-423D-92B8-BBFE064B4360}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBillDetail", "..\Lskj.PubBillDetail\Lskj.PubBillDetail\Lskj.PubBillDetail.csproj", "{69E3CA10-E11A-406D-95DC-93C0DC6A800B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubPageDetail", "..\Lskj.PubPageDetail\Lskj.PubPageDetail\Lskj.PubPageDetail.csproj", "{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubAdd3", "..\Lskj.PubAdd3\Lskj.PubAdd3\Lskj.PubAdd3.csproj", "{BD50FF9A-A360-4F32-9E51-A280B34072CC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubPageModuleDetail", "..\Lskj.PubPageModuleDetail\Lskj.PubPageModuleDetail.csproj", "{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubAdd", "..\Lskj.PubAdd\Lskj.PubAdd\Lskj.PubAdd.csproj", "{71CD67E1-8492-4E3C-B343-9FC48AB0E368}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubAdd2", "..\Lskj.Add2\Lskj.Add2\Lskj.PubAdd2.csproj", "{2F1171BB-1A05-4A12-9A38-02806DDEB598}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Debug|x86.ActiveCfg = Debug|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Release|Any CPU.Build.0 = Release|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{421749FA-0343-4A18-A03D-11D84BD1FFD6}.Release|x86.ActiveCfg = Release|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Debug|x86.ActiveCfg = Debug|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Release|Any CPU.Build.0 = Release|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Release|x86.ActiveCfg = Release|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Debug|x86.ActiveCfg = Debug|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Release|Any CPU.Build.0 = Release|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Release|x86.ActiveCfg = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Debug|x86.ActiveCfg = Debug|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Any CPU.Build.0 = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|x86.ActiveCfg = Release|Any CPU
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|Any CPU.ActiveCfg = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|Mixed Platforms.Build.0 = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|x86.ActiveCfg = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Debug|x86.Build.0 = Debug|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|Any CPU.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|Mixed Platforms.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|Mixed Platforms.Build.0 = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|x86.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|x86.Build.0 = Release|x86
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Debug|x86.ActiveCfg = Debug|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Any CPU.Build.0 = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|x86.ActiveCfg = Release|Any CPU
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Any CPU.ActiveCfg = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|Mixed Platforms.Build.0 = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|x86.ActiveCfg = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Debug|x86.Build.0 = Debug|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Any CPU.ActiveCfg = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Mixed Platforms.ActiveCfg = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|Mixed Platforms.Build.0 = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|x86.ActiveCfg = Release|x86
{3905A2F5-FA0A-4F16-87BD-34DFAE21C18F}.Release|x86.Build.0 = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|Any CPU.ActiveCfg = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|Mixed Platforms.Build.0 = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|x86.ActiveCfg = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Debug|x86.Build.0 = Debug|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|Any CPU.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|Mixed Platforms.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|Mixed Platforms.Build.0 = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|x86.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|x86.Build.0 = Release|x86
{752386CB-FD63-4565-980F-E8F72A520F77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Debug|Any CPU.Build.0 = Debug|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Debug|x86.ActiveCfg = Debug|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Release|Any CPU.ActiveCfg = Release|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Release|Any CPU.Build.0 = Release|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Release|x86.ActiveCfg = Release|Any CPU
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|Any CPU.ActiveCfg = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|Mixed Platforms.Build.0 = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|x86.ActiveCfg = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Debug|x86.Build.0 = Debug|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|Any CPU.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|Mixed Platforms.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|Mixed Platforms.Build.0 = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|x86.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|x86.Build.0 = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|Any CPU.ActiveCfg = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|Mixed Platforms.Build.0 = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|x86.ActiveCfg = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Debug|x86.Build.0 = Debug|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|Any CPU.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|Mixed Platforms.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|Mixed Platforms.Build.0 = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|x86.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|x86.Build.0 = Release|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Debug|Any CPU.ActiveCfg = Debug|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Debug|Mixed Platforms.Build.0 = Debug|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Debug|x86.ActiveCfg = Debug|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Debug|x86.Build.0 = Debug|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Release|Any CPU.ActiveCfg = Release|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Release|Mixed Platforms.ActiveCfg = Release|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Release|Mixed Platforms.Build.0 = Release|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Release|x86.ActiveCfg = Release|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Release|x86.Build.0 = Release|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Debug|Any CPU.ActiveCfg = Debug|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Debug|Mixed Platforms.Build.0 = Debug|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Debug|x86.ActiveCfg = Debug|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Debug|x86.Build.0 = Debug|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Release|Any CPU.ActiveCfg = Release|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Release|Mixed Platforms.ActiveCfg = Release|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Release|Mixed Platforms.Build.0 = Release|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Release|x86.ActiveCfg = Release|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Release|x86.Build.0 = Release|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Debug|Any CPU.ActiveCfg = Debug|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Debug|Mixed Platforms.Build.0 = Debug|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Debug|x86.ActiveCfg = Debug|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Debug|x86.Build.0 = Debug|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Release|Any CPU.ActiveCfg = Release|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Release|Mixed Platforms.ActiveCfg = Release|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Release|Mixed Platforms.Build.0 = Release|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Release|x86.ActiveCfg = Release|x86
{BD7394C7-C5FA-4D94-9BA1-AD8AB8270370}.Release|x86.Build.0 = Release|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Debug|Any CPU.ActiveCfg = Debug|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Debug|Mixed Platforms.Build.0 = Debug|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Debug|x86.ActiveCfg = Debug|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Debug|x86.Build.0 = Debug|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Release|Any CPU.ActiveCfg = Release|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Release|Mixed Platforms.ActiveCfg = Release|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Release|Mixed Platforms.Build.0 = Release|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Release|x86.ActiveCfg = Release|x86
{7536863A-9A0A-43DD-8B12-3971A0B3FD46}.Release|x86.Build.0 = Release|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Debug|Any CPU.ActiveCfg = Debug|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Debug|Mixed Platforms.Build.0 = Debug|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Debug|x86.ActiveCfg = Debug|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Debug|x86.Build.0 = Debug|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Release|Any CPU.ActiveCfg = Release|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Release|Mixed Platforms.ActiveCfg = Release|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Release|Mixed Platforms.Build.0 = Release|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Release|x86.ActiveCfg = Release|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Release|x86.Build.0 = Release|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Debug|Any CPU.ActiveCfg = Debug|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Debug|Mixed Platforms.Build.0 = Debug|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Debug|x86.ActiveCfg = Debug|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Debug|x86.Build.0 = Debug|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Release|Any CPU.ActiveCfg = Release|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Release|Mixed Platforms.ActiveCfg = Release|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Release|Mixed Platforms.Build.0 = Release|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Release|x86.ActiveCfg = Release|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Release|x86.Build.0 = Release|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Debug|Any CPU.ActiveCfg = Debug|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Debug|Mixed Platforms.Build.0 = Debug|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Debug|x86.ActiveCfg = Debug|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Debug|x86.Build.0 = Debug|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Release|Any CPU.ActiveCfg = Release|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Release|Mixed Platforms.ActiveCfg = Release|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Release|Mixed Platforms.Build.0 = Release|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Release|x86.ActiveCfg = Release|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Release|x86.Build.0 = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|Any CPU.ActiveCfg = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|Mixed Platforms.Build.0 = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|x86.ActiveCfg = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Debug|x86.Build.0 = Debug|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|Any CPU.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|Mixed Platforms.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|Mixed Platforms.Build.0 = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|x86.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|x86.Build.0 = Release|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Debug|Any CPU.ActiveCfg = Debug|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Debug|Mixed Platforms.Build.0 = Debug|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Debug|x86.ActiveCfg = Debug|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Debug|x86.Build.0 = Debug|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Release|Any CPU.ActiveCfg = Release|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Release|Mixed Platforms.ActiveCfg = Release|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Release|Mixed Platforms.Build.0 = Release|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Release|x86.ActiveCfg = Release|x86
{F02B0C21-51B9-41C7-B874-FDF7D6D343C7}.Release|x86.Build.0 = Release|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Debug|Any CPU.ActiveCfg = Debug|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Debug|Mixed Platforms.Build.0 = Debug|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Debug|x86.ActiveCfg = Debug|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Debug|x86.Build.0 = Debug|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Release|Any CPU.ActiveCfg = Release|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Release|Mixed Platforms.ActiveCfg = Release|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Release|Mixed Platforms.Build.0 = Release|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Release|x86.ActiveCfg = Release|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Release|x86.Build.0 = Release|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Debug|Any CPU.ActiveCfg = Debug|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Debug|Mixed Platforms.Build.0 = Debug|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Debug|x86.ActiveCfg = Debug|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Debug|x86.Build.0 = Debug|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Release|Any CPU.ActiveCfg = Release|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Release|Mixed Platforms.ActiveCfg = Release|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Release|Mixed Platforms.Build.0 = Release|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Release|x86.ActiveCfg = Release|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
@@ -0,0 +1,165 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CommonLib;
using System.Data.SqlClient;
using CommonLib.data;
using DevExpress.XtraEditors;
using Lskj.Main.main;
using System.Text.RegularExpressions;
namespace Lskj.Main.App_Code
{
/// <summary>
/// 登录基类
/// </summary>
public partial class FrmLoginBase : FormBase
{
public bool isVerfyPassword = false;
public bool pwdForceChange = false;
public FrmLoginBase()
{
InitializeComponent();
}
private void FrmLoginBase_Load(object sender, EventArgs e)
{
}
Regex regex = new Regex(@"(?=.*[0-9]) #必须包含数字
(?=.*[a-zA-Z]) #必须包含小写或大写字母
(?=.*[^a-zA-Z0-9]) #必须包含符号
.{8,18} #至少6个字符,最多18个字符
", RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace);
/// <summary>
/// 获取软件打开模式
/// </summary>
/// <returns></returns>
protected int GetSoftOpenMode()
{
//object obj = SqlHelper.ExecuteScalar(CommandType.Text, "select SoftOpenMode from p_employeetab where EmployeeId=" + ERPInfo.Instance.EmployeeId);
// if (obj != null)
//{
// int openMode = Convert.ToInt32(obj);
// ERPInfo.Instance.SoftOpenMode = openMode;
// return openMode;
// }
return 0;
}
/// <summary>
/// 用户登录
/// </summary>
/// <param name="strEmployeeId"></param>
/// <param name="strPwd"></param>
/// <param name="strName"></param>
/// <returns></returns>
public bool Login(string strEmployeeId, string strPwd, string strName, bool qzLogin)
{
if (strEmployeeId == string.Empty)
{
XtraMessageBox.Show("请输入用户名称!");
return false;
}
int EmployeeId = 0;
string sPwd = strPwd;
if (int.TryParse(strEmployeeId, out EmployeeId) == false)
{
XtraMessageBox.Show("操作人员数据错误请与管理员联系");
return false;
}
strPwd = PubUtil.EncryptPassword(strPwd);
try
{
if (EmployeeId == 0)
{
XtraMessageBox.Show("操作人员数据错误,请与管理员联系!");
return false;
}
//强制登陆
if (qzLogin)
{
string tmpsql = "delete from p_LoginHostInfotab where OperatorId=" + EmployeeId + "";
SqlHelper.ExecuteNonQuery(CommandType.Text, tmpsql);
}
SqlParameter[] cmdParams = new SqlParameter[]
{
new SqlParameter("@ReturnValue",SqlDbType.Int),
new SqlParameter("@operatorid",SqlDbType.Int),
new SqlParameter("@pwd",SqlDbType.VarChar,100)
};
cmdParams[0].Direction = ParameterDirection.ReturnValue;
cmdParams[1].Value = EmployeeId;
cmdParams[2].Value = strPwd;
SqlHelper.ExecuteNonQuery(CommandType.StoredProcedure, "P_Login_pr", cmdParams);
int iRet = int.Parse(cmdParams[0].Value.ToString());
switch (iRet)
{
case -1:
{
XtraMessageBox.Show("登录失败!");
break;
}
case 0:
{
DataTable dt1 = SqlHelper.ExecuteDataSet("select * from dbo.p_systemtab").Tables[0];
if (dt1 != null && dt1.Rows.Count > 0)
{
if (dt1.Columns.Contains("VerfyPasswordStrength")){
isVerfyPassword = !string.IsNullOrEmpty(dt1.Rows[0]["VerfyPasswordStrength"] + "") ? !regex.IsMatch(sPwd) : false;
}
}
ERPInfo.Instance.EmployeeName = strName;
ERPInfo.Instance.OperatorName = strName;
ERPInfo.Instance.EmployeeId = EmployeeId;
ERPInfo.Instance.Password = strPwd;
//设置delphi公用库参数
ERPInfo.Instance.SetDephiDllParams();
//检测密码为空则强制设置密码
if (((sPwd == "") && (pwdForceChange)) || isVerfyPassword)
{
FrmChangePwd frmPwd = new FrmChangePwd();
frmPwd.loginUser = strName;
frmPwd.loginId = EmployeeId;
DialogResult dr = frmPwd.ShowDialog();
if (dr != System.Windows.Forms.DialogResult.OK)
{
return false;
}
}
return true;
}
case 1:
{
XtraMessageBox.Show("密码不正确,请重新输入!");
break;
}
case 2:
{
XtraMessageBox.Show("已经有该用户登陆,请换用户登陆!");
break;
}
}
}
catch (Exception ex)
{
PubUtil.WriteError("登录失败", ex.Message);
XtraMessageBox.Show("登陆失败!");
}
return false;
}
}
}
@@ -0,0 +1,53 @@
namespace Lskj.Main.App_Code
{
partial class FrmLoginBase
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLoginBase));
this.SuspendLayout();
//
// FrmLoginBase
//
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Appearance.Options.UseFont = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.LookAndFeel.SkinName = "Office 2010 Blue";
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
this.Name = "FrmLoginBase";
this.Text = "FrmLoginBase";
this.Load += new System.EventHandler(this.FrmLoginBase_Load);
this.ResumeLayout(false);
}
#endregion
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,221 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommonLib;
using System.Windows.Forms;
using DevExpress.XtraTab;
using DevExpress.Utils;
using System.Runtime.InteropServices;
using CommonLib.utils;
namespace Lskj.Main
{
public class ModuleManager
{
#region C#DLL相关调用
/// <summary>
/// 添加到选项卡
/// </summary>
/// <param name="TabMain"></param>
/// <param name="module"></param>
/// <param name="args"></param>
/// <param name="IsShowClose"></param>
public static void AddModuleToTab(XtraTabControl TabMain, DllModule module, string[] obj, bool IsShowClose)
{
//if (PubUtil.ModuleForms.ContainsKey(module.Id))
//{
// foreach (XtraTabPage item in TabMain.TabPages)
// {
// string id = item.Tag + "";
// if (id == module.Id)
// {
// TabMain.SelectedTabPage = item;
// break;
// }
// }
//}
//else
//{
try
{
IForm iform = PubUtil.LoadDllForm(module.DllName, obj);
Form form = iform.SubForm;
module.ModuleForm = form;
string guid = Guid.NewGuid().ToString();
XtraTabPage tp = new XtraTabPage();
tp.Text = module.Name;
//tp.Tag = module.Id;
tp.Tag = guid;
form.FormBorderStyle = FormBorderStyle.None;
//这个必须有不然会提示:"不能向tabControl中添加顶级控件"
form.TopLevel = false;
form.Dock = DockStyle.Fill;
//这个必须有,不然显示不出来
tp.Controls.Add(form);
if (IsShowClose)
tp.ShowCloseButton = DefaultBoolean.True;
TabMain.TabPages.Add(tp);
TabMain.SelectedTabPage = tp;
module.Tag = "1";
form.Show();
PubUtil.ModuleForms.Add(guid, module);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
//}
}
/// <summary>
/// Show模式打开
/// </summary>
/// <param name="module">模块信息</param>
/// <param name="args">参数</param>
public static void AddModuleToShow(DllModule module, string[] args)
{
if (PubUtil.ModuleForms.ContainsKey(module.Id))
{
Form form = PubUtil.ModuleForms[module.Id].ModuleForm;
if (form == null)
return;
form.Text = module.Name;
form.WindowState = FormWindowState.Normal;
form.Activate();
form.BringToFront();
form.Focus();
form.Show();
}
else
{
IForm iform = PubUtil.LoadDllForm(module.DllName, args);
if (iform == null)
return;
Form form = iform.SubForm;
module.Tag = "1";
module.ModuleForm = form;
form.Show();
PubUtil.ModuleForms.Add(module.Id, module);
}
}
#endregion
#region Delphi相关调用
/// <summary>
/// Delphi-Show模式打开
/// </summary>
/// <param name="module"></param>
public static void AddModuleDelphiToShow(DllModule module)
{
if (PubUtil.ModuleForms.ContainsKey(module.Id))
{
Form iform = PubUtil.ModuleForms[module.Id].ModuleForm;
iform.Text = module.Name;
iform.Activate();
iform.BringToFront();
iform.Focus();
iform.Show();
}
else
{
// StringBuilder result = PubUtil.LoadDelphiDllEx(module.DllName);
// if (result.ToString().IndexOf('@') != -1)
// {
// string[] str = result.ToString().Split('@');
// module.ModuleInPtr = new IntPtr(Convert.ToInt32(str[1]));
// module.Result = result;
// FrmWindow frm = new FrmWindow();
// frm.Text = module.Name;
// frm.ModuleIntPtr = module.ModuleInPtr;
// PubUtil.SetParent(module.ModuleInPtr, frm.Handle);
// frm.DModule = module;
// module.ModuleForm = frm;
// frm.Show();
// PubUtil.SetWindowPos(module.ModuleInPtr, 0, 0, 0, frm.Width, frm.Height - 36, 0);
// PubUtil.ModuleForms.Add(module.Id, module);
// }
}
}
/// <summary>
/// Delphi-添加到选项卡
/// </summary>
/// <param name="TabMain"></param>
/// <param name="module"></param>
/// <param name="IsShowClose"></param>
public static void AddModuleDelphiToTab(XtraTabControl TabMain, DllModule module, bool IsShowClose)
{
try
{
if (PubUtil.ModuleForms.ContainsKey(module.Id))
{
foreach (XtraTabPage item in TabMain.TabPages)
{
string id = item.Tag.ToString();
if (id == module.Id)
{
TabMain.SelectedTabPage = item;
break;
}
}
}
else
{
XtraTabPage tp1 = TabMain.TabPages[0];
XtraTabPage tp2 = new XtraTabPage();
tp2.Text = module.Name;
tp2.Tag = module.Id;
//StringBuilder result = PubUtil.LoadDelphiDllEx(module.DllName);
//if (result.ToString().IndexOf('@') != -1)
//{
// string[] str = result.ToString().Split('@');
// module.ModuleInPtr = new IntPtr(Convert.ToInt32(str[1]));
// module.Result = result;
// module.Tag = "2";
// if (!string.IsNullOrEmpty(result + ""))
// {
// TabMain.TabPages.Add(tp2);
// PubUtil.SetParent(module.ModuleInPtr, tp2.Handle);
// PubUtil.SetWindowPos(module.ModuleInPtr, 0, 0, 0, tp1.Width, tp1.Height, 0);
// if (IsShowClose)
// tp2.ShowCloseButton = DefaultBoolean.True;
// TabMain.SelectedTabPage = tp2;
// PubUtil.ModuleForms.Add(module.Id, module);
// }
//}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
/// <summary>
/// 释放Delphi资源
/// </summary>
/// <param name="m"></param>
public static void FreeDll(DllModule m)
{
try
{
if (m != null)
{
PubUtil.FreeDll(m.Result);
m.ModuleForm = null;
PubUtil.ModuleForms.Remove(m.Id);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
#endregion
}
}
@@ -0,0 +1,83 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Windows.Forms;
using CommonLib;
namespace Lskj.Main
{
/// <summary>
/// 获取系统事件
/// </summary>
public class ServerTimer
{
private static DateTime m_CurTime = DateTime.Now;
private static Timer m_runTmr;
public static void StartTimer()
{
if (m_runTmr != null)
QueryTime();
m_runTmr = new Timer();
m_runTmr.Tag = 0;
m_runTmr.Tick += new EventHandler(OnTimer);
m_runTmr.Interval = 1000;
m_runTmr.Start();
}
public static DateTime ServerTime
{
get { return m_CurTime; }
}
private static void OnTimer(object sender, EventArgs e)
{
m_CurTime = m_CurTime.AddSeconds(1);
int count = (int)m_runTmr.Tag;
count++;
//暂定30秒查询一次
if (count > 30)
{
count = 0;
QueryTime();
}
m_runTmr.Tag = count;
}
/// <summary>
/// 查询服务器时间,并查询登录表记录,没记录则强制退出
/// </summary>
private static void QueryTime()
{
try
{
string strSql = string.Format("select getdate() as cnt from p_LoginHostInfotab where HostName='{0}'", ERPInfo.Instance.WSName);
using (SqlDataReader dr = SqlHelper.ExecuteReader(CommandType.Text, strSql, null))
{
if (dr.Read())
{
m_CurTime = DateTime.Parse(dr["cnt"].ToString());
}
else
{
//掉线
//MessageBox.Show("你已经被强制下线.");
//Application.Exit();
}
}
}
catch (Exception ex)
{
PubUtil.WriteLog(ex.Message);
}
}
}
}
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Enabled>true</Enabled>
<ServerUrl>http://htydqc.xicp.cn:9998/AutoupdateService.xml</ServerUrl>
<UpdateFileList>
<LocalFile path="Client.exe" lastver="167.118.118.32767" size="5384704" version="0e95f707d908b95b87d5d992dd9c223b" />
<LocalFile path="CommonLib.dll" lastver="1.0.0.18" size="119808" version="1c8064570e68b030f4164c1ba34b78e8" />
<LocalFile path="ControlLib.dll" lastver="1.0.0.22" size="463360" version="a2f4171360da3300f81f5829e1ee7e74" />
<LocalFile path="DevExpress.Charts.v13.1.Core.dll" lastver="13.1.5.0" size="375800" version="18ad4d9b593440a0c9cd20b15d94e752" />
<LocalFile path="DevExpress.Data.v13.1.xml" lastver="" size="913776" version="b5a418ce0c50bbd1fd958cf13a6c79c9" />
<LocalFile path="DevExpress.Printing.v13.1.Core.xml" lastver="" size="771203" version="5cb4d0874de61a5f162db986f3d091ae" />
<LocalFile path="DevExpress.Tutorials.v13.1.dll" lastver="13.1.5.0" size="421376" version="126844ed571459d0b24f6cb9f3c92eee" />
<LocalFile path="DevExpress.Utils.v13.1.xml" lastver="" size="458584" version="65765248f6503221aa9b810d65a28a5f" />
<LocalFile path="DevExpress.XtraBars.v13.1.dll" lastver="13.1.5.0" size="4119544" version="220e9f110515bd769b495477eb53776c" />
<LocalFile path="DevExpress.XtraBars.v13.1.xml" lastver="" size="1654820" version="42c641c70955c1b1fa78ffe742fd6dc0" />
<LocalFile path="DevExpress.XtraCharts.v13.1.dll" lastver="13.1.5.0" size="3549688" version="ebbc8f58c653f0e16a4a11423ca51355" />
<LocalFile path="DevExpress.XtraCharts.v13.1.Extensions.dll" lastver="13.1.5.0" size="36856" version="0b9a751b6c96f5f8844dbb99d8433e81" />
<LocalFile path="DevExpress.XtraCharts.v13.1.UI.dll" lastver="13.1.5.0" size="186872" version="c854f7f0ffcdb161beec480f5a837440" />
<LocalFile path="DevExpress.XtraCharts.v13.1.UI.xml" lastver="" size="66435" version="954c7ae251c3de1b2d8e0b3d03a96d40" />
<LocalFile path="DevExpress.XtraCharts.v13.1.Web.dll" lastver="13.1.5.0" size="330232" version="f85246c5141f61f0d17c192c2831eb24" />
<LocalFile path="DevExpress.XtraCharts.v13.1.Web.xml" lastver="" size="65294" version="2cdd2d07b7ae37cefb9acb307bc25452" />
<LocalFile path="DevExpress.XtraCharts.v13.1.Wizard.dll" lastver="13.1.5.0" size="4256248" version="3f726fa22bc2442825dc4707d66c4fab" />
<LocalFile path="DevExpress.XtraCharts.v13.1.Wizard.xml" lastver="" size="330286" version="bf0292215421b42b855d3c2093ed4767" />
<LocalFile path="DevExpress.XtraCharts.v13.1.xml" lastver="" size="1228150" version="dbcbbb665242962bacb27547e5a8688a" />
<LocalFile path="DevExpress.XtraEditors.v13.1.xml" lastver="" size="1393943" version="c270b942da9c33e9f441d62f96810cf9" />
<LocalFile path="DevExpress.XtraGrid.v13.1.xml" lastver="" size="1304133" version="806ca3b52854a0a4d7fe432db8d38052" />
<LocalFile path="DevExpress.XtraLayout.v13.1.xml" lastver="" size="314977" version="6ce11d744e813e9440674cae01c20987" />
<LocalFile path="DevExpress.XtraPrinting.v13.1.xml" lastver="" size="134402" version="b11972f09944aae7874260429efc6c37" />
<LocalFile path="DevExpress.XtraTreeList.v13.1.dll" lastver="13.1.5.0" size="895480" version="bc00ae291a77300acf45d1d3943cb32e" />
<LocalFile path="Lskj.Attachment.dll" lastver="1.0.0.3" size="91648" version="915aa8d077657e2637171a48e27f3bf6" />
<LocalFile path="Lskj.Common.dll" lastver="1.0.0.23" size="135168" version="4c1952b86bff4c0716335cc0f14cc7ee" />
<LocalFile path="Lskj.MyControl.dll" lastver="1.0.0.25" size="162816" version="b39b8145ba8af6a66cce82ddd1d3654a" />
<LocalFile path="Lskj.PhotoView.dll" lastver="1.0.0.6" size="104960" version="ab7b6ccb9c1bee9efc61029bb1cd02b3" />
<LocalFile path="Lskj.PubUtils.dll" lastver="1.0.0.0" size="18944" version="a947f6fe6a8b48911add3f0e325954ef" />
<LocalFile path="LskjCall.exe" lastver="1.0.0.4" size="13824" version="2586c31a3cf49b34bebcafc2fe4da4ae" />
<LocalFile path="LSTest.exe" lastver="1.0.0.14" size="122880" version="dd45b9ecec8dae4d90bd2efa0dd75fa4" />
<LocalFile path="Ls_ERP.exe" lastver="1.0.0.36" size="2283008" version="bbfc208711048fd0132685abacc9814a" />
<LocalFile path="语音平台.exe" lastver="1.0.0.0" size="124416" version="ee20ff15bd6a29dcc9cc008c5f6ef68d" />
<LocalFile path="Images/main/menu/信息管理A.jpg" lastver="" size="13326" version="b66be76c10d8c465fde8a285074f9459" />
<LocalFile path="Images/main/menu/信息管理B.jpg" lastver="" size="13764" version="d204255e5b7cc8c15de929c15349da57" />
<LocalFile path="Images/main/menu/扫码管理A.jpg" lastver="" size="10616" version="d1f1ebaa747c8c30268e9efb75e4a8f9" />
<LocalFile path="Images/main/menu/扫码管理B.jpg" lastver="" size="11438" version="d28aba37f7eb3d01c99212b224d725a7" />
<LocalFile path="lib/Lskj.BaseAccraditation.dll" lastver="1.0.0.8" size="224768" version="cf9638dad4d52c96e2c0531586b6f56c" />
<LocalFile path="lib/Lskj.BaseInfo.dll" lastver="1.0.0.0" size="102912" version="813dd118f9a6f1c506895f116a74641e" />
<LocalFile path="lib/Lskj.PubAccraditation.dll" lastver="1.0.0.12" size="180736" version="5d6d1eb38aac3c8c9f70e21a3e38cd52" />
<LocalFile path="lib/Lskj.PubAdd.dll" lastver="1.0.0.10" size="96256" version="332ca192e80418a709f89e1329b2ccf9" />
<LocalFile path="lib/Lskj.PubAdd2.dll" lastver="1.0.0.11" size="124416" version="e81205bd77da37954417be9328daed3b" />
<LocalFile path="lib/Lskj.PubAdd3.dll" lastver="1.0.0.12" size="113152" version="2b94251ef120690bec25e316e6fd7b27" />
<LocalFile path="lib/Lskj.PubBill.dll" lastver="1.0.0.22" size="204800" version="1937d893c709b29396814fd9f6f3728d" />
<LocalFile path="lib/Lskj.PubBillAccraditation.dll" lastver="1.0.0.0" size="60416" version="7fd290a9eb3b9a6f5d970fd47d8e2210" />
<LocalFile path="lib/Lskj.PubBillDetail.dll" lastver="1.0.0.0" size="36864" version="c79176d5fd9597551a9c0410cb31ca62" />
<LocalFile path="lib/Lskj.PubBillInfo.dll" lastver="1.0.0.5" size="116736" version="b9add5ff022127ae65a30538e18fe6f7" />
<LocalFile path="lib/Lskj.PubChart.dll" lastver="1.0.0.4" size="19968" version="fc508b4a4e88d90d2cce8ae78ef68292" />
<LocalFile path="lib/Lskj.PubGroupAdd.dll" lastver="1.0.0.0" size="85504" version="11140cf93a8bcaaa64c724d3afef1ab2" />
<LocalFile path="lib/Lskj.PubModule.dll" lastver="1.0.0.28" size="127488" version="b5c6d91419d02617d4801773fc5cc25b" />
<LocalFile path="lib/Lskj.PubModuleDetail.dll" lastver="1.0.0.0" size="148992" version="c88138a4839885a86d7a87ecbd6983e2" />
<LocalFile path="lib/Lskj.PubModuleTD.dll" lastver="1.0.0.4" size="115712" version="7e08fb70f222f4c3d43e1a159a55fe82" />
<LocalFile path="lib/Lskj.PubPageDetail.dll" lastver="1.0.0.13" size="99328" version="a9f71a21da3acca83d501d5505d08144" />
<LocalFile path="lib/Lskj.Report.dll" lastver="1.0.0.13" size="176640" version="b925b07a3173b9cec700c146220f5533" />
<LocalFile path="lib/PubBaseInfo.dll" lastver="1.0.0.1" size="99840" version="832d2936bd13e60c31d5e7eae4bbe05d" />
<LocalFile path="lib/PubSpec.dll" lastver="1.0.0.2" size="29184" version="74764d627378fcc3113454f5aa36e0e5" />
<LocalFile path="lib/P_baseDate.dll" lastver="1.0.0.0" size="94720" version="eb10f0c2f47630d571b94ed9bed66716" />
<LocalFile path="Images/main/红太阳移动端下载.jpg" lastver="" size="53241" version="4c1f6d0e5dd453b03321c7c6651328c3" />
<LocalFile path="Images/main/menu/借贷管理A.jpg" lastver="" size="10834" version="f1611e957b29701e4971db7a8aeeff0a" />
<LocalFile path="Images/main/menu/借贷管理B.jpg" lastver="" size="11526" version="c6ded66732f40e367f03ebba655fcff3" />
<LocalFile path="Images/main/menu/应用管理A.jpg" lastver="" size="10740" version="3162b3c86840dff9663158f295b9da46" />
<LocalFile path="Images/main/menu/应用管理B.jpg" lastver="" size="11388" version="46661d33a66202b16961bc264cceb3dc" />
<LocalFile path="Images/main/menu/租赁管理A.jpg" lastver="" size="10913" version="663d1e3473b34378727ac4d5b1c1db05" />
<LocalFile path="Images/main/menu/租赁管理B.jpg" lastver="" size="11544" version="112c4a8c43a1a63041d8719f1557306d" />
<LocalFile path="Images/main/menu/网站管理A.jpg" lastver="" size="10802" version="0e262341644dc60c824cb24d1e2ecdbf" />
<LocalFile path="Images/main/menu/网站管理B.jpg" lastver="" size="11490" version="bd5121ed84d8474d14efb1ed0f380972" />
<LocalFile path="Images/main/menu/股份管理A.jpg" lastver="" size="10803" version="a37edd38bf38e20808ccf9a6fc948ef6" />
<LocalFile path="Images/main/menu/股份管理B.jpg" lastver="" size="11526" version="b119bb07dcde551a022786061c9f040c" />
<LocalFile path="Images/main/module/DHA.jpg" lastver="" size="2989" version="1bce2a75fd8c48eff9c86066fd758ad1" />
<LocalFile path="Images/main/module/DHB.jpg" lastver="" size="2898" version="3be309fed7c1d702911679f4878b4918" />
<LocalFile path="Images/main/module/QQA.jpg" lastver="" size="3538" version="302353ecca6fca160eb09e496aba4c97" />
<LocalFile path="Images/main/module/QQC.jpg" lastver="" size="3528" version="7000e7e86c62f4d5b375e00d2efd2dc9" />
<LocalFile path="Reports/借入打印.rmf" lastver="" size="31818" version="a09ffc382723a868dacbf746a3c3bdc8" />
<LocalFile path="Reports/借出打印.rmf" lastver="" size="31857" version="012ccfa90f5e5f14e54cb5746b745170" />
<LocalFile path="Reports/出库单.rmf" lastver="" size="32189" version="c149a98e738b90f8f4ee9cd64f59db11" />
<LocalFile path="Reports/工程正式合同.rmf" lastver="" size="100861" version="96ed9c4b9b8bd537202f176be280df63" />
<LocalFile path="Reports/工程空白合同.rmf" lastver="" size="78955" version="c23d311007feb48055123bbecf385d8e" />
<LocalFile path="Reports/批发单.rmf" lastver="" size="69341" version="1ae100fd287531e74c57f52c3e0f8bd2" />
<LocalFile path="Reports/批发退货单.rmf" lastver="" size="32891" version="94ec35c714c0eb8e337a60882f78b0ee" />
<LocalFile path="Reports/报销单打印.rmf" lastver="" size="29301" version="f325f8faddcc3f5d665acba9934dcd3a" />
<LocalFile path="Reports/接件受理单.rmf" lastver="" size="439154" version="7a47b6f46f0051f440480f7ace24d201" />
<LocalFile path="Reports/服务受理单.rmf" lastver="" size="439869" version="ef94c075a6feba2e282ab66ac1050d5f" />
<LocalFile path="Reports/物流受理单.rmf" lastver="" size="107712" version="90fa09d7773c9331e67502a379554e68" />
<LocalFile path="Reports/物流计划批发单.rmf" lastver="" size="37687" version="6e90671a671e959782ec06b3e8d6f80b" />
<LocalFile path="Reports/物流计划零售单.rmf" lastver="" size="68469" version="c1c975b5257a2ccecb11633c99a399ef" />
<LocalFile path="Reports/红太阳付款打印.rmf" lastver="" size="21842" version="bab75c4505b2ade80137dd90549c5fe4" />
<LocalFile path="Reports/红太阳收款打印.rmf" lastver="" size="21840" version="6b5808fc8d891747fc03e5150b594aa0" />
<LocalFile path="Reports/维修发货单.rmf" lastver="" size="80561" version="ff2d5b63edcbeeff3181c95a7e9455e1" />
<LocalFile path="Reports/零售单.rmf" lastver="" size="62874" version="adc7b8173a75447f62d547d60a46ff00" />
</UpdateFileList>
</Config>
@@ -0,0 +1,119 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Lskj.Main.Properties;
namespace Lskj.Main
{
/// <summary>
/// 资源图片管理类
/// </summary>
public static class BitMapHelper
{
#region
/// <summary>
/// 获取本地资源文件
/// </summary>
/// <param name="mapEnum"></param>
/// <returns></returns>
public static Bitmap getBitmap(BitMapEnum mapEnum)
{
Bitmap bitmap = null;
try
{
FileStream fs = File.OpenRead(getBitMapPath(mapEnum)); //OpenRead
int filelength = (int)fs.Length; //获得文件长度
Byte[] image = new Byte[filelength]; //建立一个字节数组
fs.Read(image, 0, filelength); //按字节流读取
Image result = Image.FromStream(fs);
fs.Close();
bitmap = new Bitmap(result);
}
catch (Exception ex)
{
switch (mapEnum)
{
case BitMapEnum.loginbg:
bitmap = Resources.login;
break;
case BitMapEnum.submenubg:
bitmap = Resources.sub_backgroud;
break;
case BitMapEnum.logobg:
bitmap = Resources.logo;
break;
case BitMapEnum.logo2bg:
bitmap = Resources.logo;
break;
}
}
return bitmap;
}
/// <summary>
/// 获取文件路径
/// </summary>
/// <returns></returns>
private static string getBitMapPath(BitMapEnum mapEnum)
{
string bitmapPath = string.Empty;
switch (mapEnum)
{
case BitMapEnum.loginbg:
bitmapPath = BitMapType.Loginbg;
break;
case BitMapEnum.submenubg:
bitmapPath = BitMapType.Submenubg;
break;
case BitMapEnum.logobg:
bitmapPath = BitMapType.Logobg;
break;
case BitMapEnum.logo2bg:
bitmapPath = BitMapType.Logo2bg;
break;
default:
break;
}
return Application.StartupPath + "\\Images\\" + bitmapPath;
}
#endregion
}
/// <summary>
/// 图片存放地址
/// </summary>
public static class BitMapType
{
/// <summary>
/// 登录背景图
/// </summary>
public static string Loginbg = @"login\login.png";
/// <summary>
/// 子系统背景图
/// </summary>
public static string Submenubg = @"submenu\submenu.png";
/// <summary>
/// logo背景图
/// </summary>
public static string Logobg = @"main\logo.png";
/// <summary>
/// logo2背景图
/// </summary>
public static string Logo2bg = @"main2\logo.png";
}
/// <summary>
/// 图片类型
/// </summary>
public enum BitMapEnum
{
loginbg,
submenubg,
logobg,
logo2bg
}
}
@@ -0,0 +1,320 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraEditors.Controls;
namespace Lskj.Main.CHS
{
public class XtraEditorsHanization : Localizer
{
public override string GetLocalizedString(StringId id)
{
switch (id)
{
case StringId.FilterMenuClearAll: return "清除所有";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeDayAfterTomorrow: return "后天";
case StringId.NavigatorTextStringFormat: return "当前 {0} 总数 {1}";
case StringId.FilterCriteriaToStringFunctionDateDiffMinute: return "Date diff minute";
case StringId.XtraMessageBoxAbortButtonText: return "&退出";
case StringId.NavigatorCancelEditButtonHint: return "取消编辑";
case StringId.FilterCriteriaToStringFunctionSin: return "Sin ";
case StringId.FilterCriteriaToStringFunctionSqr: return "Sqr ";
case StringId.FilterCriteriaToStringFunctionRnd: return "Rnd ";
case StringId.FilterCriteriaToStringFunctionTan: return "Tan ";
case StringId.FilterCriteriaToStringFunctionNow: return "Now ";
case StringId.FilterCriteriaToStringFunctionIif: return "Iif ";
case StringId.FilterCriteriaToStringFunctionCos: return "Cos ";
case StringId.FilterCriteriaToStringFunctionMax: return "Max ";
case StringId.FilterCriteriaToStringFunctionMin: return "Min ";
case StringId.FilterCriteriaToStringFunctionLen: return "长度";
case StringId.FilterCriteriaToStringFunctionLog: return "Log ";
case StringId.FilterCriteriaToStringFunctionAtn: return "Atn ";
case StringId.FilterCriteriaToStringFunctionAbs: return "绝对值";
case StringId.FilterCriteriaToStringFunctionExp: return "Exp ";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow: return "Is tomorrow";
case StringId.FilterCriteriaToStringFunctionContains: return "Contains ";
case StringId.FilterClauseIsNullOrEmpty: return "为空";
case StringId.FilterEmptyValue: return "<空值>";
case StringId.FilterCriteriaToStringFunctionToDecimal: return "To decimal ";
case StringId.FilterEmptyEnter: return "<输入一个值> ";
case StringId.PictureEditMenuPaste: return "粘贴";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek: return "Is next week";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisMonth: return "Is earlier this month ";
case StringId.FilterClauseDoesNotContain: return "不包含";
case StringId.FilterDateTimeOperatorMenuCaption: return "Date and time operators";
case StringId.FilterDateTimeConstantMenuCaption: return "日期和时间常数";
case StringId.FilterCriteriaToStringFunctionDateDiffSecond: return "Date diff second";
case StringId.FilterCriteriaToStringFunctionGetMinute: return "Get minute ";
case StringId.FilterCriteriaToStringFunctionGetTimeOfDay: return "Get time of day ";
case StringId.CalcButtonSqrt: return "平方根";
case StringId.CalcButtonBack: return "后退";
case StringId.FilterEditorTabVisual: return "Visual";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeThisYear: return "今年";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeThisWeek: return "本星期 ";
case StringId.FilterShowAll: return "(选择全部) ";
case StringId.NavigatorRemoveButtonHint: return "删除";
case StringId.FilterMenuConditionAdd: return "添加条件 ";
case StringId.LookUpInvalidEditValueType: return "LookUpEdit的数值类型无效";
case StringId.FilterGroupOr: return "或";
case StringId.FilterClauseLess: return "小于";
case StringId.FilterClauseLike: return "与...相似 ";
case StringId.ImagePopupPicture: return "(图片) ";
case StringId.RestoreLayoutDialogFileFilter: return "XML 文件 (*.xml)|*.xml|全部文件|*.*";
case StringId.TextEditMenuDelete: return "删除(&D)";
case StringId.LookUpColumnDefaultName: return "名称";
case StringId.FilterCriteriaToStringFunctionDateDiffMonth: return "Date diff month";
case StringId.FilterClauseDoesNotEqual: return "不等于 ";
case StringId.FilterCriteriaToStringFunctionGetMonth: return "Get month";
case StringId.FilterClauseGreaterOrEqual: return "大于等于";
case StringId.FilterClauseNotBetween: return "不在...之间 ";
case StringId.FilterCriteriaToStringFunctionSubstring: return "Substring";
case StringId.ProgressCancel: return "取消";
case StringId.Cancel: return "取消";
case StringId.MaskBoxValidateError: return "您输入的数值不完整,是否需要修正?\n \n\n 是 - 返回编辑。\n 否 - 保留数值。\n 取消 - 恢复之前数值。\n ";
case StringId.CheckChecked: return "校验";
case StringId.FilterCriteriaToStringFunctionPadRight: return "Pad right";
case StringId.FilterEmptyParameter: return "<输入一个参数>";
case StringId.PictureEditMenuZoomToolTip: return "{0}%";
case StringId.FilterEditorTabText: return "Text";
case StringId.FilterCriteriaToStringFunctionCustomNonDeterministic: return "Custom non deterministic";
case StringId.NavigatorPreviousButtonHint: return "上一个 ";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeNextMonth: return "下个月 ";
case StringId.DefaultBooleanDefault: return "默认 ";
case StringId.FilterCriteriaToStringFunctionEndsWith: return "Ends with";
case StringId.LookUpEditValueIsNull: return "[数值为空] ";
case StringId.FilterCriteriaToStringFunctionCeiling: return "Ceiling ";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeTwoWeeksAway: return "两星期之前";
case StringId.ProgressExport: return "导出 ";
case StringId.FilterCriteriaToStringBetween: return "之间 ";
case StringId.CheckUnchecked: return "非校验 ";
case StringId.XtraMessageBoxIgnoreButtonText: return "&忽略 ";
case StringId.PictureEditMenuDelete: return "删除 ";
case StringId.NavigatorNextButtonHint: return "下一个 ";
case StringId.DateEditClear: return "清除";
case StringId.DateEditToday: return "今日";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeNextWeek: return "下星期";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeNextYear: return "明年";
case StringId.CalcButtonC: return "C";
case StringId.XtraMessageBoxOkButtonText: return "&确定 ";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek: return "Is last week ";
case StringId.PictureEditMenuZoomOut: return "缩小";
case StringId.ProgressCreateDocument: return "创建文件";
case StringId.FilterClauseIsNull: return "为NULL";
case StringId.FilterMenuRowRemove: return "移除组 ";
case StringId.FilterPopupToolbarRadioMode: return "广播模式 ";
case StringId.FilterClauseNoneOf: return "整体不包含";
case StringId.FilterClauseNotLike: return "不相符 ";
case StringId.FilterGroupAnd: return "与";
case StringId.SaveLayoutDialogFileFilter: return "XML 文件 (*.xml)|*.xml ";
case StringId.FilterCriteriaToStringFunctionGetHour: return "Get hour";
case StringId.FilterCriteriaToStringFunctionGetDate: return "Get date";
case StringId.FilterCriteriaToStringFunctionGetYear: return "Get year";
case StringId.FilterCriteriaToStringFunctionAddSeconds: return "增加秒数 ";
case StringId.NavigatorEditButtonHint: return "编辑 ";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday: return "Is yesterday";
case StringId.TabHeaderSelectorButton: return "显示窗口列表 ";
case StringId.PictureEditSaveFileFilter: return "BMP (*.bmp)|*.bmp|GIF (*.gif)|*.gif|JPEG (*.jpg)|*.jpg|PNG (*.png)|*.png";
case StringId.FilterGroupNotOr: return "非或 ";
case StringId.FilterCriteriaToStringBinaryOperatorGreater: return "> ";
case StringId.PictureEditOpenFileErrorCaption: return "打开错误";
case StringId.DefaultBooleanFalse: return "否";
case StringId.ColorTabCustom: return "自定义 ";
case StringId.DefaultBooleanTrue: return "是 ";
case StringId.FilterClauseBeginsWith: return "以...开头 ";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear: return "Is prior this year";
case StringId.FilterClauseEquals: return "等于 ";
case StringId.FilterCriteriaToStringFunctionPadLeft: return "Pad left";
case StringId.FilterCriteriaToStringFunctionGetSecond: return "Get second";
case StringId.CalcButtonMx: return "M+";
case StringId.CalcButtonMS: return "MS";
case StringId.CalcButtonMR: return "MR";
case StringId.CalcButtonMC: return "MC";
case StringId.CalcButtonCE: return "CE";
case StringId.FilterToolTipKeysAdd: return "(使用插入键或加号键) ";
case StringId.FilterPopupToolbarMultiSelection: return "多项选择 ";
case StringId.PictureEditOpenFileFilter: return "BMP (*.bmp)|*.bmp|GIF (*.gif)|*.gif|JPEG (*.jpg;*.jpeg)|*.jpg;*.jpeg|图标 (*.ico)|*.ico|PNG (*.png)|*.png|所有图片格式 |*.bmp;*.gif;*.jpg;*.jpeg;*.ico;*.png;*.tif|所有文件 |*.* ";
case StringId.FilterCriteriaToStringFunctionDateDiffDay: return "Date diff day ";
case StringId.TransparentBackColorNotSupported: return "此控件不支持透明背景颜色 ";
case StringId.PreviewPanelText: return "预览:";
case StringId.ProgressLoadingData: return "数据载入中";
case StringId.PictureEditSaveFileTitle: return "另存为 ";
case StringId.FilterCriteriaToStringIsNotNull: return "Is Not Null";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeLastWeek: return "上星期";
case StringId.FilterCriteriaToStringFunctionAddTimeSpan: return "Add time span ";
case StringId.FilterCriteriaToStringFunctionToDouble: return "To double";
case StringId.PictureEditMenuZoomTo: return "放大到: ";
case StringId.PictureEditMenuZoomIn: return "放大";
case StringId.DataEmpty: return "无图片";
case StringId.FilterToolTipNodeRemove: return "移除该条件";
case StringId.PictureEditMenuFitImage: return "适应大小 ";
case StringId.FilterCriteriaToStringFunctionToFloat: return "To float";
case StringId.ColorTabSystem: return "系统颜色 ";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeTomorrow: return "明天";
case StringId.FilterCriteriaToStringIn: return "In ";
case StringId.ContainerAccessibleEditName: return "Editing control";
case StringId.OK: return "确认";
case StringId.FilterCriteriaToStringFunctionSign: return "Sign";
case StringId.FilterCriteriaToStringFunctionSinh: return "Sinh";
case StringId.FilterCriteriaToStringFunctionTanh: return "Tanh";
case StringId.FilterCriteriaToStringFunctionTrim: return "Trim";
case StringId.FilterCriteriaToStringFunctionNone: return "None";
case StringId.FilterCriteriaToStringFunctionChar: return "Char";
case StringId.FilterCriteriaToStringFunctionCosh: return "Cosh";
case StringId.FilterCriteriaToStringFunctionAsin: return "Asin";
case StringId.FilterCriteriaToStringFunctionAtn2: return "Atn2";
case StringId.FilterCriteriaToStringFunctionAcos: return "反余弦 ";
case StringId.FilterCriteriaToStringFunctionStartsWith: return "Starts with ";
case StringId.FilterAggregateCount: return "总计 ";
case StringId.TextEditMenuUndo: return "撤销(&U) ";
case StringId.TextEditMenuCopy: return "复制(&C) ";
case StringId.FilterClauseGreater: return "大于";
case StringId.XtraMessageBoxCancelButtonText: return "&取消 ";
case StringId.FilterClauseBetweenAnd: return "和 ";
case StringId.FilterAggregateAvg: return "平均值 ";
case StringId.FilterAggregateMin: return "最小值 ";
case StringId.FilterAggregateMax: return "最大值 ";
case StringId.FilterAggregateSum: return "和 ";
case StringId.NavigatorAppendButtonHint: return "附加";
case StringId.FilterCriteriaToStringFunctionIsThisMonth: return "Is this month ";
case StringId.FilterPopupToolbarIncrementalSearch: return "增量搜索 ";
case StringId.FilterClauseBetween: return "在...之间 ";
case StringId.ColorPickPopupAutomaticItemCaption: return "自动";
case StringId.Apply: return "应用 ";
case StringId.CalcError: return "计算错误";
case StringId.FilterCriteriaToStringUnaryOperatorBitwiseNot: return "~ ";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday: return "Is today ";
case StringId.FilterCriteriaToStringGroupOperatorOr: return "Or ";
case StringId.NavigatorLastButtonHint: return "最后 ";
case StringId.FieldListName: return "字段列表 ({0}) ";
case StringId.XtraMessageBoxYesButtonText: return "&是 ";
case StringId.FilterCriteriaToStringBinaryOperatorNotEqual: return "<> ";
case StringId.SaveLayoutDialogTitle: return "保存布局";
case StringId.FilterCriteriaToStringFunctionGetMilliSecond: return "Get millisecond";
case StringId.FilterCriteriaToStringGroupOperatorAnd: return "And ";
case StringId.FilterCriteriaToStringFunctionRound: return "Round ";
case StringId.FilterCriteriaToStringFunctionPower: return "Power ";
case StringId.PictureEditMenuCut: return "剪切 ";
case StringId.FilterCriteriaToStringFunctionUpper: return "Upper ";
case StringId.FilterCriteriaToStringFunctionToInt: return "To int ";
case StringId.FilterCriteriaToStringFunctionToStr: return "To str";
case StringId.FilterCriteriaToStringFunctionToday: return "Today ";
case StringId.FilterCriteriaToStringFunctionLower: return "Lower ";
case StringId.FilterCriteriaToStringFunctionLog10: return "Log10 ";
case StringId.FilterCriteriaToStringFunctionFloor: return "Floor ";
case StringId.FilterCriteriaToStringFunctionAscii: return "Ascii ";
case StringId.NavigatorNextPageButtonHint: return "下一页";
case StringId.FilterToolTipNodeAction: return "Actions ";
case StringId.NavigatorEndEditButtonHint: return "结束编辑";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisMonth: return "Is later this month ";
case StringId.ProgressPrinting: return "打印";
case StringId.FilterCriteriaToStringFunctionReplace: return "Replace";
case StringId.FilterCriteriaToStringFunctionReverse: return "Reverse";
case StringId.FilterFunctionsMenuCaption: return "功能 ";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear: return "Is beyond this year ";
case StringId.FilterCriteriaInvalidExpression: return "指定的表达式包含无效的符号(行 {0}, 字符 {1}).";
case StringId.FilterDateTextAlt: return "Show all|Show Empty|Filter by a specific date:|Beyond|||Next week|Today|This week|This month|Earlier|{0:yyyy}, {0:MMMM}";
case StringId.FilterCriteriaInvalidExpressionEx: return "指定的表达式无效。 ";
case StringId.FilterCriteriaToStringBinaryOperatorDivide: return "/ ";
case StringId.NavigatorFirstButtonHint: return "第一个 ";
case StringId.FilterOutlookDateText: return "Show all|Show Empty|Filter by a specific date:|Beyond this year|Later this year|Later this month|Next week|Later this week|Tomorrow|Today|Yesterday|Earlier this week|Last week|Earlier this month|Earlier this year|Prior to this year";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeNow: return "现在 ";
case StringId.FilterClauseLessOrEqual: return "小于等于";
case StringId.FilterCriteriaToStringBinaryOperatorGreaterOrEqual: return ">: return ";
case StringId.TextEditMenuSelectAll: return "选择全部(&A)";
case StringId.FilterCriteriaToStringFunctionAddMinutes: return "增加分钟";
case StringId.FilterAggregateExists: return "存在";
case StringId.UnknownPictureFormat: return "未知图片格式 ";
case StringId.FilterPopupToolbarInvertFilter: return "反项筛选";
case StringId.FilterClauseAnyOf: return "整体包含";
case StringId.ProgressCancelPending: return "取消固定 ";
case StringId.FilterToolTipNodeAdd: return "添加一个新条件到列表中 ";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeThisMonth: return "本月 ";
case StringId.FilterCriteriaToStringUnaryOperatorPlus: return "+";
case StringId.FilterCriteriaToStringFunctionDateDiffHour: return "Date diff hour ";
case StringId.FilterCriteriaToStringFunctionDateDiffYear: return "Date diff year ";
case StringId.FilterCriteriaToStringFunctionDateDiffTick: return "Date diff tick ";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeYesterday: return "昨天 ";
case StringId.FilterToolTipValueType: return "Compare with a value / another field's value ";
case StringId.FilterCriteriaToStringBinaryOperatorModulo: return "%";
case StringId.FilterClauseEndsWith: return "以...结尾 ";
case StringId.FilterCriteriaToStringFunctionAddMilliSeconds: return "增加毫秒 ";
case StringId.FilterCriteriaToStringBinaryOperatorPlus: return "+";
case StringId.FilterCriteriaToStringBinaryOperatorLike: return "类似";
case StringId.FilterCriteriaToStringBinaryOperatorLess: return "<";
case StringId.FilterToolTipKeysRemove: return "(使用删除键或减号键)";
case StringId.FilterCriteriaToStringFunctionCharIndex: return "Char index";
case StringId.FilterCriteriaToStringFunctionDateDiffMilliSecond: return "Date diff millisecond";
case StringId.FilterCriteriaToStringFunctionRemove: return "Remove ";
case StringId.FilterCriteriaToStringUnaryOperatorNot: return "Not";
case StringId.TabHeaderButtonPrev: return "向左滚动";
case StringId.TabHeaderButtonNext: return "向右滚动";
case StringId.FilterMenuAddNewParameter: return "添加一个新的参数 ... ";
case StringId.FilterCriteriaToStringFunctionGetDayOfYear: return "Get day of year";
case StringId.FilterCriteriaToStringFunctionGetDayOfWeek: return "Get day of week";
case StringId.FilterMenuGroupAdd: return "添加组 ";
case StringId.CheckIndeterminate: return "不确定 ";
case StringId.ImagePopupEmpty: return "(空)";
case StringId.FilterPopupToolbarShowOnlyAvailableItems: return "仅显示可用项目";
case StringId.NavigatorPreviousPageButtonHint: return "上一页 ";
case StringId.TabHeaderButtonClose: return "关闭 ";
case StringId.TextEditMenuPaste: return "粘贴(&P)";
case StringId.XtraMessageBoxRetryButtonText: return "&重试 ";
case StringId.FilterGroupNotAnd: return "非与 ";
case StringId.PictureEditOpenFileError: return "错误的图片格式";
case StringId.FilterCriteriaToStringFunctionIsNullOrEmpty: return "Is null or empty ";
case StringId.PictureEditOpenFileTitle: return "打开";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisWeek: return "Is later this week";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisYear: return "Is later this year";
case StringId.ColorTabWeb: return "网页颜色 ";
case StringId.FilterCriteriaToStringBinaryOperatorBitwiseOr: return "| ";
case StringId.FilterPopupToolbarShowNewValues: return "显示新的字段值";
case StringId.XtraMessageBoxNoButtonText: return "&否";
case StringId.PictureEditMenuCopy: return "拷贝";
case StringId.PictureEditMenuLoad: return "打开图片 ";
case StringId.PictureEditMenuSave: return "保存";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisWeek: return "Is earlier this week";
case StringId.PictureEditMenuZoom: return "缩放";
case StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisYear: return "Is earlier this year";
case StringId.FilterClauseIsNotNullOrEmpty: return "不为空";
case StringId.FilterCriteriaToStringFunctionUtcNow: return "Utc now";
case StringId.FilterCriteriaToStringFunctionToLong: return "To long";
case StringId.FilterCriteriaToStringFunctionIsThisWeek: return "Is this week";
case StringId.FilterCriteriaToStringFunctionIsThisYear: return "Is this year";
case StringId.FilterCriteriaToStringBinaryOperatorLessOrEqual: return "<: return ";
case StringId.FilterToolTipElementAdd: return "添加一个新项到列表中";
case StringId.FilterCriteriaToStringFunctionLocalDateTimeToday: return "今天 ";
case StringId.FilterCriteriaToStringUnaryOperatorMinus: return "- ";
case StringId.FilterCriteriaToStringFunctionIsNull: return "IsNull";
case StringId.NotValidArrayLength: return "无效的数组长度。";
case StringId.FilterCriteriaToStringBinaryOperatorBitwiseAnd: return "& ";
case StringId.FilterCriteriaToStringBinaryOperatorBitwiseXor: return "^ ";
case StringId.FilterCriteriaToStringUnaryOperatorIsNull: return "Is Null";
case StringId.PictureEditMenuFullSize: return "全尺寸";
case StringId.FilterCriteriaToStringFunctionInsert: return "Insert";
case StringId.FilterCriteriaToStringNotLike: return "Not Like";
case StringId.FilterCriteriaToStringBinaryOperatorEqual: return ": return"; ;
case StringId.FilterCriteriaToStringBinaryOperatorMinus: return "-";
case StringId.FilterCriteriaToStringBinaryOperatorMultiply: return "*";
case StringId.PictureEditCopyImageError: return "无法复制图片";
case StringId.FilterCriteriaToStringFunctionAddDays: return "增加天数";
case StringId.FilterCriteriaToStringFunctionCustom: return "Custom";
case StringId.FilterCriteriaToStringFunctionConcat: return "Concat";
case StringId.FilterCriteriaToStringFunctionBigMul: return "Big mul";
case StringId.CaptionError: return "标题错误 ";
case StringId.TextEditMenuCut: return "剪切(&T)";
case StringId.FilterClauseContains: return "包含";
case StringId.FilterCriteriaToStringFunctionGetDay: return "Get day";
case StringId.None: return ";";
case StringId.FilterCriteriaToStringFunctionAddMonths: return "增加月数 ";
case StringId.FilterCriteriaToStringFunctionAddYears: return "增加年数";
case StringId.InvalidValueText: return "值无效 ";
case StringId.FilterClauseIsNotNull: return "不为NULL";
case StringId.FilterCriteriaToStringFunctionAddTicks: return "Add ticks ";
case StringId.RestoreLayoutDialogTitle: return "还原布局";
case StringId.FilterCriteriaToStringFunctionAddHours: return "增加小时";
}
return base.GetLocalizedString(id);
}
}
}
+365
View File
@@ -0,0 +1,365 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Drawing;
using System.Threading;
using System.Net;
using System.Net.Mail;
using System.Data;
using CommonLib.utils;
using CommonLib;
using Lskj.Main.sub;
using Lskj.Main.main;
using Lskj.Main.CHS;
using System.IO;
using Lskj.PubUtils;
namespace Lskj.Main
{
public sealed class ClientMain
{
private static ClientMain _instance = null;
public static ClientMain Instance
{
get
{
if (_instance == null)
_instance = new ClientMain();
return _instance;
}
}
private static int _defaultMainTag = 0;
public static int defaultMainTag
{
get
{
if (_defaultMainTag == 0)
_defaultMainTag = PubUtil.DefaultMainTag();
return _defaultMainTag;
}
}
/// <summary>
/// 默认下载地址
/// </summary>
private static string filePath = string.Empty;
/// <summary>
/// 返回地址值
/// </summary>
private static string outText = string.Empty;
private ClientMain()
{
}
public void StartApp()
{
try
{
ERPInfo.Instance.WSName = PubUtil.GetMachineName();
// C#数据库连接检查
bool isLocalConnect = false;
string file = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SystemResources.ini");
if (File.Exists(file))
{
string configFlag = INIHelper.Read("SystemResources.ini", "FrmConfigFlag");
if (configFlag.Equals("1"))
isLocalConnect = true;
}
if (isLocalConnect)
{
string ip = INIHelper.Read("SystemResources.ini", "LocalLastIP");
string port = INIHelper.Read("SystemResources.ini", "LocalLastPort");
ConnectServer(ip, port);
}
//c#连接数据库
if (!DBConfig.Instance.CreateConnection(DBConfig.Instance.Connection))
{
MessageBox.Show("数据库连接不正常,请重新配置!错误码:001");
RunConfigForm();
return;
}
//delphi连接数据库
StringBuilder ConStr = new StringBuilder();
ConStr.Append(DBConfig.Instance.GetDelphiConStr(DBConfig.Instance.dephiConnection));
if (PubUtil.Delphi_Init(ConStr) == 0)
{
MessageBox.Show("数据库连接不正常,请重新配置!错误码:002");
RunConfigForm();
return;
}
//汉化控件
HanizationControl();
//显示登陆窗体
FrmLogin _frmLogin = new FrmLogin();
_frmLogin.ShowDialog();
PubUtil.ReleaseForm(_frmLogin);
_frmLogin = null;
//登陆正确方可继续下一步
if (ERPInfo.Instance.LoginResult == false)
return;
//登陆正确后重新设置连接
//delphi连接数据库
ConStr.Clear();
ConStr.Append(DBConfig.Instance.GetDelphiConStr(DBConfig.Instance.dephiConnection));
if (PubUtil.Delphi_Init(ConStr) == 0)
{
MessageBox.Show("数据库连接不正常,请重新配置!错误码:002");
RunConfigForm();
return;
}
//记录登录日志
PubUtil.WriteOpLog("", "", "登录软件", "进入操作", "系统登录");
//换了用户重新写入登录用户
if (DBConfig.Instance.LoginName != ERPInfo.Instance.EmployeeName)
{
DBConfig.Instance.LoginName = ERPInfo.Instance.EmployeeName;
DBConfig.Instance.WriteConfig2();
}
//模拟服务器时间
ServerTimer.StartTimer();
//升级检查
if (DBConfig.Instance.GetUpdateFlag())
{
FrmDownLoad _frmDownload = new FrmDownLoad();
DialogResult _dialogResult = _frmDownload.ShowDialog();
PubUtil.ReleaseForm(_frmDownload);
_frmDownload = null;
if (_dialogResult != DialogResult.OK)
{
return;
}
}
//如果只有一个模块直接启动主界面
DataTable dtSys = SqlHelper.ExecuteDataSet(CommandType.Text, "select * from P_SubSystemTab where UseEd=1 order by SubSysId", "P_SubSystemTab").Tables[0];
if (dtSys != null && dtSys.Rows.Count == 1)
{
ERPInfo.Instance.SubCount = dtSys.Rows.Count;
ERPInfo.Instance.SubSysId = Convert.ToInt32(dtSys.Rows[0]["SubSysId"]);
ERPInfo.Instance.SubSysName = dtSys.Rows[0]["SubSysName"].ToString();
OpenDefaultMain(false);
if (ERPInfo.Instance.ExitResult == ENUMCloseAction.caRelogin)
{
GoSwithUser();
}
}
else
{
ERPInfo.Instance.SubCount = dtSys.Rows.Count;
GoSelectSubSystem();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
/// <summary>
/// 汉化控件
/// </summary>
private void HanizationControl()
{
DevExpress.Skins.SkinManager.EnableFormSkins();
DevExpress.XtraGrid.Localization.GridResLocalizer.Active = new Dxper.LocalizationCHS.Win.XtraGridCHS();
DevExpress.XtraEditors.Controls.Localizer.Active = new XtraEditorsHanization();
DevExpress.XtraLayout.Localization.LayoutLocalizer.Active = new Dxper.LocalizationCHS.Win.XtraLayoutCHS();
DevExpress.XtraPrinting.Localization.PreviewLocalizer.Active = new Dxper.LocalizationCHS.Win.XtraPrintingCHS();
}
/// <summary>
/// 打开主界面模式
/// </summary>
public void OpenDefaultMain(bool isReleaseForm)
{
switch (defaultMainTag)
{
case 2:
FrmMain2 frm2 = new FrmMain2();
frm2.ShowDialog();
if (isReleaseForm)
{
PubUtil.ReleaseForm(frm2);
frm2 = null;
}
break;
case 1:
default: FrmMain frm = new FrmMain();
frm.ShowDialog();
if (isReleaseForm)
{
PubUtil.ReleaseForm(frm);
frm = null;
}
break;
}
}
/// <summary>
/// 切换用户
/// </summary>
public void GoSwithUser()
{
ERPInfo.Instance.ExitResult = ENUMCloseAction.caNone;
OpenDefaultMain(true);
if (ERPInfo.Instance.ExitResult == ENUMCloseAction.caNone && ERPInfo.Instance.SubCount != 1)
{
ERPInfo.Instance.SubSysId = 0;
GoSelectSubSystem();
}
if (ERPInfo.Instance.ExitResult == ENUMCloseAction.caRelogin)
{
GoSwithUser();
}
//记录登出日志
PubUtil.WriteOpLog("", "", "退出软件", "软件退出", "系统登录");
}
/// <summary>
/// 启动数据库配置
/// </summary>
private void RunConfigForm()
{
FrmConfig _frmConfig = new FrmConfig();
_frmConfig.ShowDialog();
PubUtil.ReleaseForm(_frmConfig);
_frmConfig = null;
}
/// <summary>
/// 选择子系统
/// </summary>
private void GoSelectSubSystem()
{
FrmSubSystem _frmSelSubSystem = new FrmSubSystem();
if (_frmSelSubSystem.ShowDialog() != DialogResult.OK)
{
//记录登出日志
PubUtil.WriteOpLog("", "", "退出软件", "软件退出", "系统登录");
PubUtil.ReleaseForm(_frmSelSubSystem);
return;
}
PubUtil.ReleaseForm(_frmSelSubSystem);
_frmSelSubSystem = null;
// ERPInfo.Instance.SubSysId = 1;
//没有选择到正确子系统
if (ERPInfo.Instance.SubSysId == 0)
{
//记录登出日志
PubUtil.WriteOpLog("", "", "退出软件", "软件退出", "系统登录");
return;
}
//设置delphi公用库参数
ERPInfo.Instance.SetDephiDllParams();
ERPInfo.Instance.ExitResult = ENUMCloseAction.caNone;
OpenDefaultMain(true);
if (ERPInfo.Instance.ExitResult == ENUMCloseAction.caNone)
{
ERPInfo.Instance.SubSysId = 0;
GoSelectSubSystem();
}
if (ERPInfo.Instance.ExitResult == ENUMCloseAction.caRelogin)
{
GoSwithUser();
}
//记录登出日志
PubUtil.WriteOpLog("", "", "退出软件", "软件退出", "系统登录");
}
/// <summary>
/// <para>说明:连接服务器</para>
/// <para>创建人:龚宇超</para>
/// <para>创建日期:2017-08-09 </para>
/// <para>修改人:</para>
/// <para>修改日期:</para>
/// <para>修改备注:</para>
/// <para>版本:1.0</para>
/// </summary>
/// <param name="isSave">if set to <c>true</c> [is save].</param>
private static bool ConnectServer(string _ip, string _port)
{
bool isSuccess = false;
string serverName = DBConfig.Instance.ServerName;
// 测试数据库连接
try
{
string ip = _ip;
string defaultPort = ":" + _port;
//服务器下载
string newServerName = !serverName.StartsWith("http") ? "http://" + ip + defaultPort : ip + defaultPort;
newServerName = !newServerName.EndsWith("/") ? newServerName + "/" : newServerName;
string newfilePath = Path.Combine(newServerName, "SystemResources.txt");
//string name = WebRequest.Create(filePath).GetResponse().GetResponseStream().ToString();
string fileName = "SystemResources.txt";//客户端保存的文件名
WebClient webClient = new WebClient();
webClient.Encoding = Encoding.UTF8;
//这里使用DownloadString方法,如果是不需要对文件的文本内容做处理,直接保存,那么可以直接使用功能DownloadFile(url,savepath)直接进行文件保存。
string newoutText = newfilePath != filePath ? webClient.DownloadString(newfilePath) : outText;
outText = newoutText.Trim();
filePath = newfilePath;
//File.WriteAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SystemResources.txt"), outText);
string args = AESUtil.Decrypt(outText);
string[] controlAfgs = args.Split('^');
if (controlAfgs != null && controlAfgs.Length == 5)
{
DBConfig.Instance.ServerName = controlAfgs[0];
DBConfig.Instance.datastr = controlAfgs[1];
string Connection = "Server={0};Database={1};Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5;MultipleActiveResultSets=true";
string dephistr = "Provider=SQLOLEDB.1;Server={0};Database={1};Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5";
Connection = AESUtil.Encrypt(Connection);
dephistr = AESUtil.Encrypt(dephistr);
DBConfig.Instance.dephiConnection = dephistr;
DBConfig.Instance.Connection = Connection;
if (DBConfig.Instance.CreateConnection(Connection))
{
Dictionary<string, string> sourceDic = INIHelper.GetSectionKeys("SystemResources.ini", "SystemResources");
string dicKey = string.Format("DownloadAESStr_{0}{1}", ip, defaultPort);
if (sourceDic.ContainsKey(dicKey))
{
string key = sourceDic[dicKey];
string[] keyArgs = dicKey.Split('_');
if (keyArgs.Length == 2)
{
string ztName = sourceDic[dicKey].Split('^')[0];//账套名
if (!string.IsNullOrEmpty(ztName))
{
string IPPort = string.Format("{0}:{1}", _ip, _port);
string writeText = string.Format("{0}^{1}", ztName, outText);
INIHelper.Write("SystemResources.ini", string.Format("DownloadAESStr_{0}", IPPort), writeText);
isSuccess = true;
}
}
}
}
}
}
catch (Exception)
{
}
return isSuccess;
}
}
}
@@ -0,0 +1,194 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lskj.Main
{
/// <summary>
/// 自定义MenuStrip样式
/// </summary>
public class CustomProfessionalRenderer : ToolStripProfessionalRenderer
{
private Color _color;
public CustomProfessionalRenderer():base()
{
}
public CustomProfessionalRenderer(Color color):base()
{
_color = color;
}
/// <summary>
/// 获取圆角矩形区域
/// </summary>
/// <param name="rect"></param>
/// <param name="radius"></param>
/// <returns></returns>
public static GraphicsPath GetRoundedRectPath(Rectangle rect, int radius)
{
int diameter = radius;
Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter));
GraphicsPath path = new GraphicsPath();
// 左上角
path.AddArc(arcRect, 180, 90);
// 右上角
arcRect.X = rect.Right - diameter;
path.AddArc(arcRect, 270, 90);
// 右下角
arcRect.Y = rect.Bottom - diameter;
path.AddArc(arcRect, 0, 90);
// 左下角
arcRect.X = rect.Left;
path.AddArc(arcRect, 90, 90);
path.CloseFigure();
return path;
}
/// <summary>
/// 渲染背景
/// </summary>
/// <param name="e"></param>
protected override void OnRenderToolStripBackground(ToolStripRenderEventArgs e)
{
ToolStrip toolStrip = e.ToolStrip;
Graphics g = e.Graphics;
g.SmoothingMode = SmoothingMode.HighQuality;//抗锯齿
Rectangle bounds = e.AffectedBounds;
LinearGradientBrush lgbrush = new LinearGradientBrush(new Point(0, 0), new Point(0, toolStrip.Height), Color.FromArgb(255, Color.White), Color.FromArgb(150, _color));
if (toolStrip is MenuStrip)
{
//由menuStrip的Paint方法定义 这里不做操作
}
else if (toolStrip is ToolStripDropDown)
{
int diameter = 10;//直径
GraphicsPath path = new GraphicsPath();
Rectangle rect = new Rectangle(Point.Empty, toolStrip.Size);
Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter));
path.AddLine(0, 0, 10, 0);
// 右上角
arcRect.X = rect.Right - diameter;
path.AddArc(arcRect, 270, 90);
// 右下角
arcRect.Y = rect.Bottom - diameter;
path.AddArc(arcRect, 0, 90);
// 左下角
arcRect.X = rect.Left;
path.AddArc(arcRect, 90, 90);
path.CloseFigure();
toolStrip.Region = new Region(path);
g.FillPath(lgbrush, path);
}
else
{
base.OnRenderToolStripBackground(e);
}
}
/// <summary>
/// 渲染边框 不绘制边框
/// </summary>
/// <param name="e"></param>
protected override void OnRenderToolStripBorder(ToolStripRenderEventArgs e)
{
//不调用基类的方法 屏蔽掉该方法 去掉边框
}
/// <summary>
/// 渲染箭头颜色
/// </summary>
/// <param name="e"></param>
protected override void OnRenderArrow(ToolStripArrowRenderEventArgs e)
{
e.ArrowColor = _color;
base.OnRenderArrow(e);
}
/// <summary>
/// 渲染菜单项
/// </summary>
/// <param name="e"></param>
protected override void OnRenderMenuItemBackground(ToolStripItemRenderEventArgs e)
{
Graphics g = e.Graphics;
ToolStripItem item = e.Item;
ToolStrip toolstrip = e.ToolStrip;
//渲染顶级项
if (toolstrip is MenuStrip)
{
LinearGradientBrush lgbrush = new LinearGradientBrush(new Point(0, 0), new Point(0, item.Height), Color.FromArgb(100, Color.White), Color.FromArgb(0, Color.White));
SolidBrush brush = new SolidBrush(Color.FromArgb(255, Color.White));
if (e.Item.Selected)
{
GraphicsPath gp = GetRoundedRectPath(new Rectangle(new Point(0, 0), item.Size), 5);
g.FillPath(lgbrush, gp);
}
if (item.Pressed)
{
////创建上面左右2圆角的矩形路径
//GraphicsPath path = new GraphicsPath();
//int diameter = 8;
//Rectangle rect = new Rectangle(Point.Empty, item.Size);
//Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter));
//// 左上角
//path.AddArc(arcRect, 180, 90);
//// 右上角
//arcRect.X = rect.Right - diameter;
//path.AddArc(arcRect, 270, 90);
//path.AddLine(new Point(rect.Width, rect.Height), new Point(0, rect.Height));
//path.CloseFigure();
////填充路径
//g.FillPath(brush, path);
g.FillRectangle(Brushes.White, new Rectangle(Point.Empty, item.Size));
}
}
//渲染下拉项
else if (toolstrip is ToolStripDropDown)
{
g.SmoothingMode = SmoothingMode.HighQuality;
LinearGradientBrush lgbrush = new LinearGradientBrush(new Point(0, 0), new Point(item.Width, 0), Color.FromArgb(200, _color), Color.FromArgb(0, Color.White));
if (item.Selected)
{
GraphicsPath gp = GetRoundedRectPath(new Rectangle(0, 0, item.Width, item.Height), 10);
g.FillPath(lgbrush, gp);
}
}
else
{
base.OnRenderMenuItemBackground(e);
}
}
/// <summary>
/// 渲染分割线
/// </summary>
/// <param name="e"></param>
protected override void OnRenderSeparator(ToolStripSeparatorRenderEventArgs e)
{
Graphics g = e.Graphics;
LinearGradientBrush lgbrush = new LinearGradientBrush(new Point(0, 0), new Point(e.Item.Width, 0), _color, Color.FromArgb(0, _color));
g.FillRectangle(lgbrush, new Rectangle(3, e.Item.Height / 2, e.Item.Width, 1));
//base.OnRenderSeparator(e);
}
/// <summary>
/// 渲染下拉菜单的左边图片区域
/// </summary>
/// <param name="e"></param>
protected override void OnRenderImageMargin(ToolStripRenderEventArgs e)
{
//base.OnRenderImageMargin(e);
//屏蔽掉左边图片竖条
}
}
}
+862
View File
@@ -0,0 +1,862 @@
namespace Lskj.Main
{
partial class FrmMain
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
ControlLib.inh.SearcherPropertyCollector searcherPropertyCollector1 = new ControlLib.inh.SearcherPropertyCollector();
ControlLib.inh.TFieldPropertyData tFieldPropertyData1 = new ControlLib.inh.TFieldPropertyData();
ControlLib.inh.TFieldPropertyData tFieldPropertyData2 = new ControlLib.inh.TFieldPropertyData();
this.plMain = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.pl_center = new System.Windows.Forms.Panel();
this.TabMain = new DevExpress.XtraTab.XtraTabControl();
this.xtpFirst = new DevExpress.XtraTab.XtraTabPage();
this.pl_center_main = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.pl_center_main_right_container = new System.Windows.Forms.Panel();
this.plRightLine = new System.Windows.Forms.Panel();
this.pl_center_main_right = new System.Windows.Forms.Panel();
this.pl_center_main_bottom_right = new System.Windows.Forms.Panel();
this.pl_center_main_bottom_right_main = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
this.pl_center_main_bottom_left = new System.Windows.Forms.Panel();
this.pl_center_main_bottom_left_main = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.lblShortcutset = new System.Windows.Forms.Label();
this.pl_center_left = new System.Windows.Forms.Panel();
this.xtpDesktop = new DevExpress.XtraTab.XtraTabPage();
this.plDesktop = new System.Windows.Forms.Panel();
this.progressBarControl1 = new DevExpress.XtraEditors.ProgressBarControl();
this.plBottom = new System.Windows.Forms.Panel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tslCompany = new System.Windows.Forms.ToolStripLabel();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsslUserName = new System.Windows.Forms.ToolStripLabel();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.tsmi_time = new System.Windows.Forms.ToolStripLabel();
this.tsmi_split = new System.Windows.Forms.ToolStripSeparator();
this.plTop = new System.Windows.Forms.Panel();
this.pl_top_center = new System.Windows.Forms.Panel();
this.toggle = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
this.menuMain = new System.Windows.Forms.MenuStrip();
this.panel3 = new System.Windows.Forms.Panel();
this.pl_top_right = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.button3 = new System.Windows.Forms.Button();
this.lblSetting = new System.Windows.Forms.Label();
this.lbUserName = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.lblSwapUser = new System.Windows.Forms.Label();
this.menuSearch = new ControlLib.inh.AutoSearcher();
this.pic_search = new System.Windows.Forms.PictureBox();
this.btnMax = new System.Windows.Forms.Button();
this.btnMin = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.pl_top_left = new System.Windows.Forms.Panel();
this.lblSubTitle = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer();
this.plMain.SuspendLayout();
this.panel4.SuspendLayout();
this.pl_center.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TabMain)).BeginInit();
this.TabMain.SuspendLayout();
this.xtpFirst.SuspendLayout();
this.pl_center_main.SuspendLayout();
this.panel1.SuspendLayout();
this.panel5.SuspendLayout();
this.pl_center_main_right_container.SuspendLayout();
this.pl_center_main_right.SuspendLayout();
this.pl_center_main_bottom_right.SuspendLayout();
this.pl_center_main_bottom_left.SuspendLayout();
this.panel6.SuspendLayout();
this.xtpDesktop.SuspendLayout();
this.plDesktop.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.progressBarControl1.Properties)).BeginInit();
this.plBottom.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.plTop.SuspendLayout();
this.pl_top_center.SuspendLayout();
this.pl_top_right.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pic_search)).BeginInit();
this.pl_top_left.SuspendLayout();
this.SuspendLayout();
//
// plMain
//
this.plMain.Controls.Add(this.panel4);
this.plMain.Controls.Add(this.plBottom);
this.plMain.Controls.Add(this.plTop);
this.plMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.plMain.Location = new System.Drawing.Point(0, 0);
this.plMain.Name = "plMain";
this.plMain.Size = new System.Drawing.Size(1291, 734);
this.plMain.TabIndex = 0;
//
// panel4
//
this.panel4.Controls.Add(this.pl_center);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(0, 55);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(1291, 649);
this.panel4.TabIndex = 3;
//
// pl_center
//
this.pl_center.Controls.Add(this.TabMain);
this.pl_center.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center.Location = new System.Drawing.Point(0, 0);
this.pl_center.Name = "pl_center";
this.pl_center.Size = new System.Drawing.Size(1291, 649);
this.pl_center.TabIndex = 2;
//
// TabMain
//
this.TabMain.Appearance.BackColor = System.Drawing.Color.Transparent;
this.TabMain.Appearance.Options.UseBackColor = true;
this.TabMain.AppearancePage.Header.Font = new System.Drawing.Font("宋体", 9F);
this.TabMain.AppearancePage.Header.ForeColor = System.Drawing.Color.Black;
this.TabMain.AppearancePage.Header.Options.UseFont = true;
this.TabMain.AppearancePage.Header.Options.UseForeColor = true;
this.TabMain.AppearancePage.Header.Options.UseTextOptions = true;
this.TabMain.AppearancePage.Header.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.TabMain.AppearancePage.Header.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.TabMain.AppearancePage.PageClient.Font = new System.Drawing.Font("宋体", 9F);
this.TabMain.AppearancePage.PageClient.Options.UseFont = true;
this.TabMain.BackgroundImage = global::Lskj.Main.Properties.Resources.tab_bg;
this.TabMain.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InActiveTabPageHeader;
this.TabMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.TabMain.Location = new System.Drawing.Point(0, 0);
this.TabMain.Margin = new System.Windows.Forms.Padding(0);
this.TabMain.Name = "TabMain";
this.TabMain.SelectedTabPage = this.xtpFirst;
this.TabMain.Size = new System.Drawing.Size(1291, 649);
this.TabMain.TabIndex = 0;
this.TabMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.xtpFirst,
this.xtpDesktop});
this.TabMain.HotTrackedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.TabMain_HotTrackedPageChanged);
this.TabMain.CloseButtonClick += new System.EventHandler(this.TabMain_CloseButtonClick);
this.TabMain.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.TabMain_MouseDoubleClick);
//
// xtpFirst
//
this.xtpFirst.Appearance.PageClient.BackColor = System.Drawing.Color.Black;
this.xtpFirst.Appearance.PageClient.Options.UseBackColor = true;
this.xtpFirst.Controls.Add(this.pl_center_main);
this.xtpFirst.Controls.Add(this.pl_center_left);
this.xtpFirst.Margin = new System.Windows.Forms.Padding(0);
this.xtpFirst.Name = "xtpFirst";
this.xtpFirst.ShowCloseButton = DevExpress.Utils.DefaultBoolean.False;
this.xtpFirst.Size = new System.Drawing.Size(1285, 622);
this.xtpFirst.Text = "  功能导航 ";
//
// pl_center_main
//
this.pl_center_main.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.pl_center_main.Controls.Add(this.panel1);
this.pl_center_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main.Location = new System.Drawing.Point(145, 0);
this.pl_center_main.Name = "pl_center_main";
this.pl_center_main.Size = new System.Drawing.Size(1140, 622);
this.pl_center_main.TabIndex = 1;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.Controls.Add(this.panel5);
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
this.panel1.Location = new System.Drawing.Point(978, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(162, 622);
this.panel1.TabIndex = 7;
//
// panel5
//
this.panel5.Controls.Add(this.pl_center_main_right_container);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(162, 622);
this.panel5.TabIndex = 1;
//
// pl_center_main_right_container
//
this.pl_center_main_right_container.Controls.Add(this.plRightLine);
this.pl_center_main_right_container.Controls.Add(this.pl_center_main_right);
this.pl_center_main_right_container.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_right_container.Location = new System.Drawing.Point(0, 0);
this.pl_center_main_right_container.Name = "pl_center_main_right_container";
this.pl_center_main_right_container.Size = new System.Drawing.Size(162, 622);
this.pl_center_main_right_container.TabIndex = 6;
//
// plRightLine
//
this.plRightLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(187)))), ((int)(((byte)(187)))));
this.plRightLine.Dock = System.Windows.Forms.DockStyle.Left;
this.plRightLine.Location = new System.Drawing.Point(0, 0);
this.plRightLine.Name = "plRightLine";
this.plRightLine.Size = new System.Drawing.Size(2, 622);
this.plRightLine.TabIndex = 6;
//
// pl_center_main_right
//
this.pl_center_main_right.Controls.Add(this.pl_center_main_bottom_right);
this.pl_center_main_right.Controls.Add(this.pl_center_main_bottom_left);
this.pl_center_main_right.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_right.Location = new System.Drawing.Point(0, 0);
this.pl_center_main_right.Name = "pl_center_main_right";
this.pl_center_main_right.Size = new System.Drawing.Size(162, 622);
this.pl_center_main_right.TabIndex = 5;
//
// pl_center_main_bottom_right
//
this.pl_center_main_bottom_right.Controls.Add(this.pl_center_main_bottom_right_main);
this.pl_center_main_bottom_right.Controls.Add(this.label4);
this.pl_center_main_bottom_right.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_center_main_bottom_right.Location = new System.Drawing.Point(0, 312);
this.pl_center_main_bottom_right.Name = "pl_center_main_bottom_right";
this.pl_center_main_bottom_right.Size = new System.Drawing.Size(162, 312);
this.pl_center_main_bottom_right.TabIndex = 1;
//
// pl_center_main_bottom_right_main
//
this.pl_center_main_bottom_right_main.AutoScroll = true;
this.pl_center_main_bottom_right_main.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pl_center_main_bottom_right_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_bottom_right_main.Location = new System.Drawing.Point(0, 20);
this.pl_center_main_bottom_right_main.Name = "pl_center_main_bottom_right_main";
this.pl_center_main_bottom_right_main.Size = new System.Drawing.Size(162, 292);
this.pl_center_main_bottom_right_main.TabIndex = 3;
//
// label4
//
this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.label4.Dock = System.Windows.Forms.DockStyle.Top;
this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
this.label4.Location = new System.Drawing.Point(0, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(162, 20);
this.label4.TabIndex = 2;
this.label4.Text = " 快捷报表通道";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label4.Click += new System.EventHandler(this.lblShortcutset_Click);
//
// pl_center_main_bottom_left
//
this.pl_center_main_bottom_left.Controls.Add(this.pl_center_main_bottom_left_main);
this.pl_center_main_bottom_left.Controls.Add(this.panel6);
this.pl_center_main_bottom_left.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_center_main_bottom_left.Location = new System.Drawing.Point(0, 0);
this.pl_center_main_bottom_left.Name = "pl_center_main_bottom_left";
this.pl_center_main_bottom_left.Size = new System.Drawing.Size(162, 312);
this.pl_center_main_bottom_left.TabIndex = 0;
//
// pl_center_main_bottom_left_main
//
this.pl_center_main_bottom_left_main.AutoScroll = true;
this.pl_center_main_bottom_left_main.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pl_center_main_bottom_left_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_bottom_left_main.Location = new System.Drawing.Point(0, 20);
this.pl_center_main_bottom_left_main.Name = "pl_center_main_bottom_left_main";
this.pl_center_main_bottom_left_main.Size = new System.Drawing.Size(162, 292);
this.pl_center_main_bottom_left_main.TabIndex = 2;
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(193)))), ((int)(((byte)(193)))));
this.panel6.Controls.Add(this.lblShortcutset);
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
this.panel6.Location = new System.Drawing.Point(0, 0);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(162, 20);
this.panel6.TabIndex = 1;
//
// lblShortcutset
//
this.lblShortcutset.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.lblShortcutset.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblShortcutset.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblShortcutset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.lblShortcutset.Location = new System.Drawing.Point(0, 0);
this.lblShortcutset.Name = "lblShortcutset";
this.lblShortcutset.Size = new System.Drawing.Size(162, 20);
this.lblShortcutset.TabIndex = 0;
this.lblShortcutset.Text = " 快捷操作通道";
this.lblShortcutset.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblShortcutset.Click += new System.EventHandler(this.lblShortcutset_Click);
//
// pl_center_left
//
this.pl_center_left.AutoScroll = true;
this.pl_center_left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(87)))), ((int)(((byte)(167)))));
this.pl_center_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_center_left.Location = new System.Drawing.Point(0, 0);
this.pl_center_left.Name = "pl_center_left";
this.pl_center_left.Padding = new System.Windows.Forms.Padding(4);
this.pl_center_left.Size = new System.Drawing.Size(145, 622);
this.pl_center_left.TabIndex = 0;
//
// xtpDesktop
//
this.xtpDesktop.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.xtpDesktop.Appearance.PageClient.Options.UseBackColor = true;
this.xtpDesktop.Controls.Add(this.plDesktop);
this.xtpDesktop.Name = "xtpDesktop";
this.xtpDesktop.ShowCloseButton = DevExpress.Utils.DefaultBoolean.False;
this.xtpDesktop.Size = new System.Drawing.Size(1285, 622);
this.xtpDesktop.Text = " 我的桌面 ";
//
// plDesktop
//
this.plDesktop.AutoScroll = true;
this.plDesktop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.plDesktop.Controls.Add(this.progressBarControl1);
this.plDesktop.Dock = System.Windows.Forms.DockStyle.Fill;
this.plDesktop.Location = new System.Drawing.Point(0, 0);
this.plDesktop.Name = "plDesktop";
this.plDesktop.Size = new System.Drawing.Size(1285, 622);
this.plDesktop.TabIndex = 1;
//
// progressBarControl1
//
this.progressBarControl1.Location = new System.Drawing.Point(398, 267);
this.progressBarControl1.Name = "progressBarControl1";
this.progressBarControl1.Size = new System.Drawing.Size(489, 30);
this.progressBarControl1.TabIndex = 0;
//
// plBottom
//
this.plBottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.plBottom.Controls.Add(this.toolStrip1);
this.plBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.plBottom.Location = new System.Drawing.Point(0, 704);
this.plBottom.Name = "plBottom";
this.plBottom.Size = new System.Drawing.Size(1291, 30);
this.plBottom.TabIndex = 1;
//
// toolStrip1
//
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill;
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tslCompany,
this.toolStripSeparator2,
this.tsslUserName,
this.toolStripSeparator1,
this.toolStripLabel1,
this.tsmi_time,
this.tsmi_split});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1291, 30);
this.toolStrip1.TabIndex = 8;
this.toolStrip1.Text = "toolStrip1";
//
// tslCompany
//
this.tslCompany.Name = "tslCompany";
this.tslCompany.Size = new System.Drawing.Size(0, 27);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 30);
//
// tsslUserName
//
this.tsslUserName.Name = "tsslUserName";
this.tsslUserName.Size = new System.Drawing.Size(92, 27);
this.tsslUserName.Text = "用户名:admin";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 30);
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(81, 27);
this.toolStripLabel1.Text = "版本号:V5.0";
//
// tsmi_time
//
this.tsmi_time.Name = "tsmi_time";
this.tsmi_time.Size = new System.Drawing.Size(74, 27);
this.tsmi_time.Text = "2016-05-19";
//
// tsmi_split
//
this.tsmi_split.Name = "tsmi_split";
this.tsmi_split.Size = new System.Drawing.Size(6, 30);
//
// plTop
//
this.plTop.Controls.Add(this.pl_top_center);
this.plTop.Controls.Add(this.panel3);
this.plTop.Controls.Add(this.pl_top_right);
this.plTop.Controls.Add(this.pl_top_left);
this.plTop.Dock = System.Windows.Forms.DockStyle.Top;
this.plTop.Location = new System.Drawing.Point(0, 0);
this.plTop.Name = "plTop";
this.plTop.Size = new System.Drawing.Size(1291, 55);
this.plTop.TabIndex = 0;
//
// pl_top_center
//
this.pl_top_center.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(87)))), ((int)(((byte)(167)))));
this.pl_top_center.Controls.Add(this.toggle);
this.pl_top_center.Controls.Add(this.button4);
this.pl_top_center.Controls.Add(this.menuMain);
this.pl_top_center.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_top_center.Location = new System.Drawing.Point(309, 0);
this.pl_top_center.Name = "pl_top_center";
this.pl_top_center.Size = new System.Drawing.Size(690, 55);
this.pl_top_center.TabIndex = 2;
this.pl_top_center.Paint += new System.Windows.Forms.PaintEventHandler(this.pl_top_center_Paint);
this.pl_top_center.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDoubleClick);
this.pl_top_center.MouseDown += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDown);
this.pl_top_center.MouseMove += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseMove);
this.pl_top_center.MouseUp += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseUp);
//
// toggle
//
this.toggle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.toggle.AutoSize = true;
this.toggle.BackColor = System.Drawing.Color.Transparent;
this.toggle.ForeColor = System.Drawing.Color.White;
this.toggle.Location = new System.Drawing.Point(631, 10);
this.toggle.Name = "toggle";
this.toggle.Size = new System.Drawing.Size(53, 12);
this.toggle.TabIndex = 56;
this.toggle.Text = "切换账套";
this.toggle.Click += new System.EventHandler(this.OntoggleClick);
this.toggle.LostFocus += new System.EventHandler(this.label1_LostFocus);
//
// button4
//
this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.button4.BackColor = System.Drawing.Color.Transparent;
this.button4.BackgroundImage = global::Lskj.Main.Properties.Resources.swapuser;
this.button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button4.FlatAppearance.BorderSize = 0;
this.button4.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button4.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button4.Location = new System.Drawing.Point(612, 5);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(21, 23);
this.button4.TabIndex = 55;
this.button4.UseVisualStyleBackColor = false;
//
// menuMain
//
this.menuMain.BackColor = System.Drawing.Color.Transparent;
this.menuMain.Dock = System.Windows.Forms.DockStyle.None;
this.menuMain.Font = new System.Drawing.Font("宋体", 9F);
this.menuMain.Location = new System.Drawing.Point(-6, 14);
this.menuMain.Name = "menuMain";
this.menuMain.Size = new System.Drawing.Size(202, 24);
this.menuMain.TabIndex = 0;
this.menuMain.Text = "menuStrip1";
//
// panel3
//
this.panel3.BackgroundImage = global::Lskj.Main.Properties.Resources.split;
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
this.panel3.Location = new System.Drawing.Point(290, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(19, 55);
this.panel3.TabIndex = 1;
//
// pl_top_right
//
this.pl_top_right.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pl_top_right.BackgroundImage")));
this.pl_top_right.Controls.Add(this.label1);
this.pl_top_right.Controls.Add(this.button3);
this.pl_top_right.Controls.Add(this.lblSetting);
this.pl_top_right.Controls.Add(this.lbUserName);
this.pl_top_right.Controls.Add(this.button2);
this.pl_top_right.Controls.Add(this.button1);
this.pl_top_right.Controls.Add(this.lblSwapUser);
this.pl_top_right.Controls.Add(this.menuSearch);
this.pl_top_right.Controls.Add(this.pic_search);
this.pl_top_right.Controls.Add(this.btnMax);
this.pl_top_right.Controls.Add(this.btnMin);
this.pl_top_right.Controls.Add(this.btnClose);
this.pl_top_right.Dock = System.Windows.Forms.DockStyle.Right;
this.pl_top_right.Location = new System.Drawing.Point(999, 0);
this.pl_top_right.Name = "pl_top_right";
this.pl_top_right.Size = new System.Drawing.Size(292, 55);
this.pl_top_right.TabIndex = 1;
this.pl_top_right.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDoubleClick);
this.pl_top_right.MouseDown += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDown);
this.pl_top_right.MouseMove += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseMove);
this.pl_top_right.MouseUp += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseUp);
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(11, 33);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 22;
this.label1.Text = "代办事项";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.Transparent;
this.button3.BackgroundImage = global::Lskj.Main.Properties.Resources.icon_setting;
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button3.FlatAppearance.BorderSize = 0;
this.button3.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button3.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button3.Location = new System.Drawing.Point(10, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(21, 23);
this.button3.TabIndex = 20;
this.button3.UseVisualStyleBackColor = false;
//
// lblSetting
//
this.lblSetting.AutoSize = true;
this.lblSetting.BackColor = System.Drawing.Color.Transparent;
this.lblSetting.ForeColor = System.Drawing.Color.White;
this.lblSetting.Location = new System.Drawing.Point(30, 11);
this.lblSetting.Name = "lblSetting";
this.lblSetting.Size = new System.Drawing.Size(29, 12);
this.lblSetting.TabIndex = 21;
this.lblSetting.Text = "设置";
this.lblSetting.Click += new System.EventHandler(this.lblSetting_Click);
//
// lbUserName
//
this.lbUserName.AutoSize = true;
this.lbUserName.BackColor = System.Drawing.Color.Transparent;
this.lbUserName.ForeColor = System.Drawing.Color.White;
this.lbUserName.Location = new System.Drawing.Point(137, 9);
this.lbUserName.Name = "lbUserName";
this.lbUserName.Size = new System.Drawing.Size(41, 12);
this.lbUserName.TabIndex = 8;
this.lbUserName.Text = "管理员";
this.lbUserName.Click += new System.EventHandler(this.lbUserName_Click);
//
// button2
//
this.button2.BackColor = System.Drawing.Color.Transparent;
this.button2.BackgroundImage = global::Lskj.Main.Properties.Resources.swapuser;
this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button2.FlatAppearance.BorderSize = 0;
this.button2.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button2.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button2.Location = new System.Drawing.Point(66, 5);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(21, 23);
this.button2.TabIndex = 8;
this.button2.UseVisualStyleBackColor = false;
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button1.FlatAppearance.BorderSize = 0;
this.button1.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(118, 5);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(21, 23);
this.button1.TabIndex = 6;
this.button1.UseVisualStyleBackColor = false;
//
// lblSwapUser
//
this.lblSwapUser.AutoSize = true;
this.lblSwapUser.BackColor = System.Drawing.Color.Transparent;
this.lblSwapUser.ForeColor = System.Drawing.Color.White;
this.lblSwapUser.Location = new System.Drawing.Point(86, 9);
this.lblSwapUser.Name = "lblSwapUser";
this.lblSwapUser.Size = new System.Drawing.Size(29, 12);
this.lblSwapUser.TabIndex = 9;
this.lblSwapUser.Text = "切换";
this.lblSwapUser.Click += new System.EventHandler(this.lblSwapUser_Click);
//
// menuSearch
//
this.menuSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
this.menuSearch.IsEmpet = false;
this.menuSearch.Location = new System.Drawing.Point(88, 27);
this.menuSearch.Multiline = true;
this.menuSearch.Name = "menuSearch";
this.menuSearch.SearchControlPanel = null;
searcherPropertyCollector1.ConvertToChineseSpell = false;
tFieldPropertyData1.FieldCaption = "模块编码";
tFieldPropertyData1.FieldName = "MenuId";
tFieldPropertyData1.FieldWidth = 40;
tFieldPropertyData1.ShowColumn = true;
tFieldPropertyData2.FieldCaption = "模块名称";
tFieldPropertyData2.FieldName = "MenuCaption";
tFieldPropertyData2.FieldWidth = 200;
tFieldPropertyData2.ShowColumn = true;
searcherPropertyCollector1.FieldPropertyList = new ControlLib.inh.TFieldPropertyData[] {
tFieldPropertyData1,
tFieldPropertyData2};
searcherPropertyCollector1.InitSQL = null;
searcherPropertyCollector1.KeyField = "MenuId";
searcherPropertyCollector1.QueryField = "MenuCaption";
searcherPropertyCollector1.QuerySQL = "SELECT MenuId,MenuCaption FROM P_FormMenuConfigTab a\r\nINNER JOIN P_SubSystemTab b" +
" ON a.SubSysId=b.SubSysId\r\nWHERE ISNULL(b.UseEd,0)=1 AND ISNULL(DllFileName,\'\')<" +
">\'\'";
searcherPropertyCollector1.RemarkField = "";
searcherPropertyCollector1.ReturnMaxCount = 2000;
searcherPropertyCollector1.ReturnValueField = "MenuId";
searcherPropertyCollector1.SearchMatchWay = ControlLib.inh.TSearchMatchWay.swFuzzy;
searcherPropertyCollector1.ShowFormHeight = 200;
searcherPropertyCollector1.ShowFormWidth = 300;
searcherPropertyCollector1.SQL = "select top 2000 menuid,menucaption from p_formmenuconfigtab a\r\ninner join p_subs" +
"ystemtab b on a.subsysid=b.subsysid\r\nwhere isnull(b.useed,0)=1 and isnull(dllfil" +
"ename,\'\')<>\'\'";
this.menuSearch.searcherPropertyCollector = searcherPropertyCollector1;
this.menuSearch.Size = new System.Drawing.Size(149, 25);
this.menuSearch.TabIndex = 19;
this.menuSearch.Text = "请输入模块名称";
this.menuSearch.OnTextChangedBefore += new System.EventHandler(this.menuSearch_HandleSQL);
this.menuSearch.GetReturnValue += new ControlLib.inh.AutoSearcher.GetReturnValueEventHandler(this.menuSearch_GetReturnValue);
//
// pic_search
//
this.pic_search.ErrorImage = null;
this.pic_search.Image = global::Lskj.Main.Properties.Resources.search_default;
this.pic_search.Location = new System.Drawing.Point(237, 27);
this.pic_search.Name = "pic_search";
this.pic_search.Size = new System.Drawing.Size(46, 25);
this.pic_search.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pic_search.TabIndex = 18;
this.pic_search.TabStop = false;
//
// btnMax
//
this.btnMax.BackColor = System.Drawing.Color.Transparent;
this.btnMax.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnMax.BackgroundImage")));
this.btnMax.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnMax.FlatAppearance.BorderSize = 0;
this.btnMax.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btnMax.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btnMax.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMax.Location = new System.Drawing.Point(229, 1);
this.btnMax.Name = "btnMax";
this.btnMax.Size = new System.Drawing.Size(30, 23);
this.btnMax.TabIndex = 7;
this.btnMax.UseVisualStyleBackColor = false;
this.btnMax.Click += new System.EventHandler(this.btnMax_Click);
this.btnMax.MouseLeave += new System.EventHandler(this.btnMax_MouseLeave);
this.btnMax.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnMax_MouseMove);
//
// btnMin
//
this.btnMin.BackColor = System.Drawing.Color.Transparent;
this.btnMin.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnMin.BackgroundImage")));
this.btnMin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnMin.FlatAppearance.BorderSize = 0;
this.btnMin.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btnMin.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btnMin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMin.Location = new System.Drawing.Point(198, 1);
this.btnMin.Name = "btnMin";
this.btnMin.Size = new System.Drawing.Size(30, 23);
this.btnMin.TabIndex = 5;
this.btnMin.UseVisualStyleBackColor = false;
this.btnMin.Click += new System.EventHandler(this.btnMin_Click);
this.btnMin.MouseLeave += new System.EventHandler(this.btnMin_MouseLeave);
this.btnMin.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnMin_MouseMove);
//
// btnClose
//
this.btnClose.BackColor = System.Drawing.Color.Transparent;
this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnClose.FlatAppearance.BorderSize = 0;
this.btnClose.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClose.Location = new System.Drawing.Point(259, 1);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(30, 23);
this.btnClose.TabIndex = 4;
this.btnClose.UseVisualStyleBackColor = false;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
this.btnClose.MouseLeave += new System.EventHandler(this.btnClose_MouseLeave);
this.btnClose.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnClose_MouseMove);
//
// pl_top_left
//
this.pl_top_left.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pl_top_left.BackgroundImage")));
this.pl_top_left.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pl_top_left.Controls.Add(this.lblSubTitle);
this.pl_top_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_top_left.Location = new System.Drawing.Point(0, 0);
this.pl_top_left.Name = "pl_top_left";
this.pl_top_left.Size = new System.Drawing.Size(290, 55);
this.pl_top_left.TabIndex = 0;
this.pl_top_left.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDoubleClick);
this.pl_top_left.MouseDown += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDown);
this.pl_top_left.MouseMove += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseMove);
this.pl_top_left.MouseUp += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseUp);
//
// lblSubTitle
//
this.lblSubTitle.AutoSize = true;
this.lblSubTitle.BackColor = System.Drawing.Color.Transparent;
this.lblSubTitle.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblSubTitle.ForeColor = System.Drawing.Color.White;
this.lblSubTitle.Location = new System.Drawing.Point(45, 11);
this.lblSubTitle.Name = "lblSubTitle";
this.lblSubTitle.Size = new System.Drawing.Size(250, 30);
this.lblSubTitle.TabIndex = 1;
this.lblSubTitle.Text = "朗速ERP采购管理子系统";
//
// timer1
//
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1291, 734);
this.Controls.Add(this.plMain);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FrmMain";
this.Text = "朗速Erp";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.FrmMain_Load);
this.plMain.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.pl_center.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.TabMain)).EndInit();
this.TabMain.ResumeLayout(false);
this.xtpFirst.ResumeLayout(false);
this.pl_center_main.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.pl_center_main_right_container.ResumeLayout(false);
this.pl_center_main_right.ResumeLayout(false);
this.pl_center_main_bottom_right.ResumeLayout(false);
this.pl_center_main_bottom_left.ResumeLayout(false);
this.panel6.ResumeLayout(false);
this.xtpDesktop.ResumeLayout(false);
this.plDesktop.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.progressBarControl1.Properties)).EndInit();
this.plBottom.ResumeLayout(false);
this.plBottom.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.plTop.ResumeLayout(false);
this.pl_top_center.ResumeLayout(false);
this.pl_top_center.PerformLayout();
this.pl_top_right.ResumeLayout(false);
this.pl_top_right.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pic_search)).EndInit();
this.pl_top_left.ResumeLayout(false);
this.pl_top_left.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel plMain;
private System.Windows.Forms.Panel plTop;
private System.Windows.Forms.Panel pl_top_left;
private System.Windows.Forms.Panel pl_top_right;
private System.Windows.Forms.Panel pl_top_center;
private System.Windows.Forms.Panel plBottom;
private System.Windows.Forms.Label lblSubTitle;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label lbUserName;
private System.Windows.Forms.Button btnMax;
private System.Windows.Forms.Button btnMin;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.MenuStrip menuMain;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel pl_center;
private DevExpress.XtraTab.XtraTabControl TabMain;
private DevExpress.XtraTab.XtraTabPage xtpFirst;
private System.Windows.Forms.Panel pl_center_main;
private System.Windows.Forms.Panel pl_center_left;
private System.Windows.Forms.Panel pl_center_main_right;
private System.Windows.Forms.Panel pl_center_main_bottom_right;
private System.Windows.Forms.Panel pl_center_main_bottom_left;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Label lblShortcutset;
private System.Windows.Forms.Panel pl_center_main_bottom_left_main;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Panel pl_center_main_bottom_right_main;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel pl_center_main_right_container;
private System.Windows.Forms.Panel plRightLine;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripLabel tsslUserName;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.ToolStripSeparator tsmi_split;
private System.Windows.Forms.ToolStripLabel tsmi_time;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.PictureBox pic_search;
private ControlLib.inh.AutoSearcher menuSearch;
private System.Windows.Forms.ToolStripLabel tslCompany;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.Label lblSwapUser;
private System.Windows.Forms.Button button2;
private DevExpress.XtraTab.XtraTabPage xtpDesktop;
private System.Windows.Forms.Panel plDesktop;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Label lblSetting;
private DevExpress.XtraEditors.ProgressBarControl progressBarControl1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label toggle;
private System.Windows.Forms.Button button4;
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+736
View File
@@ -0,0 +1,736 @@
namespace Lskj.Main
{
partial class FrmMain2
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain2));
ControlLib.inh.SearcherPropertyCollector searcherPropertyCollector1 = new ControlLib.inh.SearcherPropertyCollector();
ControlLib.inh.TFieldPropertyData tFieldPropertyData1 = new ControlLib.inh.TFieldPropertyData();
ControlLib.inh.TFieldPropertyData tFieldPropertyData2 = new ControlLib.inh.TFieldPropertyData();
this.menuMain = new System.Windows.Forms.MenuStrip();
this.pl_top_center = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.pl_center_main_right_container = new System.Windows.Forms.Panel();
this.plRightLine = new System.Windows.Forms.Panel();
this.pl_center_main_right = new System.Windows.Forms.Panel();
this.pl_center_main_bottom_right = new System.Windows.Forms.Panel();
this.pl_center_main_bottom_right_main = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
this.pl_center_main_bottom_left = new System.Windows.Forms.Panel();
this.pl_center_main_bottom_left_main = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.lblShortcutset = new System.Windows.Forms.Label();
this.pl_top_right = new System.Windows.Forms.Panel();
this.lbUserName = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.lblSwapUser = new System.Windows.Forms.Label();
this.menuSearch = new ControlLib.inh.AutoSearcher();
this.pic_search = new System.Windows.Forms.PictureBox();
this.btnMax = new System.Windows.Forms.Button();
this.btnMin = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.plTop = new System.Windows.Forms.Panel();
this.pl_top_left = new System.Windows.Forms.Panel();
this.lblSubTitle = new System.Windows.Forms.Label();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.tsmi_time = new System.Windows.Forms.ToolStripLabel();
this.tsmi_split = new System.Windows.Forms.ToolStripSeparator();
this.tsslUserName = new System.Windows.Forms.ToolStripLabel();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tslCompany = new System.Windows.Forms.ToolStripLabel();
this.plMain = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.pl_center = new System.Windows.Forms.Panel();
this.TabMain = new DevExpress.XtraTab.XtraTabControl();
this.xtpFirst = new DevExpress.XtraTab.XtraTabPage();
this.pl_center_main = new System.Windows.Forms.Panel();
this.pl_center_left = new System.Windows.Forms.Panel();
this.tvcTree = new Lskj.Main.main2.TreeViewCustom();
this.plBottom = new System.Windows.Forms.Panel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.timer1 = new System.Windows.Forms.Timer();
this.pl_top_center.SuspendLayout();
this.panel1.SuspendLayout();
this.panel5.SuspendLayout();
this.pl_center_main_right_container.SuspendLayout();
this.pl_center_main_right.SuspendLayout();
this.pl_center_main_bottom_right.SuspendLayout();
this.pl_center_main_bottom_left.SuspendLayout();
this.panel6.SuspendLayout();
this.pl_top_right.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pic_search)).BeginInit();
this.plTop.SuspendLayout();
this.pl_top_left.SuspendLayout();
this.plMain.SuspendLayout();
this.panel4.SuspendLayout();
this.pl_center.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TabMain)).BeginInit();
this.TabMain.SuspendLayout();
this.xtpFirst.SuspendLayout();
this.pl_center_left.SuspendLayout();
this.plBottom.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// menuMain
//
this.menuMain.BackColor = System.Drawing.Color.Transparent;
this.menuMain.Dock = System.Windows.Forms.DockStyle.None;
this.menuMain.Font = new System.Drawing.Font("宋体", 9F);
this.menuMain.Location = new System.Drawing.Point(-8, 14);
this.menuMain.Name = "menuMain";
this.menuMain.Padding = new System.Windows.Forms.Padding(3, 2, 0, 2);
this.menuMain.Size = new System.Drawing.Size(202, 24);
this.menuMain.TabIndex = 0;
this.menuMain.Text = "menuStrip1";
//
// pl_top_center
//
this.pl_top_center.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(87)))), ((int)(((byte)(167)))));
this.pl_top_center.Controls.Add(this.menuMain);
this.pl_top_center.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_top_center.Location = new System.Drawing.Point(367, 0);
this.pl_top_center.Name = "pl_top_center";
this.pl_top_center.Size = new System.Drawing.Size(695, 55);
this.pl_top_center.TabIndex = 2;
this.pl_top_center.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDoubleClick);
this.pl_top_center.MouseDown += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseDown);
this.pl_top_center.MouseMove += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseMove);
this.pl_top_center.MouseUp += new System.Windows.Forms.MouseEventHandler(this.plTop_MouseUp);
//
// panel3
//
this.panel3.BackgroundImage = global::Lskj.Main.Properties.Resources.split;
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
this.panel3.Location = new System.Drawing.Point(348, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(19, 55);
this.panel3.TabIndex = 1;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.Controls.Add(this.panel5);
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
this.panel1.Location = new System.Drawing.Point(1107, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(162, 584);
this.panel1.TabIndex = 7;
//
// panel5
//
this.panel5.Controls.Add(this.pl_center_main_right_container);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(162, 584);
this.panel5.TabIndex = 1;
//
// pl_center_main_right_container
//
this.pl_center_main_right_container.Controls.Add(this.plRightLine);
this.pl_center_main_right_container.Controls.Add(this.pl_center_main_right);
this.pl_center_main_right_container.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_right_container.Location = new System.Drawing.Point(0, 0);
this.pl_center_main_right_container.Name = "pl_center_main_right_container";
this.pl_center_main_right_container.Size = new System.Drawing.Size(162, 584);
this.pl_center_main_right_container.TabIndex = 6;
//
// plRightLine
//
this.plRightLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(187)))), ((int)(((byte)(187)))));
this.plRightLine.Dock = System.Windows.Forms.DockStyle.Left;
this.plRightLine.Location = new System.Drawing.Point(0, 0);
this.plRightLine.Name = "plRightLine";
this.plRightLine.Size = new System.Drawing.Size(2, 584);
this.plRightLine.TabIndex = 6;
//
// pl_center_main_right
//
this.pl_center_main_right.Controls.Add(this.pl_center_main_bottom_right);
this.pl_center_main_right.Controls.Add(this.pl_center_main_bottom_left);
this.pl_center_main_right.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_right.Location = new System.Drawing.Point(0, 0);
this.pl_center_main_right.Name = "pl_center_main_right";
this.pl_center_main_right.Size = new System.Drawing.Size(162, 584);
this.pl_center_main_right.TabIndex = 5;
//
// pl_center_main_bottom_right
//
this.pl_center_main_bottom_right.Controls.Add(this.pl_center_main_bottom_right_main);
this.pl_center_main_bottom_right.Controls.Add(this.label4);
this.pl_center_main_bottom_right.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_center_main_bottom_right.Location = new System.Drawing.Point(0, 312);
this.pl_center_main_bottom_right.Name = "pl_center_main_bottom_right";
this.pl_center_main_bottom_right.Size = new System.Drawing.Size(162, 312);
this.pl_center_main_bottom_right.TabIndex = 1;
//
// pl_center_main_bottom_right_main
//
this.pl_center_main_bottom_right_main.AutoScroll = true;
this.pl_center_main_bottom_right_main.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pl_center_main_bottom_right_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_bottom_right_main.Location = new System.Drawing.Point(0, 20);
this.pl_center_main_bottom_right_main.Name = "pl_center_main_bottom_right_main";
this.pl_center_main_bottom_right_main.Size = new System.Drawing.Size(162, 292);
this.pl_center_main_bottom_right_main.TabIndex = 3;
//
// label4
//
this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.label4.Dock = System.Windows.Forms.DockStyle.Top;
this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
this.label4.Location = new System.Drawing.Point(0, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(162, 20);
this.label4.TabIndex = 2;
this.label4.Text = " 快捷报表通道";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label4.Click += new System.EventHandler(this.lblShortcutset_Click);
//
// pl_center_main_bottom_left
//
this.pl_center_main_bottom_left.Controls.Add(this.pl_center_main_bottom_left_main);
this.pl_center_main_bottom_left.Controls.Add(this.panel6);
this.pl_center_main_bottom_left.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_center_main_bottom_left.Location = new System.Drawing.Point(0, 0);
this.pl_center_main_bottom_left.Name = "pl_center_main_bottom_left";
this.pl_center_main_bottom_left.Size = new System.Drawing.Size(162, 312);
this.pl_center_main_bottom_left.TabIndex = 0;
//
// pl_center_main_bottom_left_main
//
this.pl_center_main_bottom_left_main.AutoScroll = true;
this.pl_center_main_bottom_left_main.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pl_center_main_bottom_left_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main_bottom_left_main.Location = new System.Drawing.Point(0, 20);
this.pl_center_main_bottom_left_main.Name = "pl_center_main_bottom_left_main";
this.pl_center_main_bottom_left_main.Size = new System.Drawing.Size(162, 292);
this.pl_center_main_bottom_left_main.TabIndex = 2;
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(193)))), ((int)(((byte)(193)))));
this.panel6.Controls.Add(this.lblShortcutset);
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
this.panel6.Location = new System.Drawing.Point(0, 0);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(162, 20);
this.panel6.TabIndex = 1;
//
// lblShortcutset
//
this.lblShortcutset.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.lblShortcutset.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblShortcutset.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblShortcutset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.lblShortcutset.Location = new System.Drawing.Point(0, 0);
this.lblShortcutset.Name = "lblShortcutset";
this.lblShortcutset.Size = new System.Drawing.Size(162, 20);
this.lblShortcutset.TabIndex = 0;
this.lblShortcutset.Text = " 快捷操作通道";
this.lblShortcutset.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lblShortcutset.Click += new System.EventHandler(this.lblShortcutset_Click);
//
// pl_top_right
//
this.pl_top_right.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pl_top_right.BackgroundImage")));
this.pl_top_right.Controls.Add(this.lbUserName);
this.pl_top_right.Controls.Add(this.button2);
this.pl_top_right.Controls.Add(this.button1);
this.pl_top_right.Controls.Add(this.lblSwapUser);
this.pl_top_right.Controls.Add(this.menuSearch);
this.pl_top_right.Controls.Add(this.pic_search);
this.pl_top_right.Controls.Add(this.btnMax);
this.pl_top_right.Controls.Add(this.btnMin);
this.pl_top_right.Controls.Add(this.btnClose);
this.pl_top_right.Dock = System.Windows.Forms.DockStyle.Right;
this.pl_top_right.Location = new System.Drawing.Point(1062, 0);
this.pl_top_right.Name = "pl_top_right";
this.pl_top_right.Size = new System.Drawing.Size(213, 55);
this.pl_top_right.TabIndex = 1;
//
// lbUserName
//
this.lbUserName.AutoSize = true;
this.lbUserName.BackColor = System.Drawing.Color.Transparent;
this.lbUserName.ForeColor = System.Drawing.Color.White;
this.lbUserName.Location = new System.Drawing.Point(69, 9);
this.lbUserName.Name = "lbUserName";
this.lbUserName.Size = new System.Drawing.Size(41, 12);
this.lbUserName.TabIndex = 8;
this.lbUserName.Text = "管理员";
this.lbUserName.Click += new System.EventHandler(this.lbUserName_Click);
//
// button2
//
this.button2.BackColor = System.Drawing.Color.Transparent;
this.button2.BackgroundImage = global::Lskj.Main.Properties.Resources.swapuser;
this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button2.FlatAppearance.BorderSize = 0;
this.button2.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button2.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button2.Location = new System.Drawing.Point(3, 3);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(21, 23);
this.button2.TabIndex = 8;
this.button2.UseVisualStyleBackColor = false;
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button1.FlatAppearance.BorderSize = 0;
this.button1.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(50, 3);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(21, 23);
this.button1.TabIndex = 6;
this.button1.UseVisualStyleBackColor = false;
//
// lblSwapUser
//
this.lblSwapUser.AutoSize = true;
this.lblSwapUser.BackColor = System.Drawing.Color.Transparent;
this.lblSwapUser.ForeColor = System.Drawing.Color.White;
this.lblSwapUser.Location = new System.Drawing.Point(23, 9);
this.lblSwapUser.Name = "lblSwapUser";
this.lblSwapUser.Size = new System.Drawing.Size(29, 12);
this.lblSwapUser.TabIndex = 9;
this.lblSwapUser.Text = "切换";
this.lblSwapUser.Click += new System.EventHandler(this.lblSwapUser_Click);
//
// menuSearch
//
this.menuSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.menuSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
this.menuSearch.IsEmpet = false;
this.menuSearch.Location = new System.Drawing.Point(6, 27);
this.menuSearch.Multiline = true;
this.menuSearch.Name = "menuSearch";
this.menuSearch.SearchControlPanel = null;
searcherPropertyCollector1.ConvertToChineseSpell = false;
tFieldPropertyData1.FieldCaption = "模块编码";
tFieldPropertyData1.FieldName = "MenuId";
tFieldPropertyData1.FieldWidth = 40;
tFieldPropertyData1.ShowColumn = true;
tFieldPropertyData2.FieldCaption = "模块名称";
tFieldPropertyData2.FieldName = "MenuCaption";
tFieldPropertyData2.FieldWidth = 200;
tFieldPropertyData2.ShowColumn = true;
searcherPropertyCollector1.FieldPropertyList = new ControlLib.inh.TFieldPropertyData[] {
tFieldPropertyData1,
tFieldPropertyData2};
searcherPropertyCollector1.InitSQL = null;
searcherPropertyCollector1.KeyField = "MenuId";
searcherPropertyCollector1.QueryField = "MenuCaption";
searcherPropertyCollector1.QuerySQL = "SELECT MenuId,MenuCaption FROM P_FormMenuConfigTab a\r\nINNER JOIN P_SubSystemTab b" +
" ON a.SubSysId=b.SubSysId\r\nWHERE ISNULL(b.UseEd,0)=1 AND ISNULL(DllFileName,\'\')<" +
">\'\'";
searcherPropertyCollector1.RemarkField = "";
searcherPropertyCollector1.ReturnMaxCount = 2000;
searcherPropertyCollector1.ReturnValueField = "MenuId";
searcherPropertyCollector1.SearchMatchWay = ControlLib.inh.TSearchMatchWay.swFuzzy;
searcherPropertyCollector1.ShowFormHeight = 200;
searcherPropertyCollector1.ShowFormWidth = 300;
searcherPropertyCollector1.SQL = "select top 2000 menuid,menucaption from p_formmenuconfigtab a\r\ninner join p_subs" +
"ystemtab b on a.subsysid=b.subsysid\r\nwhere isnull(b.useed,0)=1 and isnull(dllfil" +
"ename,\'\')<>\'\'";
this.menuSearch.searcherPropertyCollector = searcherPropertyCollector1;
this.menuSearch.Size = new System.Drawing.Size(150, 25);
this.menuSearch.TabIndex = 19;
this.menuSearch.Text = "请输入模块名称";
this.menuSearch.OnTextChangedBefore += new System.EventHandler(this.menuSearch_HandleSQL);
this.menuSearch.GetReturnValue += new ControlLib.inh.AutoSearcher.GetReturnValueEventHandler(this.menuSearch_GetReturnValue);
//
// pic_search
//
this.pic_search.ErrorImage = null;
this.pic_search.Image = global::Lskj.Main.Properties.Resources.search_default;
this.pic_search.Location = new System.Drawing.Point(161, 27);
this.pic_search.Name = "pic_search";
this.pic_search.Size = new System.Drawing.Size(46, 25);
this.pic_search.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pic_search.TabIndex = 18;
this.pic_search.TabStop = false;
//
// btnMax
//
this.btnMax.BackColor = System.Drawing.Color.Transparent;
this.btnMax.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnMax.BackgroundImage")));
this.btnMax.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnMax.FlatAppearance.BorderSize = 0;
this.btnMax.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btnMax.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btnMax.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMax.Location = new System.Drawing.Point(151, 1);
this.btnMax.Name = "btnMax";
this.btnMax.Size = new System.Drawing.Size(30, 23);
this.btnMax.TabIndex = 7;
this.btnMax.UseVisualStyleBackColor = false;
this.btnMax.Click += new System.EventHandler(this.btnMax_Click);
this.btnMax.MouseLeave += new System.EventHandler(this.btnMax_MouseLeave);
this.btnMax.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnMax_MouseMove);
//
// btnMin
//
this.btnMin.BackColor = System.Drawing.Color.Transparent;
this.btnMin.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnMin.BackgroundImage")));
this.btnMin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnMin.FlatAppearance.BorderSize = 0;
this.btnMin.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btnMin.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btnMin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMin.Location = new System.Drawing.Point(120, 1);
this.btnMin.Name = "btnMin";
this.btnMin.Size = new System.Drawing.Size(30, 23);
this.btnMin.TabIndex = 5;
this.btnMin.UseVisualStyleBackColor = false;
this.btnMin.Click += new System.EventHandler(this.btnMin_Click);
this.btnMin.MouseLeave += new System.EventHandler(this.btnMin_MouseLeave);
this.btnMin.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnMin_MouseMove);
//
// btnClose
//
this.btnClose.BackColor = System.Drawing.Color.Transparent;
this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnClose.FlatAppearance.BorderSize = 0;
this.btnClose.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClose.Location = new System.Drawing.Point(181, 1);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(30, 23);
this.btnClose.TabIndex = 4;
this.btnClose.UseVisualStyleBackColor = false;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
this.btnClose.MouseLeave += new System.EventHandler(this.btnClose_MouseLeave);
this.btnClose.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnClose_MouseMove);
//
// plTop
//
this.plTop.Controls.Add(this.pl_top_center);
this.plTop.Controls.Add(this.panel3);
this.plTop.Controls.Add(this.pl_top_right);
this.plTop.Controls.Add(this.pl_top_left);
this.plTop.Dock = System.Windows.Forms.DockStyle.Top;
this.plTop.Location = new System.Drawing.Point(0, 0);
this.plTop.Name = "plTop";
this.plTop.Size = new System.Drawing.Size(1275, 55);
this.plTop.TabIndex = 0;
//
// pl_top_left
//
this.pl_top_left.BackgroundImage = global::Lskj.Main.Properties.Resources.logo_sm;
this.pl_top_left.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pl_top_left.Controls.Add(this.lblSubTitle);
this.pl_top_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_top_left.Location = new System.Drawing.Point(0, 0);
this.pl_top_left.Name = "pl_top_left";
this.pl_top_left.Size = new System.Drawing.Size(348, 55);
this.pl_top_left.TabIndex = 0;
//
// lblSubTitle
//
this.lblSubTitle.AutoSize = true;
this.lblSubTitle.BackColor = System.Drawing.Color.Transparent;
this.lblSubTitle.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblSubTitle.ForeColor = System.Drawing.Color.White;
this.lblSubTitle.Location = new System.Drawing.Point(49, 13);
this.lblSubTitle.Name = "lblSubTitle";
this.lblSubTitle.Size = new System.Drawing.Size(299, 30);
this.lblSubTitle.TabIndex = 1;
this.lblSubTitle.Text = "阿坝县藏传佛教寺庙管理系统";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 30);
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(81, 27);
this.toolStripLabel1.Text = "版本号:V5.0";
//
// tsmi_time
//
this.tsmi_time.Name = "tsmi_time";
this.tsmi_time.Size = new System.Drawing.Size(74, 27);
this.tsmi_time.Text = "2016-05-19";
//
// tsmi_split
//
this.tsmi_split.Name = "tsmi_split";
this.tsmi_split.Size = new System.Drawing.Size(6, 30);
//
// tsslUserName
//
this.tsslUserName.Name = "tsslUserName";
this.tsslUserName.Size = new System.Drawing.Size(92, 27);
this.tsslUserName.Text = "用户名:admin";
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 30);
//
// tslCompany
//
this.tslCompany.Name = "tslCompany";
this.tslCompany.Size = new System.Drawing.Size(0, 27);
//
// plMain
//
this.plMain.Controls.Add(this.panel4);
this.plMain.Controls.Add(this.plBottom);
this.plMain.Controls.Add(this.plTop);
this.plMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.plMain.Location = new System.Drawing.Point(0, 0);
this.plMain.Name = "plMain";
this.plMain.Size = new System.Drawing.Size(1275, 696);
this.plMain.TabIndex = 1;
//
// panel4
//
this.panel4.Controls.Add(this.pl_center);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(0, 55);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(1275, 611);
this.panel4.TabIndex = 3;
//
// pl_center
//
this.pl_center.Controls.Add(this.TabMain);
this.pl_center.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center.Location = new System.Drawing.Point(0, 0);
this.pl_center.Name = "pl_center";
this.pl_center.Size = new System.Drawing.Size(1275, 611);
this.pl_center.TabIndex = 2;
//
// TabMain
//
this.TabMain.Appearance.BackColor = System.Drawing.Color.Transparent;
this.TabMain.Appearance.Options.UseBackColor = true;
this.TabMain.AppearancePage.Header.Font = new System.Drawing.Font("宋体", 9F);
this.TabMain.AppearancePage.Header.ForeColor = System.Drawing.Color.Black;
this.TabMain.AppearancePage.Header.Options.UseFont = true;
this.TabMain.AppearancePage.Header.Options.UseForeColor = true;
this.TabMain.AppearancePage.Header.Options.UseTextOptions = true;
this.TabMain.AppearancePage.Header.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.TabMain.AppearancePage.Header.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.TabMain.AppearancePage.PageClient.Font = new System.Drawing.Font("宋体", 9F);
this.TabMain.AppearancePage.PageClient.Options.UseFont = true;
this.TabMain.BackgroundImage = global::Lskj.Main.Properties.Resources.tab_bg;
this.TabMain.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InActiveTabPageHeader;
this.TabMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.TabMain.Location = new System.Drawing.Point(0, 0);
this.TabMain.Margin = new System.Windows.Forms.Padding(0);
this.TabMain.Name = "TabMain";
this.TabMain.SelectedTabPage = this.xtpFirst;
this.TabMain.Size = new System.Drawing.Size(1275, 611);
this.TabMain.TabIndex = 0;
this.TabMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.xtpFirst});
this.TabMain.HotTrackedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.TabMain_HotTrackedPageChanged);
this.TabMain.CloseButtonClick += new System.EventHandler(this.TabMain_CloseButtonClick);
//
// xtpFirst
//
this.xtpFirst.Appearance.PageClient.BackColor = System.Drawing.Color.Black;
this.xtpFirst.Appearance.PageClient.Options.UseBackColor = true;
this.xtpFirst.Controls.Add(this.pl_center_main);
this.xtpFirst.Controls.Add(this.panel1);
this.xtpFirst.Controls.Add(this.pl_center_left);
this.xtpFirst.Margin = new System.Windows.Forms.Padding(0);
this.xtpFirst.Name = "xtpFirst";
this.xtpFirst.ShowCloseButton = DevExpress.Utils.DefaultBoolean.False;
this.xtpFirst.Size = new System.Drawing.Size(1269, 584);
this.xtpFirst.Text = "   菜单导航  ";
//
// pl_center_main
//
this.pl_center_main.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.pl_center_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_center_main.Location = new System.Drawing.Point(145, 0);
this.pl_center_main.Name = "pl_center_main";
this.pl_center_main.Size = new System.Drawing.Size(962, 584);
this.pl_center_main.TabIndex = 8;
//
// pl_center_left
//
this.pl_center_left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(87)))), ((int)(((byte)(167)))));
this.pl_center_left.Controls.Add(this.tvcTree);
this.pl_center_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_center_left.Location = new System.Drawing.Point(0, 0);
this.pl_center_left.Name = "pl_center_left";
this.pl_center_left.Padding = new System.Windows.Forms.Padding(4);
this.pl_center_left.Size = new System.Drawing.Size(145, 584);
this.pl_center_left.TabIndex = 0;
//
// tvcTree
//
this.tvcTree.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvcTree.Location = new System.Drawing.Point(4, 4);
this.tvcTree.Name = "tvcTree";
this.tvcTree.Size = new System.Drawing.Size(137, 576);
this.tvcTree.TabIndex = 0;
//
// plBottom
//
this.plBottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.plBottom.Controls.Add(this.toolStrip1);
this.plBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.plBottom.Location = new System.Drawing.Point(0, 666);
this.plBottom.Name = "plBottom";
this.plBottom.Size = new System.Drawing.Size(1275, 30);
this.plBottom.TabIndex = 1;
//
// toolStrip1
//
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill;
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tslCompany,
this.toolStripSeparator2,
this.tsslUserName,
this.toolStripSeparator1,
this.toolStripLabel1,
this.tsmi_time,
this.tsmi_split});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1275, 30);
this.toolStrip1.TabIndex = 8;
this.toolStrip1.Text = "toolStrip1";
//
// timer1
//
this.timer1.Interval = 1000;
//
// FrmMain2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1275, 696);
this.Controls.Add(this.plMain);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "FrmMain2";
this.Text = "朗速Erp";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.FrmMain_Load);
this.pl_top_center.ResumeLayout(false);
this.pl_top_center.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.pl_center_main_right_container.ResumeLayout(false);
this.pl_center_main_right.ResumeLayout(false);
this.pl_center_main_bottom_right.ResumeLayout(false);
this.pl_center_main_bottom_left.ResumeLayout(false);
this.panel6.ResumeLayout(false);
this.pl_top_right.ResumeLayout(false);
this.pl_top_right.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pic_search)).EndInit();
this.plTop.ResumeLayout(false);
this.pl_top_left.ResumeLayout(false);
this.pl_top_left.PerformLayout();
this.plMain.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.pl_center.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.TabMain)).EndInit();
this.TabMain.ResumeLayout(false);
this.xtpFirst.ResumeLayout(false);
this.pl_center_left.ResumeLayout(false);
this.plBottom.ResumeLayout(false);
this.plBottom.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.MenuStrip menuMain;
private System.Windows.Forms.Panel pl_top_center;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel pl_center_main_right_container;
private System.Windows.Forms.Panel plRightLine;
private System.Windows.Forms.Panel pl_center_main_right;
private System.Windows.Forms.Panel pl_center_main_bottom_right;
private System.Windows.Forms.Panel pl_center_main_bottom_right_main;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Panel pl_center_main_bottom_left;
private System.Windows.Forms.Panel pl_center_main_bottom_left_main;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Label lblShortcutset;
private System.Windows.Forms.Panel pl_top_right;
private System.Windows.Forms.Label lbUserName;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label lblSwapUser;
private ControlLib.inh.AutoSearcher menuSearch;
private System.Windows.Forms.PictureBox pic_search;
private System.Windows.Forms.Button btnMax;
private System.Windows.Forms.Button btnMin;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Panel plTop;
private System.Windows.Forms.Panel pl_top_left;
private System.Windows.Forms.Label lblSubTitle;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.ToolStripLabel tsmi_time;
private System.Windows.Forms.ToolStripSeparator tsmi_split;
private System.Windows.Forms.ToolStripLabel tsslUserName;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripLabel tslCompany;
private System.Windows.Forms.Panel plMain;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel pl_center;
private DevExpress.XtraTab.XtraTabControl TabMain;
private DevExpress.XtraTab.XtraTabPage xtpFirst;
private System.Windows.Forms.Panel plBottom;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Panel pl_center_left;
private main2.TreeViewCustom tvcTree;
private System.Windows.Forms.Panel pl_center_main;
}
}
File diff suppressed because it is too large Load Diff
+229
View File
@@ -0,0 +1,229 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="menuMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>422, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pl_top_right.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAf4AAAA7CAIAAAAVX3/BAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAtDSURBVHhe7d3va1zXEcbxvq6xSUIdh5g20L4pNIW+
6P9SOzHGiWsIFFIK+Z/in0lo2vx9fcyYYfo9WmmPzig50j7wQVydnTvjHl09e7WRtr/69d++Hd168O3v
nn334ZNXWP/g0cvf/v07PSS/efxSK3cfv9Lxe5+/0PpHX7y+/fD5x1++waM6Sx9V8P6jF1q8//Rtgahe
n0Z9FOhTs6DroRf6A4pPB/YhoawFRkxBq9Ffv/kJK3aOiei/89nzyOikKI9wzzRHjsejOq6LQedqRc8K
jn47k66HXugPKD4d2IeEshYYMQWtRo7+KWdHvyjN9bCiOVd0I6+Ajtv5CG4dR7jrWUE3/jq49+TdjbzO
1UE+GotxnFkv0U3FcaJZigu0EfoDik8H9iGhrAVGTEGrkaN/ysHoj6BPyusI90orEe76KSF+JtCnOlc5
rtY6wF2/nk7yySCfPFQWBXGKWdD10Av9AcWnA/uQUNYCI6ag1cjRP+Vg9ItyWRWR2vHiT77Wr4+R2sdE
fzyLKPdVc/vh83h1KO79o4nqdRynmAVdD73QH1B8OrAPCWUtMGIKWo0c/VPOi36zXxCu1HXoDyje1p//
+Z9Gaoh9SHVoF4yYglYjR/8UR79tClfqOvQHFG8L2b1IDbEPqQ7tghFT0Grk6J/i6LdN4Updh/6A4m0h
uxepIfYh1aFdMGIKWo0c/VMc/bYpXKnr0B9QvC1k9yI1xD6kOrQLRkxBq5Gjf8qVRP+tB2+/TvGffM0u
p16mLdAfULwtZPciNcQ+pDq0C0ZMQavRTY1+/e+6Co5+21S9+lugP6B4W8juRWqIfUh1aBeMmIJWI8UZ
VuwcfsHHNoUrdR36A4q3hexepIbYh1SHdsGIKWg1cvRPORj98cY7+ev2+Ve495++ef/Ri3ynB30av7Yf
v6GvFR3X3/FXn/hF/jP7aMXsTHmNdkF/QPG2kN2L1BD7kOrQLhgxBa1Gjv4pB6Nfj8XbqwUldXx678lr
HUf0q0YfFfr5qA5UkNEfB0lnoU80NxvlNdoF/QHF20J2L1JD7EOqQ7tgxBS0Gjn6pxyM/riXlzHBJaJf
9+9RrBr1ivdm0MeM/voDgZzZJx4yg3qZtkB/QPG2kN2L1BD7kOrQLhgxBa1Gjv4pF7zWr/hWQCuyVVp/
CIjo16PxaWS6ngniRj6jH2/7o7PQx+yQvEa7oD+geFvI7kVqiH1IdWgXjJiCViNH/5TzXvCJvI581728
Yj1WPnzyCtEv9T15Mvp1nD89xLMC+sS5ZqN6mbZAf0DxtpDdi9QQ+5Dq0C4YMQWtRo7+KRfc9Zv9UnCl
rkN/QPG2kN2L1BD7kOrQLhgxBa1Gjv4pjn7bFK7UdegPKN4WsnuRGmIfUh3aBSOmoNXI0T/F0W+bwpW6
Dv0BxdtCdi9SQ+xDqkO7YMQUtBo5+qc4+m1TuFLXoT+geFvI7kVqiH1IdWgXjJiCViNH/0h7csjB6P/4
yzf5u5ujO5+9+39c0QEeanT+v8FuNlzE69AfULwtZPciNcQ+pDq0C0ZMQauR4gwrVrMeLhn9+Vs67dGv
hpobbR39pwwX8Tr0BxRvC9m9SA2xD6kO7YIRU9BqpDjDitWsh0u+4KOmVxTK8cugV/rDhF0L9Qpugf6A
4m0huxepIfYh1aFdMGIKWo0UZ1ixmvVwMPp1WoR73Hrfffz2b7t0cOvB25W45Rd9Gg+JfhSIt+WJUz76
4vW9J6/j0fc+f6GGWrn98N17+MRfAMR7/ogW9VD8PXBQQf4b4keBWFdPrUSlauLnj+hmN0lcu43QH1C8
LWT3IjXEPqQ6tAtGTEGrkeIMK1azHo6Kfh1H7MoHj15mCkvcpCdVxnNDnJLRny8Q5bkqyFnxV756GjgU
/Xl6UM+ojCmiguxmN4O+uL3QH1C8LWT3IjXEPqQ6tAtGTEGrkeIMK1azHo6KfgWr0jneyzPur/NRhbsW
4/WZSPm4Q1eBTqmL8aYOcc8eBTrQzwFaDPFQPJdEw5ii43xUPeM47/q1qH9edLObRF/TXugPKN4WsnuR
GmIfUh3aBSOmoNVIcYYVq1kPx77go4OatvloJHXSej1FIvoV2ZHg+lSLym5VZsO466/RH+s5RQexmA/F
ufqoR1UTc+0miQugEfoDireF7F6khtiHVId2wYgpaDVSnGHFatbDavRLhLtoJbMYj54Z/TqIu34V69OI
fpXpWIs1+rWoAy1KvPOPo/8U9KY/mgOKt4XsXqSG2IdUh3bBiCloNVKcYcVq1sPB6DfbQWP6ozOgeFvI
7kVqiH1IdWgXjJiCViPFGVasZj04+m13XemPtoDibSG7F6kh9iHVoV0wYgpajRRnWLGa9eDot2ugJf3R
E1C8LWT3IjXEPqQ6tAtGTEGrkeIMK1azHhz9dj2spz8aAoq3hexepIbYh1SHdsGIKWg1UpxhxWrWg6Pf
ro3F9Ec3QPG2kN2L1BD7kOrQLhgxBa1GijOsWM16aIv+u49fxa/omF2dlfRHK0DxtpDdi9QQ+5Dq0C4Y
MQWtRoozrFjNemiLfo1x9NvP4NLpjz6A4m0huxepIfYh1aFdMGIKWo0UZ1ixmvVwMPrjb3dF59ff6NdH
Hd/57Hm+/Y4SP3/pXsVxrg70abxpT5we7wBx/+nb9+rRKfFojjM73uXSH00AxdtCdi9SQ+xDqkO7YMQU
tBopzrBiNevhYPTrtBrNiuz466o4iL/PiicDqdFfH1KxUj6iX8dRk8Wi4uhgNuUS6Y8OgOJt/fEf/0Z8
r1BD7EOqQ7tgxBS0GinOsGI16+Fg9MfdvcTf38an+VErceeu7rqd16c6iBd88sSgoK8/NKhMzwE6iL/y
dfTbpemKiuv7SDgdULytT559/+nXPyLBL00NsQ+pDu2CEVPQaqQ4w4rVrIcLXuuvAZ3taoGSPVb0UZX6
GG/TFkEfIvr1Mcp0ig7iGcLRbyum0h/nAop39vuvfkCCX5q6YR9SndgFI6ag1UhxhhWrWQ/nveCjaJa4
65d4Goi30IlXdURlcdefPwToOGI96FFHv12d49MfJwKKN9f1so9aYR9SHdcFI6ag1UhxhhWrWQ8X3PVX
8Rq9w9p2c2T64yxA8eY+efb9nzpe9lEr7EOq47pgxBS0GinOsGI16+Go6I/bdokbdrPdHJP+OAVQvL+W
l33UB/uQ6qwuGDEFrUaKM6xYzXqYiH7l/u2HvuW3TV2Y/qgHFF8L6y/7qAn2IdVBXTBiClqNFGdYsZr1
MPGCj9nmzk9/FAOKr4X1l33UBPuQ6qAuGDEFrUaKM6xYzXpw9NuNck76oxJQfF0svuyjDtiHVKd0wYgp
aDVSnGHFataDo99umkPpjzJA8enAPiSUtcCIKWg1UpxhxWrWg6PfbqAz0x81gOLTgX1IKGuBEVPQaqQ4
w4rVrAdHv91MY/qjAFB8OrAPCWUB8RH+8q//ouwQjJiCViP9S7Bi9csEjn7r9Ievfqjw6M8M6Y9HoVae
FOxDQllAfARH/7bqlwkc/dZpq+iXmv54CLLs1GAfEsoC4iM4+rdVv0zg6LdOu0W/ZPpjHfK75dRgHxLK
AuIjOPq3Vb9M4Oi3ThtGv0T6YxHqN8xJwT4klAXER3D0b6t+mcDRb532jH5R+mMF8D1zOrAPCWUB8REc
/duqXyZw9FunbaP/QvieOR3Yh4SyoJQfffr1jyg7BCOmoNVIcYYVq1kPjn7r5Oi/drAPCWUtMGIKWo0U
Z1ixmvXg6LdOjv5rB/uQUNYCI6ag1UhxhhWrWQ+Ofuvk6L92sA8JZQEv9Ryjno4RU2qfMynOsGI168HR
b/YWvmdOB/YhoSwgPo5RT8eIKbXPmTDLpH4h/s83P/0P0Cz+eip8N0QAAAAASUVORK5CYII=
</value>
</data>
<data name="button1.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAERSURBVEhL7dGhasJRFAZw2cA0MEy0q8GwZjVPWHbB
pNmsSR9jL6H4ADZ9gRlWt2AUxphBg4Jcv+9ylev1D+ce3WBh4SfH757DB5oyxvwq+/Hyfvtj/mRBCUaw
dDgXIWlXXVCABfQh7/RcxrezG23BADpBRl3gW5irC77hPsgoC/y5wlxdsIK7ICNm6yCztAVjaAYZtYBv
Ya4uqMAnNODG4cyMb2c32gKqwhvw/yDOzJJ2Lyo4yDlJb0exBRmowbOAO9w93sYUtOELpjAUTIC7vIkq
qMMHPHiZhLtz4K1Y8AqP3vdYTzDjLBVsIO19j8WbLWepwHizlr2VCnberGVvpYKyN2vZW6ngav8FotMC
k9oDEt5FdrFvjwAAAAAASUVORK5CYII=
</value>
</data>
<data name="btnMax.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEcSURBVEhLY6AU/P//nySMAYTaL/gC8T4g/gzE/8nE
L4F4ORBr4rUQqKBFsP7wSy7PwulMglJ5QKE0cjCLnF4ZT0THCqGWM++AZvpgtRAkAbTsBbOwbAGQi9Ug
UjG7eUibUOs5kKXi2CzcB/IZkIlVM7mYL3PRfqDZ9dgs/ERJMOLCXJ4F04Fmr8dmIYiHVRMlmMM6ugto
9mGyLJx969N/fBibHootxCYOwjSxEB+mmoWw4MKFkdUh64NhsizEJg7CI8dCEE1XC/HhoWEhPoxNDzIm
2UJKMT4L6V5407168hWsPUirClgCw0IQAEogmhgCEtRoYrwHmom9iQEDQAV+QAxqRH0BYmwNJGIwrBGl
hWwZVgtJBegG4sf/GQCj6eDe5TPWMAAAAABJRU5ErkJggg==
</value>
</data>
<data name="btnMin.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEFSURBVEhLY2AWU6MI////nySMYYDk8v++QLwPiD8D
8X8y8UsgXg7EmngtBCpokZj38SV/yuzpbBqOeUCxNHIwh1lYmWDplhWSS36/A5rpg9VCkATQshdsWq4F
yJopwTyBdW2SS/+ALBXHZuE+kM+QNVADi7Sf3w80ux6bhZ8oCUZcGOQJoNnrsVn4H1khtTBvaEsX0OzD
oxZSDY9aiFUTJXjUQqyaKMGD30KgIqIBNv34LMRaeINNIhKg6wVhfIU3jaqnczirJ1/xuR9oVQFLYFgI
wkAJRBND3YEaTYz3QDOxNzFgGKjAD4hBjagvQIytgUQMhjWitJAtw2ohqRjdQPz4PwMAbPpIkp2I5VkA
AAAASUVORK5CYII=
</value>
</data>
<data name="btnClose.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAFvSURBVEhLY6AU/P//nySMAYTaL/gC8T4g/gzE/8nE
L4F4ORBr4rUQqKBFsP7wSy7PwulMglJ5QKE0cjCLnF4ZT0THCqGWM++AZvpgtRAkAbTsBbOwbAGQi9Ug
UjG7eUibUOs5kKXi2CzcB/IZkIlVM7mYL3PRfqDZ9dgs/ERJMOLCXJ4F04Fmr8dmIYiHVRMlmMM6ugto
9mGSLFQ3t61o2XXugqyGbjG6HEgMKHcRpAZdDoTJsrB11/mLs299+t9/6sFTZEtBbJAYSA5kKbIeGCbL
QjktfbjBMEuRLUN3CDImy0IQRrZ0wumHL0CYkGUgTLaFIAyyFGYRzGJ8loEwRRaCDKebhXQNUmyJBpsY
Nr1kWYgrWyBbStVsAcrUIEux+QJkKdUzPiUYn4V0L7zpXj35CtYepFUFLIFhIQgAJRBNDAEJajQx3gPN
xN7EgAGgAj8gBjWivgAxtgYSMRjWiNJCtgyrhaQCdAPx4/8MAG6r9s+X5DldAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>532, 17</value>
</metadata>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>637, 17</value>
</metadata>
</root>
+87
View File
@@ -0,0 +1,87 @@
namespace Lskj.Main
{
partial class FrmProgressBar
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.progressBarControl1 = new DevExpress.XtraEditors.ProgressBarControl();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.progressBarControl1.Properties)).BeginInit();
this.SuspendLayout();
//
// progressBarControl1
//
this.progressBarControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.progressBarControl1.Location = new System.Drawing.Point(0, 0);
this.progressBarControl1.Name = "progressBarControl1";
this.progressBarControl1.Size = new System.Drawing.Size(584, 30);
this.progressBarControl1.TabIndex = 0;
//
// timer1
//
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("宋体", 12F);
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
this.label1.Location = new System.Drawing.Point(264, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(44, 20);
this.label1.TabIndex = 1;
this.label1.Text = "100%";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label1.Visible = false;
//
// FrmProgressBar
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(584, 30);
this.Controls.Add(this.label1);
this.Controls.Add(this.progressBarControl1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "FrmProgressBar";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "FrmProgressBar";
this.Load += new System.EventHandler(this.FrmProgressBar_Load);
((System.ComponentModel.ISupportInitialize)(this.progressBarControl1.Properties)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraEditors.ProgressBarControl progressBarControl1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Label label1;
}
}
@@ -0,0 +1,69 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Lskj.MyControl;
using DevExpress.XtraEditors.Controls;
using System.Threading;
namespace Lskj.Main
{
public partial class FrmProgressBar : Form
{
public Dictionary<string, GridControlEx> dicGrids = new Dictionary<string, GridControlEx>();
private bool isRun = false;
public FrmProgressBar()
{
InitializeComponent();
}
private void FrmProgressBar_Load(object sender, EventArgs e)
{
timer1.Start();
}
private void OnLoad()
{
try
{
isRun = true;
progressBarControl1.Properties.Minimum = 0;
progressBarControl1.Properties.Maximum = dicGrids.Count;
progressBarControl1.Properties.Step = 1;
progressBarControl1.Properties.ProgressViewStyle = ProgressViewStyle.Broken;
progressBarControl1.Position = 0;
for (int i = 1; i <= dicGrids.Count; i++)
{
label1.Text = dicGrids.Count == i ? "100%" : Convert.ToInt32(Convert.ToDouble(Convert.ToDouble(i) / Convert.ToDouble(dicGrids.Count)) * 100) + "%";
progressBarControl1.PerformStep();
Application.DoEvents();
GridControlEx grid = dicGrids[i + ""];
grid.SetDataSource(grid.Sql);
}
}
catch (Exception ex)
{
}
finally {
timer1.Stop();
this.Close();
}
}
private void timer1_Tick(object sender, EventArgs e)
{
if (!isRun)
{
OnLoad();
}
}
}
}
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
+296
View File
@@ -0,0 +1,296 @@
namespace Lskj.Main
{
partial class FrmSetDesktop
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.gcMain = new DevExpress.XtraGrid.GridControl();
this.gvMain = new DevExpress.XtraGrid.Views.Grid.GridView();
this.MenuCaption = new DevExpress.XtraGrid.Columns.GridColumn();
this.gcSelected = new DevExpress.XtraGrid.GridControl();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.tsmiDel = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiReset = new System.Windows.Forms.ToolStripMenuItem();
this.gvSelected = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panel3 = new System.Windows.Forms.Panel();
this.btnClose = new DevExpress.XtraEditors.SimpleButton();
this.btnSave = new DevExpress.XtraEditors.SimpleButton();
this.panel4 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel5 = new System.Windows.Forms.Panel();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gvMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gcSelected)).BeginInit();
this.contextMenuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gvSelected)).BeginInit();
this.panel3.SuspendLayout();
this.panel4.SuspendLayout();
this.panel6.SuspendLayout();
this.groupBox2.SuspendLayout();
this.panel5.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.groupBox1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(340, 446);
this.panel1.TabIndex = 0;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.gcMain);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(340, 446);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "可选模块";
//
// gcMain
//
this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcMain.Location = new System.Drawing.Point(3, 17);
this.gcMain.MainView = this.gvMain;
this.gcMain.Name = "gcMain";
this.gcMain.Size = new System.Drawing.Size(334, 426);
this.gcMain.TabIndex = 1;
this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gvMain});
//
// gvMain
//
this.gvMain.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.MenuCaption});
this.gvMain.GridControl = this.gcMain;
this.gvMain.Name = "gvMain";
this.gvMain.OptionsView.ShowGroupPanel = false;
this.gvMain.DoubleClick += new System.EventHandler(this.gvMain_DoubleClick);
//
// MenuCaption
//
this.MenuCaption.Caption = "模块名称";
this.MenuCaption.FieldName = "MenuCaption";
this.MenuCaption.Name = "MenuCaption";
this.MenuCaption.OptionsColumn.AllowEdit = false;
this.MenuCaption.Visible = true;
this.MenuCaption.VisibleIndex = 0;
//
// gcSelected
//
this.gcSelected.ContextMenuStrip = this.contextMenuStrip1;
this.gcSelected.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcSelected.Location = new System.Drawing.Point(3, 17);
this.gcSelected.MainView = this.gvSelected;
this.gcSelected.Name = "gcSelected";
this.gcSelected.Size = new System.Drawing.Size(334, 426);
this.gcSelected.TabIndex = 2;
this.gcSelected.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gvSelected});
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiDel,
this.tsmiReset});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(123, 48);
//
// tsmiDel
//
this.tsmiDel.Name = "tsmiDel";
this.tsmiDel.Size = new System.Drawing.Size(122, 22);
this.tsmiDel.Text = "删除模块";
this.tsmiDel.Click += new System.EventHandler(this.tsmiDel_Click);
//
// tsmiReset
//
this.tsmiReset.Name = "tsmiReset";
this.tsmiReset.Size = new System.Drawing.Size(122, 22);
this.tsmiReset.Text = "重置序号";
this.tsmiReset.Click += new System.EventHandler(this.tsmiReset_Click);
//
// gvSelected
//
this.gvSelected.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn1,
this.gridColumn2});
this.gvSelected.GridControl = this.gcSelected;
this.gvSelected.Name = "gvSelected";
this.gvSelected.OptionsView.ShowGroupPanel = false;
//
// gridColumn1
//
this.gridColumn1.Caption = "模块名称";
this.gridColumn1.FieldName = "MenuName";
this.gridColumn1.Name = "gridColumn1";
this.gridColumn1.OptionsColumn.AllowEdit = false;
this.gridColumn1.Visible = true;
this.gridColumn1.VisibleIndex = 0;
//
// gridColumn2
//
this.gridColumn2.Caption = "模块序号";
this.gridColumn2.FieldName = "OrderId";
this.gridColumn2.Name = "gridColumn2";
this.gridColumn2.Visible = true;
this.gridColumn2.VisibleIndex = 1;
this.gridColumn2.Width = 35;
//
// panel3
//
this.panel3.Controls.Add(this.btnClose);
this.panel3.Controls.Add(this.btnSave);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(0, 446);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(684, 55);
this.panel3.TabIndex = 2;
//
// btnClose
//
this.btnClose.Location = new System.Drawing.Point(482, 7);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(90, 41);
this.btnClose.TabIndex = 1;
this.btnClose.Text = "关 闭";
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// btnSave
//
this.btnSave.Location = new System.Drawing.Point(587, 6);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(90, 41);
this.btnSave.TabIndex = 0;
this.btnSave.Text = "保 存";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// panel4
//
this.panel4.Controls.Add(this.panel6);
this.panel4.Controls.Add(this.panel5);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(684, 446);
this.panel4.TabIndex = 3;
//
// panel6
//
this.panel6.Controls.Add(this.groupBox2);
this.panel6.Dock = System.Windows.Forms.DockStyle.Right;
this.panel6.Location = new System.Drawing.Point(344, 0);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(340, 446);
this.panel6.TabIndex = 3;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.gcSelected);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox2.Location = new System.Drawing.Point(0, 0);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(340, 446);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "已选模块";
//
// panel5
//
this.panel5.Controls.Add(this.panel1);
this.panel5.Dock = System.Windows.Forms.DockStyle.Left;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(340, 446);
this.panel5.TabIndex = 2;
//
// FrmSetDesktop
//
this.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Appearance.Options.UseFont = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(684, 501);
this.Controls.Add(this.panel4);
this.Controls.Add(this.panel3);
this.LookAndFeel.SkinName = "Office 2010 Blue";
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FrmSetDesktop";
this.Text = "设置我的桌面";
this.Load += new System.EventHandler(this.FrmSetDesktop_Load);
this.panel1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gvMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gcSelected)).EndInit();
this.contextMenuStrip1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gvSelected)).EndInit();
this.panel3.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.panel6.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.GroupBox groupBox1;
private DevExpress.XtraGrid.GridControl gcMain;
private DevExpress.XtraGrid.Views.Grid.GridView gvMain;
private DevExpress.XtraGrid.Columns.GridColumn MenuCaption;
private DevExpress.XtraGrid.GridControl gcSelected;
private DevExpress.XtraGrid.Views.Grid.GridView gvSelected;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Panel panel5;
private DevExpress.XtraEditors.SimpleButton btnClose;
private DevExpress.XtraEditors.SimpleButton btnSave;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem tsmiDel;
private System.Windows.Forms.ToolStripMenuItem tsmiReset;
}
}
@@ -0,0 +1,193 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CommonLib.data;
using CommonLib;
using System.Data.SqlClient;
using DevExpress.XtraEditors;
namespace Lskj.Main
{
public partial class FrmSetDesktop : FormBase
{
private DataTable dtAllTable = new DataTable();
private DataTable dtDesktopTable = new DataTable();
private SqlDataAdapter adapter = new SqlDataAdapter();
private DataSet dataSet = new DataSet();
public int userid;
public FrmSetDesktop()
{
InitializeComponent();
}
private void FrmSetDesktop_Load(object sender, EventArgs e)
{
dtAllTable = getpurviewmenus();
dtDesktopTable = getdesktopmenus();
gvMain.GridControl.DataSource = dtAllTable;
gvSelected.GridControl.DataSource = dtDesktopTable;
}
/// <summary>
/// 获取我的桌面
/// </summary>
/// <returns></returns>
private DataTable getdesktopmenus()
{
string sqlValue = string.Format("SELECT * FROM P_SystemDesktopTab where OperatorId='{0}'", userid);
adapter = SqlHelper.ExecuteAdapter(CommandType.Text, sqlValue);
if (dataSet != null && dataSet.Tables.Count > 0)
dataSet.Clear();
adapter.Fill(dataSet);
SqlCommandBuilder sb = new SqlCommandBuilder(adapter);
return dataSet.Tables[0];
}
/// <summary>
/// 获取有权限的模块
/// </summary>
/// <returns></returns>
private DataTable getpurviewmenus()
{
string sqlValue = string.Format(@"SELECT a.menuid,a.MenuCaption,SUBSTRING(menustruct,1,2) menuparent,a.menustruct, ISNULL(a.DllFileName,'') dllname,ISNULL(a.UrlParams,'') moduleid,
ISNULL(a.MobileIcon,'') url,a.purview,a.SubSysId subid,a.SubSysName subname,ISNULL(a.dirid,'') dirid,ISNULL(a.bmpspec,'') bmpspec,ISNULL(TRCReport,0) menumode
FROM (
SELECT DISTINCT 0 AS purview,b.SubSysName,c.dirid,c.bmpSpec,a.* FROM p_formMenuConfigTab a
INNER JOIN P_SubSystemTab b ON a.subsysid = b.SubSysId
LEFT JOIN p_systemdlltab c ON a.UrlParams = c.DllCoid
WHERE b.MobileShow=1 AND a.ShowPlatform=1 AND isnull(b.UseEd,0) = 1
) a
INNER JOIN (
{1}
) b ON CHARINDEX(CAST(a.menuid AS VARCHAR)+',',b.KcPurview)>0 OR CHARINDEX(CAST(a.menuid AS VARCHAR)+'|,',b.KcPurview)>0
WHERE LEN(MenuStruct)=4 and ISNULL(a.UrlParams,'')<>'' and LOWER(a.DllFileName) IN ('lskj.pubmodule.dll','lskj.pubmoduledetail.dll','lskj.report.dll','lskj.pubmoduletd.dll') and ISNULL(a.UrlParams,'') not in (select MenuId from P_SystemDesktopTab where OperatorId='{0}')", userid, getpurviews());
DataTable dtTable = SqlHelper.ExecuteDataSet(sqlValue).Tables[0];
return dtTable;
}
/// <summary>
/// 获取权限动态sql
/// </summary>
/// <returns></returns>
private string getpurviews()
{
string purviewSql = string.Format("select isnull(wmsPurview,'')+isnull(KcPurview,'')+ISNULL(crmPurview,'')+ISNULL(bomPurview,'')+ISNULL(mrpPurview,'')+ISNULL(scmPurview,'')+ISNULL(sellPurview,'')+ISNULL(RdmPurview,'')+ISNULL(hrPurview,'')+ISNULL(costPurview,'')+ISNULL(eamPurview,'')+ISNULL(FmPurview,'')+ISNULL(oaPurview,'')+ISNULL(BiPurview,'')+isnull(QmsPurview,'') as KcPurview from p_SubsysPurviewTab where employeeid={0}", userid);
string tempSql = string.Empty;
string sqlValue = "select SubsysCode code from P_SubSystemTab where ISNULL(SubsysCode,'')<>'' and mobileshow=1";
DataTable dtTable = SqlHelper.ExecuteDataSet(sqlValue).Tables[0];
foreach (DataRow item in dtTable.Rows)
{
tempSql += string.Format(" isnull({0}Purview,'')+", (item["code"] + "").Trim());
}
if (!string.IsNullOrEmpty(tempSql))
{
purviewSql = string.Format("select {0} as KcPurview from p_SubsysPurviewTab where employeeid={1}", tempSql.Trim('+'), userid);
}
return purviewSql;
}
/// <summary>
/// 双击添加
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void gvMain_DoubleClick(object sender, EventArgs e)
{
int[] rows = gvMain.GetSelectedRows();
if (rows.Count() > 0) {
DataRow s_row = gvMain.GetDataRow(rows[0]);
DataRow row = dtDesktopTable.NewRow();
row["MenuName"] = s_row["MenuCaption"];
row["MenuId"] = s_row["moduleid"];
row["OrderId"] = dtDesktopTable.Rows.Count + 1;
row["OperatorId"] = userid;
dtDesktopTable.Rows.Add(row);
dtAllTable.Rows.Remove(s_row);
}
}
/// <summary>
/// 保存
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnSave_Click(object sender, EventArgs e)
{
try
{
adapter.Update(gvSelected.GridControl.DataSource as DataTable);
(gvSelected.GridControl.DataSource as DataTable).AcceptChanges();
XtraMessageBox.Show("保存成功");
this.DialogResult = DialogResult.OK;
}
catch (Exception ex)
{
XtraMessageBox.Show("保存失败" + ex.Message);
}
}
/// <summary>
/// 删除模块
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void tsmiDel_Click(object sender, EventArgs e)
{
int[] rows = gvSelected.GetSelectedRows();
if (rows.Length > 0)
{
DataRow row = gvSelected.GetDataRow(rows[0]);
int result = SqlHelper.ExecuteNonQuery(string.Format("delete P_SystemDesktopTab where id='{0}'", row["id"]));
XtraMessageBox.Show("删除成功");
FrmSetDesktop_Load(sender, e);
}
}
/// <summary>
/// 重排序号
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void tsmiReset_Click(object sender, EventArgs e)
{
int index = 1;
foreach (DataRow item in dtDesktopTable.Rows)
{
item["OrderId"] = index++;
}
try
{
adapter.Update(gvSelected.GridControl.DataSource as DataTable);
(gvSelected.GridControl.DataSource as DataTable).AcceptChanges();
XtraMessageBox.Show("重置成功");
}
catch (Exception ex)
{
XtraMessageBox.Show("重置失败" + ex.Message);
}
}
private void btnClose_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
+40
View File
@@ -0,0 +1,40 @@
namespace Lskj.Main
{
partial class FrmWatermark
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "FrmWatermark";
}
#endregion
}
}
@@ -0,0 +1,208 @@
using CommonLib;
using Lskj.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Lskj.Main
{
public partial class FrmWatermark : Form
{
// 保存主窗体引用,用于同步位置和大小
private Form _mainForm;
private string WatermarkContent = string.Empty;
public FrmWatermark(Form mainForm,string watermarkContent)
{
InitializeComponent();
WatermarkContent = watermarkContent;
_mainForm = mainForm; // 接收主窗体引用
this.FormBorderStyle = FormBorderStyle.None;
this.ControlBox = false;
this.ShowInTaskbar = false;
// 设置窗体背景为透明
Color color = Color.FromArgb(175, 175, 175);
this.BackColor = color;
this.TransparencyKey = color;
this.Opacity = 0.3;
//重绘界面,绘制水印
this.Paint += FrmWatermark_Paint;
// 监听主窗体的移动和大小变化(关键修复)
if (_mainForm != null)
{
_mainForm.LocationChanged += MainForm_LocationChanged;
_mainForm.SizeChanged += MainForm_SizeChanged;
_mainForm.VisibleChanged += MainForm_VisibleChanged;
_mainForm.FormClosing += MainForm_FormClosing;
}
// 初始同步位置和大小
SyncPositionAndSize();
}
// 主窗体位置变化时同步水印位置
private void MainForm_LocationChanged(object sender, EventArgs e)
{
SyncPositionAndSize();
}
// 主窗体大小变化时同步水印大小和位置
private void MainForm_SizeChanged(object sender, EventArgs e)
{
SyncPositionAndSize();
}
// 主窗体显示状态变化时同步
private void MainForm_VisibleChanged(object sender, EventArgs e)
{
this.Visible = _mainForm.Visible;
if (_mainForm.Visible)
{
SyncPositionAndSize();
this.BringToFront();
}
}
// 主窗体关闭时同步关闭水印
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
{
this.Close();
}
// 同步水印窗体与主窗体的位置和大小
private void SyncPositionAndSize()
{
if (_mainForm == null || _mainForm.IsDisposed) return;
// 关键修复:在多屏幕环境下正确计算位置
this.Size = _mainForm.ClientSize;
this.Location = _mainForm.PointToScreen(new Point(0, 30));
// 确保水印在主窗体上方
if (_mainForm.WindowState != FormWindowState.Minimized)
{
//this.TopMost = true;
this.BringToFront();
}
// 强制重绘
this.Invalidate();
}
private void FrmWatermark_Paint(object sender, PaintEventArgs e)
{
try
{
Graphics graphics = e.Graphics;
StringFormat format = new StringFormat();
format.Alignment = StringAlignment.Center;
format.LineAlignment = StringAlignment.Center;
Pen pen = new Pen(Color.Red, 2f);
Font watermarkFont = new Font("宋体", 15, FontStyle.Bold);
Color color = Color.FromArgb(200, 200, 200);
//int alpha = 128; // 设置透明度为128(半透明)
//color = Color.FromArgb(alpha, color);
SolidBrush brush = new SolidBrush(color);
string content = ERPInfo.Instance.EmployeeName;
if (!string.IsNullOrWhiteSpace(WatermarkContent))
{
content = PubControl.GetDefaultValue(WatermarkContent, ERPInfo.Instance.EmployeeId + "", ERPInfo.Instance.EmployeeName);
}
if (!string.IsNullOrEmpty(content))
{
// 1. 测量文本实际尺寸
SizeF textSize = e.Graphics.MeasureString(content, watermarkFont);
// 2. 计算旋转角度和左侧预留空间
float rotationAngle = -30f; // 旋转角度
double radians = rotationAngle * Math.PI / 180; // 转换为弧度
// 计算旋转后文本左侧可能超出的最大距离
float leftOverlap = (float)(Math.Abs(textSize.Width * Math.Cos(radians)) / 2 +
Math.Abs(textSize.Height * Math.Sin(radians)) / 2);
// 3. 计算动态间距
int horizontalSpacing = (int)(textSize.Width * 1.5);
int verticalSpacing = (int)(textSize.Height * 2);
// 设置最小间距
horizontalSpacing = Math.Max(horizontalSpacing, 250);
verticalSpacing = Math.Max(verticalSpacing, 150);
// 4. 计算绘制区域(只限制左侧,不限制右侧)
int marginLeft = (int)leftOverlap; // 左侧预留空间,防止超出
int marginTop = 30; // 顶部基础边距
int marginBottom = 40; // 底部基础边距
int startX = marginLeft; // 起始X,确保左侧不超出
int startY = marginTop; // 起始Y
int maxY = this.Height - marginBottom; // 最大Y,避免底部超出
// 5. 绘制水印网格
for (int i = startY; i < maxY; i += verticalSpacing)
{
// 只限制左侧,右侧允许超出(不设置maxX)
for (int j = startX; j < this.Width + horizontalSpacing; j += horizontalSpacing)
{
var state = e.Graphics.Save();
e.Graphics.TranslateTransform(j, i);
e.Graphics.RotateTransform(rotationAngle);
Matrix mtxSave = graphics.Transform;
Matrix mtxRotate = graphics.Transform;
mtxRotate.RotateAt(0f, new PointF(0, 0));
graphics.Transform = mtxRotate;
graphics.DrawString(content, watermarkFont, brush, new PointF(0, 0), format);
// Reset the matrix
graphics.Transform = mtxSave;
e.Graphics.Restore(state);
}
}
}
e.Graphics.ResetTransform();
}
catch (Exception ex)
{
//MessageUtil.Show(Message, ex.Message);
}
}
/// <summary>
/// 鼠标穿透水印操作下方
/// </summary>
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x00000020; // 设置 WS_EX_TRANSPARENT 样式
return cp;
}
}
}
}
@@ -0,0 +1,493 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ApplicationIcon>a.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<TargetZone>LocalIntranet</TargetZone>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{421749FA-0343-4A18-A03D-11D84BD1FFD6}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Lskj.Main</RootNamespace>
<AssemblyName>Ls_ERP</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\publish\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="AutoUpdater">
<HintPath>E:\工作项目\朗速源代码(CS)\publish\AutoUpdater.dll</HintPath>
</Reference>
<Reference Include="DevExpress.Data.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>E:\工作项目\朗速源代码(CS)\publish\DevExpress.Data.v13.1.dll</HintPath>
</Reference>
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>E:\工作项目\朗速源代码(CS)\publish\DevExpress.Printing.v13.1.Core.dll</HintPath>
</Reference>
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>E:\工作项目\朗速源代码(CS)\publish\DevExpress.Utils.v13.1.dll</HintPath>
</Reference>
<Reference Include="DevExpress.XtraBars.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>E:\工作项目\朗速源代码(CS)\publish\DevExpress.XtraBars.v13.1.dll</HintPath>
</Reference>
<Reference Include="DevExpress.XtraCharts.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraCharts.v13.1.UI, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraEditors.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>E:\工作项目\朗速源代码(CS)\publish\DevExpress.XtraEditors.v13.1.dll</HintPath>
</Reference>
<Reference Include="DevExpress.XtraGrid.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraLayout.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\publish\DevExpress.XtraLayout.v13.1.dll</HintPath>
</Reference>
<Reference Include="DevExpress.XtraPrinting.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="Dxper.LocalizationCHS.Win.v13.1.5, Version=13.1.5.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\Dxper.LocalizationCHS.Win.v13.1.5.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Utils">
<HintPath>..\..\..\引用DLL\Utils.dll</HintPath>
</Reference>
<Reference Include="Xilium.CefGlue, Version=87.1.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\Xilium.CefGlue.dll</HintPath>
</Reference>
<Reference Include="Xilium.CefGlue.WindowsForms, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\Xilium.CefGlue.WindowsForms.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="App_Code\FrmLoginBase.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="App_Code\FrmLoginBase.designer.cs">
<DependentUpon>FrmLoginBase.cs</DependentUpon>
</Compile>
<Compile Include="App_Code\ModuleManager.cs" />
<Compile Include="App_Code\ServerTimer.cs" />
<Compile Include="BitMapHelper.cs" />
<Compile Include="CHS\XtraEditorsHanization.cs" />
<Compile Include="ClientMain.cs" />
<Compile Include="CustomProfessionalRenderer.cs" />
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="FrmMain2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain2.Designer.cs">
<DependentUpon>FrmMain2.cs</DependentUpon>
</Compile>
<Compile Include="FrmProgressBar.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmProgressBar.Designer.cs">
<DependentUpon>FrmProgressBar.cs</DependentUpon>
</Compile>
<Compile Include="FrmSetDesktop.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmSetDesktop.Designer.cs">
<DependentUpon>FrmSetDesktop.cs</DependentUpon>
</Compile>
<Compile Include="FrmWatermark.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmWatermark.Designer.cs">
<DependentUpon>FrmWatermark.cs</DependentUpon>
</Compile>
<Compile Include="main2\TreeNodeCustom.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="main2\TreeNodeCustom.designer.cs">
<DependentUpon>TreeNodeCustom.cs</DependentUpon>
</Compile>
<Compile Include="main2\TreeViewCustom.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="main2\TreeViewCustom.designer.cs">
<DependentUpon>TreeViewCustom.cs</DependentUpon>
</Compile>
<Compile Include="main\FrmChangePwd.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="main\FrmChangePwd.Designer.cs">
<DependentUpon>FrmChangePwd.cs</DependentUpon>
</Compile>
<Compile Include="main\FrmLogin.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="main\FrmLogin.Designer.cs">
<DependentUpon>FrmLogin.cs</DependentUpon>
</Compile>
<Compile Include="main\FrmSubSystem.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="main\FrmSubSystem.Designer.cs">
<DependentUpon>FrmSubSystem.cs</DependentUpon>
</Compile>
<Compile Include="main\FrmUpdatePassword.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="main\FrmUpdatePassword.Designer.cs">
<DependentUpon>FrmUpdatePassword.cs</DependentUpon>
</Compile>
<Compile Include="main\FrmWindow.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="main\FrmWindow.Designer.cs">
<DependentUpon>FrmWindow.cs</DependentUpon>
</Compile>
<Compile Include="main\FrmLogin_1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="main\FrmLogin_1.Designer.cs">
<DependentUpon>FrmLogin_1.cs</DependentUpon>
</Compile>
<Compile Include="Menu_Item.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Menu_Item.designer.cs">
<DependentUpon>Menu_Item.cs</DependentUpon>
</Compile>
<Compile Include="Menu_Item_Button.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Menu_Item_Button.designer.cs">
<DependentUpon>Menu_Item_Button.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SubItemForm.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="SubItemForm.Designer.cs">
<DependentUpon>SubItemForm.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmAbount.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmAbount.Designer.cs">
<DependentUpon>FrmAbount.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmConfig.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmConfig.Designer.cs">
<DependentUpon>FrmConfig.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmConfigLocal.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmConfigLocal.Designer.cs">
<DependentUpon>FrmConfigLocal.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmConfigSet.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmConfigSet.Designer.cs">
<DependentUpon>FrmConfigSet.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmDownLoad.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmDownLoad.Designer.cs">
<DependentUpon>FrmDownLoad.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmHistoryMessage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmHistoryMessage.Designer.cs">
<DependentUpon>FrmHistoryMessage.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmMessage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmMessage.Designer.cs">
<DependentUpon>FrmMessage.cs</DependentUpon>
</Compile>
<Compile Include="sub\FrmRelogin.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="sub\FrmRelogin.Designer.cs">
<DependentUpon>FrmRelogin.cs</DependentUpon>
</Compile>
<Compile Include="Sub_Item.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Sub_Item.designer.cs">
<DependentUpon>Sub_Item.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="App_Code\FrmLoginBase.resx">
<DependentUpon>FrmLoginBase.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FrmMain2.resx">
<DependentUpon>FrmMain2.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FrmProgressBar.resx">
<DependentUpon>FrmProgressBar.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmSetDesktop.resx">
<DependentUpon>FrmSetDesktop.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="main2\TreeNodeCustom.resx">
<DependentUpon>TreeNodeCustom.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="main2\TreeViewCustom.resx">
<DependentUpon>TreeViewCustom.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="main\FrmChangePwd.resx">
<DependentUpon>FrmChangePwd.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="main\FrmLogin.resx">
<DependentUpon>FrmLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="main\FrmSubSystem.resx">
<DependentUpon>FrmSubSystem.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="main\FrmUpdatePassword.resx">
<DependentUpon>FrmUpdatePassword.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="main\FrmWindow.resx">
<DependentUpon>FrmWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="main\FrmLogin_1.resx">
<DependentUpon>FrmLogin_1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Menu_Item.resx">
<DependentUpon>Menu_Item.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Menu_Item_Button.resx">
<DependentUpon>Menu_Item_Button.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="SubItemForm.resx">
<DependentUpon>SubItemForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmAbount.resx">
<DependentUpon>FrmAbount.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmConfig.resx">
<DependentUpon>FrmConfig.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmConfigLocal.resx">
<DependentUpon>FrmConfigLocal.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmConfigSet.resx">
<DependentUpon>FrmConfigSet.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmDownLoad.resx">
<DependentUpon>FrmDownLoad.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmHistoryMessage.resx">
<DependentUpon>FrmHistoryMessage.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmMessage.resx">
<DependentUpon>FrmMessage.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sub\FrmRelogin.resx">
<DependentUpon>FrmRelogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sub_Item.resx">
<DependentUpon>Sub_Item.cs</DependentUpon>
</EmbeddedResource>
<None Include="AutoUpdater.Config" />
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="a.ico" />
<None Include="Resources\222.png" />
<None Include="Resources\11.png" />
<None Include="Resources\拜城登录界面修改画布账套最终版蓝色.png" />
<None Include="Resources\拜城登录界面修改画布账套最终版蓝色_03.png" />
<None Include="Resources\拜城登录界面修改画布账套绿色_03.png" />
<None Include="Resources\拜城登录界面修改画布1.jpg" />
<None Include="Resources\引导页psd.jpg" />
<None Include="Resources\拜城登录界面修改画布.jpg" />
<None Include="Resources\logo_sm.png" />
<None Include="Resources\node2_move.png" />
<None Include="Resources\node2_default_move.png" />
<None Include="Resources\node2_default.png" />
<None Include="Resources\node2_child_move.png" />
<None Include="Resources\node2_chaild_select.png" />
<None Include="Resources\node3_select.png" />
<None Include="Resources\node3_move.png" />
<None Include="Resources\node3_default.png" />
<None Include="Resources\login.png" />
<None Include="Resources\node2_select.png" />
<None Include="Resources\node_select.png" />
<None Include="Resources\node_move.png" />
<None Include="Resources\node_default.png" />
<None Include="Resources\设置.png" />
<None Include="Resources\swapuser.png" />
<None Include="Resources\sub_btn_min.png" />
<None Include="Resources\sub_btn_min_select.png" />
<None Include="Resources\sub_scl.png" />
<None Include="Resources\arrows.png" />
<None Include="Resources\backup.png" />
<None Include="Resources\close_default.png" />
<None Include="Resources\close_select.png" />
<None Include="Resources\left_default.png" />
<None Include="Resources\left_select.png" />
<None Include="Resources\login_btn.png" />
<None Include="Resources\login_btn_select.png" />
<None Include="Resources\login_close_default.png" />
<None Include="Resources\login_close_select.png" />
<None Include="Resources\logo.png" />
<None Include="Resources\max_default.png" />
<None Include="Resources\max_select.png" />
<None Include="Resources\menu_default_1.png" />
<None Include="Resources\menu_default_2.png" />
<None Include="Resources\menu_default_3.png" />
<None Include="Resources\menu_default_4.png" />
<None Include="Resources\right.png" />
<None Include="Resources\search_default.png" />
<None Include="Resources\search_select.png" />
<None Include="Resources\setting.png" />
<None Include="Resources\smail_default.png" />
<None Include="Resources\smail_select.png" />
<None Include="Resources\split.png" />
<None Include="Resources\sub_add.png" />
<None Include="Resources\sub_backgroud.png" />
<None Include="Resources\sub_btn_default.png" />
<None Include="Resources\sub_btn_select.png" />
<None Include="Resources\sub_cggl.png" />
<None Include="Resources\sub_gdzc.png" />
<None Include="Resources\sub_khgl.png" />
<None Include="Resources\sub_khgx.png" />
<None Include="Resources\sub_page_default.png" />
<None Include="Resources\sub_page_hover.png" />
<None Include="Resources\sub_page_select.png" />
<None Include="Resources\sub_pzjk.png" />
<None Include="Resources\sub_scgx.png" />
<None Include="Resources\sub_sczw.png" />
<None Include="Resources\sub_tip_backgound.png" />
<None Include="Resources\tab_bg.png" />
<None Include="Resources\tab_default.png" />
<None Include="Resources\tab_select.png" />
<None Include="Resources\user.png" />
<None Include="Resources\version.png" />
<None Include="Resources\window_default.png" />
<None Include="Resources\window_select.png" />
<None Include="Resources\默认图标.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\CommonLib\CommonLib.csproj">
<Project>{3E8E6529-5D8A-4F17-8C41-27CD7380178D}</Project>
<Name>CommonLib</Name>
</ProjectReference>
<ProjectReference Include="..\..\ControlLib\ControlLib.csproj">
<Project>{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}</Project>
<Name>ControlLib</Name>
</ProjectReference>
<ProjectReference Include="..\..\Lskj.Common\Lskj.Common.csproj">
<Project>{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}</Project>
<Name>Lskj.Common</Name>
</ProjectReference>
<ProjectReference Include="..\..\Lskj.MyControl\Lskj.MyControl.csproj">
<Project>{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}</Project>
<Name>Lskj.MyControl</Name>
</ProjectReference>
<ProjectReference Include="..\..\Lskj.PubUtils\Lskj.PubUtils.csproj">
<Project>{752386CB-FD63-4565-980F-E8F72A520F77}</Project>
<Name>Lskj.PubUtils</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!--添加大内存处理-->
<PropertyGroup>
<EditBinExe Condition="'$(EditBinExe)' == '' and Exists('$(VSINSTALLDIR)VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\editbin.exe')">$(VSINSTALLDIR)VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\editbin.exe</EditBinExe>
<EditBinExe Condition="'$(EditBinExe)' == '' and Exists('C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\editbin.exe')">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\editbin.exe</EditBinExe>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Condition="'$(EditBinExe)' != ''" Command="&quot;$(EditBinExe)&quot; /largeaddressaware &quot;$(TargetPath)&quot;" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
+85
View File
@@ -0,0 +1,85 @@
namespace Lskj.Main
{
partial class Menu_Item
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.btn_item_img = new System.Windows.Forms.Button();
this.toolTip1 = new System.Windows.Forms.ToolTip();
this.btn_item_title = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// btn_item_img
//
this.btn_item_img.BackColor = System.Drawing.Color.Transparent;
this.btn_item_img.BackgroundImage = global::Lskj.Main.Properties.Resources.menu_default_1;
this.btn_item_img.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btn_item_img.FlatAppearance.BorderSize = 0;
this.btn_item_img.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btn_item_img.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btn_item_img.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_item_img.Location = new System.Drawing.Point(20, 11);
this.btn_item_img.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btn_item_img.Name = "btn_item_img";
this.btn_item_img.Size = new System.Drawing.Size(107, 100);
this.btn_item_img.TabIndex = 0;
this.btn_item_img.UseVisualStyleBackColor = false;
this.btn_item_img.MouseLeave += new System.EventHandler(this.btn_item_img_MouseLeave);
this.btn_item_img.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btn_item_img_MouseMove);
//
// btn_item_title
//
this.btn_item_title.Location = new System.Drawing.Point(0, 119);
this.btn_item_title.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.btn_item_title.Name = "btn_item_title";
this.btn_item_title.Size = new System.Drawing.Size(147, 36);
this.btn_item_title.TabIndex = 1;
this.btn_item_title.Text = "采购请购单审核";
this.btn_item_title.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// Menu_Item
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.Controls.Add(this.btn_item_title);
this.Controls.Add(this.btn_item_img);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "Menu_Item";
this.Size = new System.Drawing.Size(147, 159);
this.Paint += new System.Windows.Forms.PaintEventHandler(this.Menu_Item_Paint);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button btn_item_img;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.Label btn_item_title;
}
}
+131
View File
@@ -0,0 +1,131 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lskj.Main
{
public partial class Menu_Item : UserControl
{
private Image defaultImg, hoverImg;
/// <summary>
/// 所在行数
/// </summary>
public int menuRow;
/// <summary>
/// 所在子菜单
/// </summary>
public string menuNode;
public Menu_Item()
{
InitializeComponent();
}
public Button GetButton()
{
return this.btn_item_img;
}
/// <summary>
/// 设置模块显示名称
/// </summary>
public void SetMenuCaption(string text)
{
this.btn_item_title.Text = text;
this.toolTip1.SetToolTip(this.btn_item_title, text);
}
/// <summary>
/// 设置背景图标
/// </summary>
/// <param name="img"></param>
public void SetMenuImg(Image img)
{
this.defaultImg = img;
this.btn_item_img.BackgroundImage = img;
this.btn_item_img.BackgroundImageLayout = ImageLayout.Center;
}
/// <summary>
/// 设置选中背景图标
/// </summary>
/// <param name="img"></param>
public void SetMenuHoverImg(Image img)
{
this.hoverImg = img;
}
/// <summary>
/// 选中背景图片
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btn_item_img_MouseMove(object sender, MouseEventArgs e)
{
//(sender as Button).BackgroundImage = hoverImg;
//(sender as Button).BackgroundImageLayout = ImageLayout.Center;
this.BackColor = Color.White;
this.Cursor = Cursors.Hand;
}
/// <summary>
/// 还原背景
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btn_item_img_MouseLeave(object sender, EventArgs e)
{
//(sender as Button).BackgroundImage = defaultImg;
this.BackColor = Color.FromArgb(240, 240, 240);
}
// 圆角
// ===============================================================================================
private int _Radius; // 圆角弧度
/// <summary>圆角弧度(0为不要圆角)</summary>
[Browsable(true)]
[Description("圆角弧度(0为不要圆角)")]
public int SetRoundRadius
{
get
{
return _Radius;
}
set
{
if (value < 0) { _Radius = 0; }
else { _Radius = value; }
base.Refresh();
}
}
/// <summary>
/// 重绘圆角
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Menu_Item_Paint(object sender, PaintEventArgs e)
{
System.Drawing.Drawing2D.GraphicsPath oPath = new System.Drawing.Drawing2D.GraphicsPath();
int x = 0;
int y = 0;
int thisWidth = this.Width;
int thisHeight = this.Height;
int angle = _Radius;
if (angle > 0)
{
System.Drawing.Graphics g = CreateGraphics();
oPath.AddArc(x, y, angle, angle, 180, 90); // 左上角
oPath.AddArc(thisWidth - angle, y, angle, angle, 270, 90); // 右上角
oPath.AddArc(thisWidth - angle, thisHeight - angle, angle, angle, 0, 90); // 右下角
oPath.AddArc(x, thisHeight - angle, angle, angle, 90, 90); // 左下角
oPath.CloseAllFigures();
Region = new System.Drawing.Region(oPath);
}
}
}
}
@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="btn_item_img.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -0,0 +1,71 @@
namespace Lskj.Main
{
partial class Menu_Item_Button
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Menu_Item_Button));
this.btnDesktop = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// btnDesktop
//
this.btnDesktop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(142)))), ((int)(((byte)(216)))));
this.btnDesktop.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnDesktop.BackgroundImage")));
this.btnDesktop.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnDesktop.FlatAppearance.BorderSize = 0;
this.btnDesktop.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.btnDesktop.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.btnDesktop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnDesktop.Font = new System.Drawing.Font("宋体", 10F);
this.btnDesktop.ForeColor = System.Drawing.Color.White;
this.btnDesktop.Location = new System.Drawing.Point(3, 2);
this.btnDesktop.Name = "btnDesktop";
this.btnDesktop.Padding = new System.Windows.Forms.Padding(20, 3, 3, 3);
this.btnDesktop.Size = new System.Drawing.Size(136, 45);
this.btnDesktop.TabIndex = 8;
this.btnDesktop.Text = "我的桌面";
this.btnDesktop.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnDesktop.UseVisualStyleBackColor = false;
//
// Menu_Item_Button
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Transparent;
this.Controls.Add(this.btnDesktop);
this.Name = "Menu_Item_Button";
this.Size = new System.Drawing.Size(142, 50);
this.ResumeLayout(false);
}
#endregion
public System.Windows.Forms.Button btnDesktop;
}
}
@@ -0,0 +1,119 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Lskj.Main.Properties;
namespace Lskj.Main
{
/// <summary>
/// 菜单按钮
/// </summary>
public partial class Menu_Item_Button : UserControl
{
private static Button defaultButton;
private ButtonHoverEventHandler hoverEvent;
public delegate void ButtonHoverEventHandler(Button before, Button after);
public Menu_Item_Button()
{
InitializeComponent();
}
/// <summary>
/// 设置默认选中的Button
/// </summary>
public void SetDefaultSelectMenu(Menu_Item_Button item)
{
defaultButton = item.btnDesktop;
}
/// <summary>
/// 设置按钮状态
/// </summary>
/// <param name="state"></param>
public void SetButtonState(MenuButtonState state)
{
switch (state)
{
case MenuButtonState.defaultState:
this.btnDesktop.BackgroundImage = Resources.left_default;
break;
case MenuButtonState.selectState:
this.btnDesktop.BackgroundImage = Resources.left_select;
break;
}
}
/// <summary>
/// 注册设置事件
/// </summary>
/// <param name="hoverEvent"></param>
public void SetHoverEvent(ButtonHoverEventHandler hoverEvent,MenuEventType eventType)
{
this.hoverEvent = hoverEvent;
switch (eventType)
{
case MenuEventType.MouseClickEvent:
this.btnDesktop.MouseMove += new MouseEventHandler(btnDesktop_MouseMove);
this.btnDesktop.MouseClick += new MouseEventHandler(this.btnDesktio_MouseEvent);
break;
case MenuEventType.MouseHoverEvent:
default:
this.btnDesktop.MouseMove += new MouseEventHandler(this.btnDesktio_MouseEvent);
break;
}
}
public Button GetButton()
{
return this.btnDesktop;
}
private void btnDesktop_MouseMove(object sender, MouseEventArgs e)
{
this.Cursor = Cursors.Hand;
}
/// <summary>
/// 切换菜单
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnDesktio_MouseEvent(object sender, MouseEventArgs e)
{
Button button = sender as Button;
if (button != null)
{
if (defaultButton != null)
defaultButton.BackgroundImage = Resources.left_default;
button.BackgroundImage = Resources.left_select;
}
if (defaultButton != button)
{
if (hoverEvent != null)
{
this.hoverEvent(defaultButton, button);
}
defaultButton = button;
}
}
}
public enum MenuButtonState
{
defaultState,
selectState
}
public enum MenuEventType
{
MouseHoverEvent = 0,
MouseClickEvent = 1
}
}
@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnDesktop.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAIIAAAAvCAYAAAAvgRLNAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEBSURBVHhe7dihSkRBGIbhCV6SiFbTegniVdiNZt0t
gmY1isli0m4xKbtgEQWDXsLIfmCbds7COesTnjR/fPmZmbJ58lJBCIQQCCEQQiCEQAiBEAIhBEIIhBAI
IRBCIIRACIEQAiEEQgiEEIjOIUzOF/Xw9r1unbbPGYfOIexdLOrN80+dPnzV3bN5c4bh6y2Epaun73pw
+dacY9h6DeHP0d1H3Z6+NucZppWEsHR8/9mcZ5hWthF2ZjbCmPQawrU7wmj1FsLs0athzDqH4B9hPXQO
gfUgBEIIhBAIIRBCIIRACIEQAiEEQgiEEAghEEIghEAIgRACIQSibJSyz39Xyi/35fd5AzdXNAAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
+247
View File
@@ -0,0 +1,247 @@
using CommonLib;
using Lskj.Main.main;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Windows.Forms;
using Xilium.CefGlue;
using System.Reflection;
namespace Lskj.Main
{
public abstract class SingleInstance
{
[DllImport("Kernel32.dll", CharSet = CharSet.Auto)]
private static extern IntPtr OpenMutex(
uint dwDesiredAccess, // access
int bInheritHandle, // inheritance option
string lpName // object name
);
[DllImport("Kernel32.dll", CharSet = CharSet.Auto)]
private static extern IntPtr CreateMutex(
IntPtr lpMutexAttributes, // SD
int bInitialOwner, // initial owner
string lpName // object name
);
/// <summary>
/// 用来判断一个程序是否已经运行
/// </summary>
/// <param name="appId">程序名称,防止重复</param>
/// <returns>如果程序第一次运行True,否则返回False</returns>
public static bool IsFirst(string appId)
{
bool ret = false;
if (OpenMutex(0x1F0001, 0, appId) == IntPtr.Zero)
{
CreateMutex(IntPtr.Zero, 0, appId);
ret = true;
}
return ret;
}
}
#region
/// <summary>
/// <para>说明:浏览器处理类</para>
/// <para>创建人:唐德馨</para>
/// <para>创建日期:2022-1-26 </para>
/// <para>修改人:</para>
/// <para>修改日期:</para>
/// <para>修改备注:</para>
/// <para>版本:1.0</para>
internal sealed class DemoCefApp : CefApp
{
protected override void OnBeforeCommandLineProcessing(string processType, CefCommandLine commandLine)
{
Console.WriteLine("OnBeforeCommandLineProcessing: {0} {1}", processType, commandLine);
// TODO: currently on linux platform location of locales and pack files are determined
// incorrectly (relative to main module instead of libcef.so module).
// Once issue http://code.google.com/p/chromiumembedded/issues/detail?id=668 will be resolved
// this code can be removed.
if (CefRuntime.Platform == CefRuntimePlatform.Linux)
{
var path = new Uri(Assembly.GetEntryAssembly().CodeBase).LocalPath;
path = Path.GetDirectoryName(path);
commandLine.AppendSwitch("resources-dir-path", path);
commandLine.AppendSwitch("locales-dir-path", Path.Combine(path, "locales"));
//commandLine.AppendSwitch("ppapi-flash-version", "19.0.0.185");
//commandLine.AppendSwitch("ppapi-flash-path", @"PepperFlash\pepflashplayer.dll");
}
}
}
#endregion
static class Program
{
public static Bitmap m_bitMain = null;
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
CefRuntime.Load();//cef浏览器模块设置加载
string[] args = new string[0];
var mainArgs = new CefMainArgs(args);
var app = new DemoCefApp();
var settings = new CefSettings
{
MultiThreadedMessageLoop = true,
LogSeverity = CefLogSeverity.Disable,
LogFile = "CefGlue.log",
Locale = "zh-CN"
};
try
{
var Code = CefRuntime.ExecuteProcess(mainArgs, app, IntPtr.Zero);
Console.WriteLine("CefRuntime.ExecuteProcess() returns {0}", Code);
}
catch (Exception ex)
{
}
CefRuntime.Initialize(mainArgs, settings, app, IntPtr.Zero);
/*
if (!SingleInstance.IsFirst("lserp30_instance"))
{
MessageBox.Show("程序已经在运行!", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning);
return;
}
*/
//处理未捕获的异常
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
//处理UI线程异常
Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if (!settings.MultiThreadedMessageLoop)//消息循环
{
Application.Idle += (sender, e) => { CefRuntime.DoMessageLoopWork(); };
}
ClientMain.Instance.StartApp();
CefRuntime.Shutdown();
}
/// <summary>
///这就是我们要在发生未处理异常时处理的方法,我这是写出错详细信息到文本,如出错后弹出一个漂亮的出错提示窗体,给大家做个参考
///做法很多,可以是把出错详细信息记录到文本、数据库,发送出错邮件到作者信箱或出错后重新初始化等等
///这就是仁者见仁智者见智,大家自己做了。
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
{
try
{
//string str = "";
//string strDateInfo = "出现应用程序未处理的异常:" + DateTime.Now.ToString() + "\r\n";
//Exception error = e.Exception as Exception;
//if (error != null)
//{
// str = string.Format(strDateInfo + "异常类型:{0}\r\n异常消息:{1}\r\n异常信息:{2}\r\n",
// error.GetType().Name, error.Message, error.StackTrace);
//}
//else
//{
// str = string.Format("应用程序线程错误:{0}", e);
//}
//MessageBox.Show("发生致命错误,请及时联系作者![" + str + "]", "系统错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
string str = "";
string strDateInfo = "出现应用程序未处理的异常:" + DateTime.Now.ToString() + "\r\n";
Exception error = e.Exception as Exception;
if (error != null)
{
str = string.Format(strDateInfo + "异常类型:{0}\r\n异常消息:{1}\r\n异常信息:{2}\r\n",
error.GetType().Name, error.Message, error.StackTrace);
//str = string.Format(strDateInfo + "异常类型:{0}\r\n异常消息:{1}",
// error.GetType().Name, error.Message);
}
else
{
str = string.Format("应用程序线程错误:{0}", e);
}
writeLog(str);
}
catch (Exception)
{
}
//if (DBConfig.Instance.Debug == "0")
//{
// MessageBox.Show("配置错误,请联系管理员.\r\n"+str);
//}
//else
//{
// MessageBox.Show("发生错误,请及时联系作者![" + str + "]", "系统错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
//}
}
static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
//string str = "";
//Exception error = e.ExceptionObject as Exception;
//string strDateInfo = "出现应用程序未处理的异常:" + DateTime.Now.ToString() + "\r\n";
//if (error != null)
//{
// str = string.Format(strDateInfo + "Application UnhandledException:{0};\n\r堆栈信息:{1}", error.Message, error.StackTrace);
//}
//else
//{
// str = string.Format("Application UnhandledError:{0}", e);
//}
//MessageBox.Show("发生致命错误,请停止当前操作并及时联系作者![" + str + "]", "系统错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
string str = "";
Exception error = e.ExceptionObject as Exception;
string strDateInfo = "出现应用程序未处理的异常:" + DateTime.Now.ToString() + "\r\n";
if (error != null)
{
str = string.Format(strDateInfo + "Application UnhandledException:{0};\n\r堆栈信息:{1}", error.Message, error.StackTrace);
str = string.Format(strDateInfo + "Application UnhandledException:{0}", error.Message);
}
else
{
str = string.Format("Application UnhandledError:{0}", e);
}
writeLog(str);
if (DBConfig.Instance.Debug == "0")
{
MessageBox.Show("配置错误,请联系管理员.");
}
else
{
MessageBox.Show("发生错误,请停止当前操作并及时联系作者![" + error.StackTrace+ "]", "系统错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
/// <summary>
/// 写文件
/// </summary>
/// <param name="str"></param>
static void writeLog(string str)
{
if (!Directory.Exists("ErrLog"))
{
Directory.CreateDirectory("ErrLog");
}
using (StreamWriter sw = new StreamWriter(@"ErrLog\ErrLog.txt", true))
{
sw.WriteLine(str);
sw.WriteLine("---------------------------------------------------------");
sw.Close();
}
}
}
}
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Lskj.Main")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Lskj.Main")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 使此程序集中的类型
// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
// 则将该类型上的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("5662190f-aa58-4d19-8c61-fa7e35e3ad87")]
// 程序集的版本信息由下面四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.0.0")]
[assembly: AssemblyFileVersion("5.0.0.0")]
@@ -0,0 +1,733 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Lskj.Main.Properties {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// 返回此类使用的缓存的 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Lskj.Main.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 使用此强类型资源类,为所有资源查找
/// 重写当前线程的 CurrentUICulture 属性。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap arrows {
get {
object obj = ResourceManager.GetObject("arrows", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap backup {
get {
object obj = ResourceManager.GetObject("backup", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap close_default {
get {
object obj = ResourceManager.GetObject("close_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap close_select {
get {
object obj = ResourceManager.GetObject("close_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap default_icon {
get {
object obj = ResourceManager.GetObject("default_icon", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap icon_setting {
get {
object obj = ResourceManager.GetObject("icon_setting", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap left_default {
get {
object obj = ResourceManager.GetObject("left_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap left_select {
get {
object obj = ResourceManager.GetObject("left_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login {
get {
object obj = ResourceManager.GetObject("login", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login_1 {
get {
object obj = ResourceManager.GetObject("login_1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login_btn {
get {
object obj = ResourceManager.GetObject("login_btn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login_btn_1 {
get {
object obj = ResourceManager.GetObject("login_btn_1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login_btn_1_select {
get {
object obj = ResourceManager.GetObject("login_btn_1_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login_btn_select {
get {
object obj = ResourceManager.GetObject("login_btn_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login_close_default {
get {
object obj = ResourceManager.GetObject("login_close_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap login_close_select {
get {
object obj = ResourceManager.GetObject("login_close_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap logo {
get {
object obj = ResourceManager.GetObject("logo", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap logo_sm {
get {
object obj = ResourceManager.GetObject("logo_sm", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap max_default {
get {
object obj = ResourceManager.GetObject("max_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap max_select {
get {
object obj = ResourceManager.GetObject("max_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap menu_default_1 {
get {
object obj = ResourceManager.GetObject("menu_default_1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap menu_default_2 {
get {
object obj = ResourceManager.GetObject("menu_default_2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap menu_default_3 {
get {
object obj = ResourceManager.GetObject("menu_default_3", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap menu_default_4 {
get {
object obj = ResourceManager.GetObject("menu_default_4", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node_default {
get {
object obj = ResourceManager.GetObject("node_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node_move {
get {
object obj = ResourceManager.GetObject("node_move", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node_select {
get {
object obj = ResourceManager.GetObject("node_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node2_default {
get {
object obj = ResourceManager.GetObject("node2_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node2_move {
get {
object obj = ResourceManager.GetObject("node2_move", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node2_select {
get {
object obj = ResourceManager.GetObject("node2_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node3_default {
get {
object obj = ResourceManager.GetObject("node3_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node3_move {
get {
object obj = ResourceManager.GetObject("node3_move", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap node3_select {
get {
object obj = ResourceManager.GetObject("node3_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap right {
get {
object obj = ResourceManager.GetObject("right", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap search_default {
get {
object obj = ResourceManager.GetObject("search_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap search_select {
get {
object obj = ResourceManager.GetObject("search_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap setting {
get {
object obj = ResourceManager.GetObject("setting", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap smail_default {
get {
object obj = ResourceManager.GetObject("smail_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap smail_select {
get {
object obj = ResourceManager.GetObject("smail_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap split {
get {
object obj = ResourceManager.GetObject("split", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_add {
get {
object obj = ResourceManager.GetObject("sub_add", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_backgroud {
get {
object obj = ResourceManager.GetObject("sub_backgroud", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_bakground_xj {
get {
object obj = ResourceManager.GetObject("sub_bakground_xj", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_btn_default {
get {
object obj = ResourceManager.GetObject("sub_btn_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_btn_min {
get {
object obj = ResourceManager.GetObject("sub_btn_min", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_btn_min_select {
get {
object obj = ResourceManager.GetObject("sub_btn_min_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_btn_select {
get {
object obj = ResourceManager.GetObject("sub_btn_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_cggl {
get {
object obj = ResourceManager.GetObject("sub_cggl", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_gdzc {
get {
object obj = ResourceManager.GetObject("sub_gdzc", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_khgl {
get {
object obj = ResourceManager.GetObject("sub_khgl", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_khgx {
get {
object obj = ResourceManager.GetObject("sub_khgx", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_page_default {
get {
object obj = ResourceManager.GetObject("sub_page_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_page_hover {
get {
object obj = ResourceManager.GetObject("sub_page_hover", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_page_select {
get {
object obj = ResourceManager.GetObject("sub_page_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_pzjk {
get {
object obj = ResourceManager.GetObject("sub_pzjk", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_scgx {
get {
object obj = ResourceManager.GetObject("sub_scgx", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_scl {
get {
object obj = ResourceManager.GetObject("sub_scl", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_sczw {
get {
object obj = ResourceManager.GetObject("sub_sczw", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap sub_tip_backgound {
get {
object obj = ResourceManager.GetObject("sub_tip_backgound", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap swapuser {
get {
object obj = ResourceManager.GetObject("swapuser", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap tab_bg {
get {
object obj = ResourceManager.GetObject("tab_bg", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap tab_default {
get {
object obj = ResourceManager.GetObject("tab_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap tab_select {
get {
object obj = ResourceManager.GetObject("tab_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap user {
get {
object obj = ResourceManager.GetObject("user", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap version {
get {
object obj = ResourceManager.GetObject("version", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap window_default {
get {
object obj = ResourceManager.GetObject("window_default", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap window_select {
get {
object obj = ResourceManager.GetObject("window_select", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}
@@ -0,0 +1,322 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="search_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\search_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="setting" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="max_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\max_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_btn_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_btn_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node3_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node3_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="close_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\close_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="right" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_page_hover" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_page_hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="left_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\left_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="menu_default_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\menu_default_1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="search_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\search_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node2_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node2_default_move.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_pzjk" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_pzjk.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_tip_backgound" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_tip_backgound.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="window_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\window_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icon_setting" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\设置.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_btn_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_btn_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="window_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\window_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login_btn" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\login_btn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_page_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_page_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_btn_min" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_btn_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="close_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\close_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login_close_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\login_close_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node2_move" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node2_child_move.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="backup" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\backup.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="tab_bg" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\tab_bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="menu_default_3" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\menu_default_3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="tab_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\tab_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="tab_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\tab_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="version" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\version.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="default_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\默认图标.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login_btn_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\login_btn_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="left_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\left_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node3_move" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node3_move.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_scgx" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_scgx.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="split" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\split.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_khgl" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_khgl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="max_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\max_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_btn_min_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_btn_min_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_bakground_xj" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\引导页psd.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_page_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_page_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="arrows" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\arrows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login_close_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\login_close_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_cggl" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_cggl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="smail_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\smail_default.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node_move" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node_move.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="logo_sm" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\logo_sm.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="smail_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\smail_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_backgroud" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_backgroud.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node3_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node3_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="node2_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\node2_chaild_select.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_scl" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_scl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="menu_default_4" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\menu_default_4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="swapuser" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\swapuser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\login.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="user" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\user.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_sczw" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_sczw.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="menu_default_2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\menu_default_2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_gdzc" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_gdzc.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sub_khgx" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sub_khgx.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\拜城登录界面修改画布账套最终版蓝色.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login_btn_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\11.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login_btn_1_select" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\222.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.18408
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Lskj.Main.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 清单选项
如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
指定 requestedExecutionLevel 节点将会禁用文件和注册表虚拟化。
如果要利用文件和注册表虚拟化实现向后
兼容性,则删除 requestedExecutionLevel 节点。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
<applicationRequestMinimum>
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" SameSite="site" Unrestricted="true" />
</applicationRequestMinimum>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- 此应用程序设计使用的所有 Windows 版本的列表。Windows 将会自动选择最兼容的环境。-->
<!-- 如果应用程序设计使用 Windows 7,请取消注释以下 supportedOS 节点-->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
</application>
</compatibility>
<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
<!-- <dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>-->
</asmv1:assembly>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More