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
+342
View File
@@ -0,0 +1,342 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Report", "Lskj.Report\Lskj.Report.csproj", "{516750E8-FFF8-499F-B167-C2B781E70F35}"
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.PubModule", "..\Lskj.PubModule\Lskj.PubModule\Lskj.PubModule.csproj", "{EC847F73-0E0A-4828-9291-7195EF4C94DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModuleTD", "..\Lskj.PubPageDetail\Lskj.PubModuleTD\Lskj.PubModuleTD.csproj", "{DB68F0F2-2867-4669-B585-9C7834B10D9F}"
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.PubAdd2", "..\Lskj.Add2\Lskj.Add2\Lskj.PubAdd2.csproj", "{2F1171BB-1A05-4A12-9A38-02806DDEB598}"
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.MyControl", "..\Lskj.MyControl\Lskj.MyControl.csproj", "{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}"
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.PubPageDetail", "..\Lskj.PubPageDetail\Lskj.PubPageDetail\Lskj.PubPageDetail.csproj", "{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}"
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}") = "CommonLib", "..\..\..\..\V30_New\V30\LS_Main\ERP3.0\CommonLib\CommonLib.csproj", "{3E8E6529-5D8A-4F17-8C41-27CD7380178D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubChart", "..\Lskj.PubChart\Lskj.PubChart\Lskj.PubChart.csproj", "{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}"
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}") = "LskjCall", "..\CallDelphi\CallDelphi\LskjCall.csproj", "{2EAEC1AD-D988-4F51-A752-9839E6822E42}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ERPClient", "..\..\..\..\V30_New\V30\LS_Main\ERP3.0\ERPClient\ERPClient.csproj", "{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ControlLib", "..\ControlLib\ControlLib.csproj", "{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}"
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.Attachment", "..\Lskj.Attachment\Lskj.Attachment\Lskj.Attachment.csproj", "{DD095CE0-52F2-4798-805A-D545137D2871}"
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.PubBillDetail", "..\Lskj.PubBillDetail\Lskj.PubBillDetail\Lskj.PubBillDetail.csproj", "{69E3CA10-E11A-406D-95DC-93C0DC6A800B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.CmCapture", "..\Lskj.CmCapture\Lskj.CmCapture.csproj", "{78F10772-3B77-423D-92B8-BBFE064B4360}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|Win32 = Debug|Win32
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|Win32 = Release|Win32
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.Release|x86.ActiveCfg = Release|x86
{516750E8-FFF8-499F-B167-C2B781E70F35}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|x86.ActiveCfg = Release|x86
{3099E8AC-E422-4E31-968C-97BDFD082632}.Release|x86.Build.0 = Release|x86
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|x86.ActiveCfg = Release|x86
{EC847F73-0E0A-4828-9291-7195EF4C94DC}.Release|x86.Build.0 = Release|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Debug|Any CPU.ActiveCfg = Debug|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Debug|Mixed Platforms.Build.0 = Debug|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Debug|Win32.ActiveCfg = Debug|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Debug|x86.ActiveCfg = Debug|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Debug|x86.Build.0 = Debug|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Release|Any CPU.ActiveCfg = Release|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Release|Mixed Platforms.ActiveCfg = Release|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Release|Mixed Platforms.Build.0 = Release|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Release|Win32.ActiveCfg = Release|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.Release|x86.ActiveCfg = Release|x86
{DB68F0F2-2867-4669-B585-9C7834B10D9F}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.Release|x86.ActiveCfg = Release|x86
{BD50FF9A-A360-4F32-9E51-A280B34072CC}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.Release|x86.ActiveCfg = Release|x86
{2F1171BB-1A05-4A12-9A38-02806DDEB598}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Release|x86.ActiveCfg = Release|x86
{71CD67E1-8492-4E3C-B343-9FC48AB0E368}.Release|x86.Build.0 = Release|x86
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|Any CPU
{F6502012-9A7C-44AE-AAC6-DE2AD02F5C11}.Release|x86.ActiveCfg = Release|Any CPU
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|Any CPU
{DE7EFD7F-2DFE-4D50-A578-452A2DBFD088}.Release|x86.ActiveCfg = Release|Any CPU
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.Release|x86.ActiveCfg = Release|x86
{46FC1EB9-D7B4-482B-8477-5CAD6C64266A}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Release|x86.ActiveCfg = Release|x86
{6012FE1F-6848-46A4-B805-899D6ECE9C60}.Release|x86.Build.0 = Release|x86
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|Any CPU
{3E8E6529-5D8A-4F17-8C41-27CD7380178D}.Release|x86.ActiveCfg = Release|Any CPU
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|Any CPU.ActiveCfg = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|Mixed Platforms.Build.0 = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|Win32.ActiveCfg = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|x86.ActiveCfg = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Debug|x86.Build.0 = Debug|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|Any CPU.ActiveCfg = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|Mixed Platforms.ActiveCfg = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|Mixed Platforms.Build.0 = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|Win32.ActiveCfg = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.Release|x86.ActiveCfg = Release|x86
{59A02C1E-4B4D-4627-B9FA-C375DDC1BB10}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Release|x86.ActiveCfg = Release|x86
{C107C4A7-6C8F-4608-B53C-B56AD5E207AB}.Release|x86.Build.0 = Release|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Debug|Any CPU.ActiveCfg = Debug|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Debug|Mixed Platforms.Build.0 = Debug|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Debug|Win32.ActiveCfg = Debug|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Debug|x86.ActiveCfg = Debug|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Debug|x86.Build.0 = Debug|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Release|Any CPU.ActiveCfg = Release|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Release|Mixed Platforms.ActiveCfg = Release|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Release|Mixed Platforms.Build.0 = Release|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Release|Win32.ActiveCfg = Release|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Release|x86.ActiveCfg = Release|x86
{2EAEC1AD-D988-4F51-A752-9839E6822E42}.Release|x86.Build.0 = Release|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Debug|Any CPU.ActiveCfg = Debug|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Debug|Mixed Platforms.Build.0 = Debug|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Debug|Win32.ActiveCfg = Debug|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Debug|x86.ActiveCfg = Debug|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Debug|x86.Build.0 = Debug|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Release|Any CPU.ActiveCfg = Release|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Release|Mixed Platforms.ActiveCfg = Release|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Release|Mixed Platforms.Build.0 = Release|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Release|Win32.ActiveCfg = Release|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Release|x86.ActiveCfg = Release|x86
{1EA3BCE5-4F5F-4CED-AE84-8202B7257636}.Release|x86.Build.0 = Release|x86
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|Any CPU
{73C024E7-D9DC-44C3-BABC-2AA1544ECCF9}.Release|x86.ActiveCfg = Release|Any CPU
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|Any CPU
{752386CB-FD63-4565-980F-E8F72A520F77}.Release|x86.ActiveCfg = Release|Any CPU
{DD095CE0-52F2-4798-805A-D545137D2871}.Debug|Any CPU.ActiveCfg = Debug|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Debug|Mixed Platforms.Build.0 = Debug|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Debug|Win32.ActiveCfg = Debug|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Debug|x86.ActiveCfg = Debug|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Debug|x86.Build.0 = Debug|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Release|Any CPU.ActiveCfg = Release|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Release|Mixed Platforms.ActiveCfg = Release|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Release|Mixed Platforms.Build.0 = Release|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Release|Win32.ActiveCfg = Release|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Release|x86.ActiveCfg = Release|x86
{DD095CE0-52F2-4798-805A-D545137D2871}.Release|x86.Build.0 = Release|x86
{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|Win32.ActiveCfg = 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|Win32.ActiveCfg = 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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.Release|x86.ActiveCfg = Release|x86
{781A5A97-921F-40F7-990A-42200E88204F}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.Release|x86.ActiveCfg = Release|x86
{69E3CA10-E11A-406D-95DC-93C0DC6A800B}.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|Win32.ActiveCfg = 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|Win32.ActiveCfg = Release|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Release|x86.ActiveCfg = Release|x86
{78F10772-3B77-423D-92B8-BBFE064B4360}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,152 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommonLib;
using CommonLib.utils;
using System.Windows.Forms;
using Lskj.PubModule;
using Lskj.Report;
using System.Data;
using CommonLib.data;
namespace Lskj.PubModule
{
/// <summary>
/// c#库被调用统一接口类
/// </summary>
public sealed class DllBaseClass : IForm
{
public DllBaseClass()
{
}
//以数组传入参数,容易扩展
public DllBaseClass(string[] obj)
{
FormClass(obj);
}
public void FormClass(params string[] obj)
{
try
{
string menuId = obj.Length > 6 ? obj[6] : obj[4];
if (hasBandedForm(menuId))
{
FrmBandedMain _FrmMain = new FrmBandedMain();
SubForm = _FrmMain;
_FrmMain.FormText = obj[0];
_FrmMain.OperatorId = obj[1];
_FrmMain.OperatorName = obj[2];
_FrmMain.Privilege = obj[3];
_FrmMain.DLLCoid = obj[4];
_FrmMain.ModuleId = obj[5];
if (obj.Length > 6)
_FrmMain.ModuleDllId = obj[6];
int lAutoQuery = 0;
_FrmMain.AutoQuery = 0;
if (obj.Length > 7)
{
if (int.TryParse(obj[7].ToString(), out lAutoQuery) == true)
{
_FrmMain.AutoQuery = lAutoQuery;
}
}
//
_FrmMain.Params = new string[10];
for (int i = 8; i < obj.Length; i++)
{
_FrmMain.Params[i - 8] = obj[i];
}
}
else if (hasTreeListForm(menuId))
{
FrmTreeListMain _FrmMain = new FrmTreeListMain();
SubForm = _FrmMain;
_FrmMain.FormText = obj[0];
_FrmMain.OperatorId = obj[1];
_FrmMain.OperatorName = obj[2];
_FrmMain.Privilege = obj[3];
_FrmMain.DLLCoid = obj[4];
_FrmMain.ModuleId = obj[5];
if (obj.Length > 6)
_FrmMain.ModuleDllId = obj[6];
int lAutoQuery = 0;
_FrmMain.AutoQuery = 0;
if (obj.Length > 7)
{
if (int.TryParse(obj[7].ToString(), out lAutoQuery) == true)
{
_FrmMain.AutoQuery = lAutoQuery;
}
}
//
_FrmMain.Params = new string[10];
for (int i = 8; i < obj.Length; i++)
{
_FrmMain.Params[i - 8] = obj[i];
}
}
else
{
FrmMain _FrmMain = new FrmMain();
SubForm = _FrmMain;
_FrmMain.FormText = obj[0];
_FrmMain.OperatorId = obj[1];
_FrmMain.OperatorName = obj[2];
_FrmMain.Privilege = obj[3];
_FrmMain.DLLCoid = obj[4];
_FrmMain.ModuleId = obj[5];
if (obj.Length > 6)
_FrmMain.ModuleDllId = obj[6];
int lAutoQuery = 0;
_FrmMain.AutoQuery = 0;
if (obj.Length > 7)
{
if (int.TryParse(obj[7].ToString(), out lAutoQuery) == true)
{
_FrmMain.AutoQuery = lAutoQuery;
}
}
//
_FrmMain.Params = new string[10];
for (int i = 8; i < obj.Length; i++)
{
_FrmMain.Params[i - 8] = obj[i];
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
/// <summary>
/// 窗口
/// </summary>
public Form SubForm { get; set; }
/// <summary>
/// 检查是否为多表头
/// </summary>
/// <param name="menuid"></param>
/// <returns></returns>
private bool hasBandedForm(string menuid)
{
DataTable dtTable = SqlHelper.ExecuteDataSet(string.Format("select 1 from p_systemwordbooktab where tab='{0}' and ISNULL(bandTitle,'')<>'' and ISNULL(bandFields,'')<>''", menuid)).Tables[0];
return dtTable.Rows.Count > 0;
}
/// <summary>
/// 检查是否为TreeListGrid
/// </summary>
/// <param name="menuid"></param>
/// <returns></returns>
private bool hasTreeListForm(string menuid)
{
DataTable dtTable = SqlHelper.ExecuteDataSet(string.Format("select 1 from P_FormMenuConfigTab where PurviewId='{0}' and ISNULL(TRCReport,0)=1", menuid)).Tables[0];
return dtTable.Rows.Count > 0;
}
}
}
@@ -0,0 +1,385 @@
namespace Lskj.Report
{
partial class FrmBandedMain
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmBandedMain));
this.pl_left = new System.Windows.Forms.Panel();
this.gcLeft = new DevExpress.XtraGrid.GridControl();
this.gvLeft = new DevExpress.XtraGrid.Views.Grid.GridView();
this.tvList = new Lskj.MyControl.TreeViewEx();
this.scLeft = new DevExpress.XtraEditors.SplitterControl();
this.pl_right = new System.Windows.Forms.Panel();
this.pl_right_top = new System.Windows.Forms.Panel();
this.pl_right_main = new System.Windows.Forms.Panel();
this.gcMain = new Lskj.MyControl.BandedControlEx();
this.scBotton = new DevExpress.XtraEditors.SplitterControl();
this.pl_detail = new System.Windows.Forms.Panel();
this.tabMain = new DevExpress.XtraTab.XtraTabControl();
this.pl_right_where = new System.Windows.Forms.Panel();
this.pnlFunc = new System.Windows.Forms.Panel();
this.dropDownButton1 = new DevExpress.XtraEditors.DropDownButton();
this.pMPrint = new DevExpress.XtraBars.PopupMenu(this.components);
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.dropDownButton2 = new DevExpress.XtraEditors.DropDownButton();
this.pm_oper = new DevExpress.XtraBars.PopupMenu(this.components);
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.pl_left.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gcLeft)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gvLeft)).BeginInit();
this.pl_right.SuspendLayout();
this.pl_right_top.SuspendLayout();
this.pl_right_main.SuspendLayout();
this.pl_detail.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
this.pl_right_where.SuspendLayout();
this.pnlFunc.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pMPrint)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pm_oper)).BeginInit();
this.SuspendLayout();
//
// pl_left
//
this.pl_left.Controls.Add(this.gcLeft);
this.pl_left.Controls.Add(this.tvList);
this.pl_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_left.Location = new System.Drawing.Point(0, 0);
this.pl_left.Name = "pl_left";
this.pl_left.Size = new System.Drawing.Size(218, 662);
this.pl_left.TabIndex = 0;
//
// gcLeft
//
this.gcLeft.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcLeft.Location = new System.Drawing.Point(0, 0);
this.gcLeft.MainView = this.gvLeft;
this.gcLeft.Name = "gcLeft";
this.gcLeft.Size = new System.Drawing.Size(218, 662);
this.gcLeft.TabIndex = 1;
this.gcLeft.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gvLeft});
//
// gvLeft
//
this.gvLeft.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gvLeft.Appearance.HeaderPanel.Options.UseFont = true;
this.gvLeft.Appearance.HeaderPanel.Options.UseTextOptions = true;
this.gvLeft.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.gvLeft.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.gvLeft.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gvLeft.Appearance.Row.Options.UseFont = true;
this.gvLeft.GridControl = this.gcLeft;
this.gvLeft.Name = "gvLeft";
this.gvLeft.OptionsBehavior.Editable = false;
this.gvLeft.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click;
this.gvLeft.OptionsSelection.EnableAppearanceFocusedCell = false;
this.gvLeft.OptionsView.ColumnAutoWidth = false;
this.gvLeft.OptionsView.ShowGroupPanel = false;
this.gvLeft.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gvLeft_RowCellClick);
this.gvLeft.SelectionChanged += new DevExpress.Data.SelectionChangedEventHandler(this.gvLeft_SelectionChanged);
//
// tvList
//
this.tvList.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvList.Location = new System.Drawing.Point(0, 0);
this.tvList.MyAfterSelect = null;
this.tvList.Name = "tvList";
this.tvList.Size = new System.Drawing.Size(218, 662);
this.tvList.TabIndex = 0;
//
// scLeft
//
this.scLeft.Location = new System.Drawing.Point(218, 0);
this.scLeft.Name = "scLeft";
this.scLeft.Size = new System.Drawing.Size(6, 662);
this.scLeft.TabIndex = 1;
this.scLeft.TabStop = false;
//
// pl_right
//
this.pl_right.Controls.Add(this.pl_right_top);
this.pl_right.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right.Location = new System.Drawing.Point(224, 0);
this.pl_right.Name = "pl_right";
this.pl_right.Size = new System.Drawing.Size(865, 662);
this.pl_right.TabIndex = 2;
//
// pl_right_top
//
this.pl_right_top.Controls.Add(this.pl_right_main);
this.pl_right_top.Controls.Add(this.scBotton);
this.pl_right_top.Controls.Add(this.pl_detail);
this.pl_right_top.Controls.Add(this.pl_right_where);
this.pl_right_top.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right_top.Location = new System.Drawing.Point(0, 0);
this.pl_right_top.Name = "pl_right_top";
this.pl_right_top.Size = new System.Drawing.Size(865, 662);
this.pl_right_top.TabIndex = 0;
//
// pl_right_main
//
this.pl_right_main.Controls.Add(this.gcMain);
this.pl_right_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right_main.Location = new System.Drawing.Point(0, 36);
this.pl_right_main.Name = "pl_right_main";
this.pl_right_main.Size = new System.Drawing.Size(865, 420);
this.pl_right_main.TabIndex = 1;
//
// gcMain
//
this.gcMain.bomCaption = null;
this.gcMain.bomSql = null;
this.gcMain.ConstSql = null;
this.gcMain.detailEnableCond = null;
this.gcMain.detailEnableMsg = null;
this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcMain.loadBom = null;
this.gcMain.Location = new System.Drawing.Point(0, 0);
this.gcMain.Name = "gcMain";
this.gcMain.pnlMain = null;
this.gcMain.RowColorCondtion = null;
this.gcMain.Size = new System.Drawing.Size(865, 420);
this.gcMain.SourceType = 0;
this.gcMain.Sql = null;
this.gcMain.sqlC = null;
this.gcMain.SumFieldsTable = null;
this.gcMain.TabIndex = 0;
this.gcMain.UnAllowEditChangeColor = false;
//
// scBotton
//
this.scBotton.Dock = System.Windows.Forms.DockStyle.Bottom;
this.scBotton.Location = new System.Drawing.Point(0, 456);
this.scBotton.Name = "scBotton";
this.scBotton.Size = new System.Drawing.Size(865, 6);
this.scBotton.TabIndex = 4;
this.scBotton.TabStop = false;
//
// pl_detail
//
this.pl_detail.Controls.Add(this.tabMain);
this.pl_detail.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pl_detail.Location = new System.Drawing.Point(0, 462);
this.pl_detail.Name = "pl_detail";
this.pl_detail.Size = new System.Drawing.Size(865, 200);
this.pl_detail.TabIndex = 3;
//
// tabMain
//
this.tabMain.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.Appearance.Options.UseFont = true;
this.tabMain.AppearancePage.Header.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.Header.Options.UseFont = true;
this.tabMain.AppearancePage.HeaderActive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.Blue;
this.tabMain.AppearancePage.HeaderActive.Options.UseFont = true;
this.tabMain.AppearancePage.HeaderActive.Options.UseForeColor = true;
this.tabMain.AppearancePage.PageClient.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.PageClient.Options.UseFont = true;
this.tabMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.tabMain.BorderStylePage = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabMain.Location = new System.Drawing.Point(0, 0);
this.tabMain.LookAndFeel.SkinName = "Office 2013 Light Gray";
this.tabMain.LookAndFeel.UseDefaultLookAndFeel = false;
this.tabMain.Name = "tabMain";
this.tabMain.Size = new System.Drawing.Size(865, 200);
this.tabMain.TabIndex = 0;
this.tabMain.Click += new System.EventHandler(this.tabMain_Click);
//
// pl_right_where
//
this.pl_right_where.Controls.Add(this.pnlFunc);
this.pl_right_where.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_right_where.Location = new System.Drawing.Point(0, 0);
this.pl_right_where.Name = "pl_right_where";
this.pl_right_where.Size = new System.Drawing.Size(865, 36);
this.pl_right_where.TabIndex = 0;
//
// pnlFunc
//
this.pnlFunc.Controls.Add(this.dropDownButton1);
this.pnlFunc.Controls.Add(this.dropDownButton2);
this.pnlFunc.Dock = System.Windows.Forms.DockStyle.Right;
this.pnlFunc.Location = new System.Drawing.Point(701, 0);
this.pnlFunc.Name = "pnlFunc";
this.pnlFunc.Padding = new System.Windows.Forms.Padding(4);
this.pnlFunc.Size = new System.Drawing.Size(164, 36);
this.pnlFunc.TabIndex = 1;
//
// dropDownButton1
//
this.dropDownButton1.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.dropDownButton1.Appearance.Options.UseFont = true;
this.dropDownButton1.DropDownArrowStyle = DevExpress.XtraEditors.DropDownArrowStyle.Show;
this.dropDownButton1.DropDownControl = this.pMPrint;
this.dropDownButton1.Location = new System.Drawing.Point(83, 4);
this.dropDownButton1.Name = "dropDownButton1";
this.dropDownButton1.Size = new System.Drawing.Size(75, 24);
this.dropDownButton1.TabIndex = 14;
this.dropDownButton1.Text = "常用打印";
//
// pMPrint
//
this.pMPrint.Manager = this.barManager1;
this.pMPrint.Name = "pMPrint";
//
// barManager1
//
this.barManager1.DockControls.Add(this.barDockControlTop);
this.barManager1.DockControls.Add(this.barDockControlBottom);
this.barManager1.DockControls.Add(this.barDockControlLeft);
this.barManager1.DockControls.Add(this.barDockControlRight);
this.barManager1.Form = this;
this.barManager1.MaxItemId = 0;
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = true;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(1089, 0);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = true;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 662);
this.barDockControlBottom.Size = new System.Drawing.Size(1089, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = true;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 662);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = true;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(1089, 0);
this.barDockControlRight.Size = new System.Drawing.Size(0, 662);
//
// dropDownButton2
//
this.dropDownButton2.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.dropDownButton2.Appearance.Options.UseFont = true;
this.dropDownButton2.DropDownArrowStyle = DevExpress.XtraEditors.DropDownArrowStyle.Show;
this.dropDownButton2.DropDownControl = this.pm_oper;
this.dropDownButton2.Location = new System.Drawing.Point(5, 4);
this.dropDownButton2.Name = "dropDownButton2";
this.dropDownButton2.Size = new System.Drawing.Size(75, 24);
this.dropDownButton2.TabIndex = 15;
this.dropDownButton2.Text = "常用操作";
//
// pm_oper
//
this.pm_oper.Manager = this.barManager1;
this.pm_oper.Name = "pm_oper";
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "lock.png");
this.imageList1.Images.SetKeyName(1, "unlock.png");
//
// FrmBandedMain
//
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(1089, 662);
this.Controls.Add(this.pl_right);
this.Controls.Add(this.scLeft);
this.Controls.Add(this.pl_left);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.LookAndFeel.SkinName = "Office 2010 Blue";
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
this.Name = "FrmBandedMain";
this.Text = "公用报表模块";
//this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gvMain_KeyDown);
this.pl_left.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gcLeft)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gvLeft)).EndInit();
this.pl_right.ResumeLayout(false);
this.pl_right_top.ResumeLayout(false);
this.pl_right_main.ResumeLayout(false);
this.pl_detail.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit();
this.pl_right_where.ResumeLayout(false);
this.pnlFunc.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pMPrint)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pm_oper)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel pl_left;
private DevExpress.XtraEditors.SplitterControl scLeft;
private System.Windows.Forms.Panel pl_right;
private MyControl.TreeViewEx tvList;
private System.Windows.Forms.Panel pl_right_top;
private System.Windows.Forms.Panel pl_detail;
private System.Windows.Forms.Panel pnlFunc;
private System.Windows.Forms.Panel pl_right_main;
private System.Windows.Forms.Panel pl_right_where;
private DevExpress.XtraEditors.SplitterControl scBotton;
private DevExpress.XtraTab.XtraTabControl tabMain;
private DevExpress.XtraGrid.GridControl gcLeft;
private DevExpress.XtraGrid.Views.Grid.GridView gvLeft;
private DevExpress.XtraBars.PopupMenu pMPrint;
private DevExpress.XtraBars.BarManager barManager1;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private System.Windows.Forms.ImageList imageList1;
private MyControl.BandedControlEx gcMain;
private DevExpress.XtraBars.PopupMenu pm_oper;
private DevExpress.XtraEditors.DropDownButton dropDownButton1;
private DevExpress.XtraEditors.DropDownButton dropDownButton2;
}
}
@@ -0,0 +1,991 @@
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 CommonLib.data;
using Lskj.Common;
using System.Data.SqlClient;
using DevExpress.XtraTab;
using Lskj.MyControl;
using DevExpress.Utils;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraEditors;
using DevExpress.XtraBars;
using DevExpress.XtraGrid.Menu;
using DevExpress.Utils.Menu;
using DevExpress.XtraGrid.Columns;
using Lskj.MyControl.Panel_Chart;
using CommonLib.utils;
namespace Lskj.Report {
public partial class FrmBandedMain : FormBase {
#region
public string ModuleDllId { get; set; }
public int AutoQuery { get; set; }
public string[] Params { get; set; }
#endregion
#region
private DataRow mTabWordRow;
private DataTable dtDllTab;
private int dllType;
private DataTable dtFileds;
private string Formkey;
private string SQL;
private string CondKey;
private string LeftGridSqlTag = string.Empty;
private DataRow tvLeftDataRow;
protected DataTable dtMainCond = new DataTable();
private MySearchCreateControl mcc = new MySearchCreateControl();
private string beforeSearchSQL;
private string billModuleFile = string.Empty;
private string billPrintType = string.Empty;
private string billPrintSQL = string.Empty;
private string billPrintSQL1 = string.Empty;
private string billPrintSQL2 = string.Empty;
private int bottomHeight = 50;
#endregion
#region
public FrmBandedMain() {
InitializeComponent();
this.SetStyle(ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
//DevExpress.Skins.SkinManager.EnableFormSkins();
//DevExpress.XtraGrid.Localization.GridResLocalizer.Active = new Dxper.LocalizationCHS.Win.XtraGridCHS();
//DevExpress.XtraEditors.Controls.Localizer.Active = new Dxper.LocalizationCHS.Win.XtraEditorsCHS();
//DevExpress.XtraLayout.Localization.LayoutLocalizer.Active = new Dxper.LocalizationCHS.Win.XtraLayoutCHS();
//DevExpress.XtraPrinting.Localization.PreviewLocalizer.Active = new Dxper.LocalizationCHS.Win.XtraPrintingCHS();
this.Text = FormText;
//
gcMain.gridView.OptionsSelection.MultiSelect = true;
gcMain.gridView.OptionsSelection.MultiSelectMode = GridMultiSelectMode.CellSelect;
gcMain.gridView.OptionsBehavior.CopyToClipboardWithColumnHeaders = false;
gcMain.gridView.IndicatorWidth = 35;
//gcMain.gridView.PopupMenuShowing += new PopupMenuShowingEventHandler(gvMain_PopupMenuShowing);
PubClass.SelectCellCopy(this);
//gcMain.gridView.OptionsView.AllowCellMerge = true;
//gcMain.gridView.RowCellClick += new RowCellClickEventHandler(gvMain_RowCellClick);
gcMain.gridView.DoubleClick += new EventHandler(gvMain_DoubleClick);
gcMain.gridView.OptionsBehavior.Editable = false;
}
#endregion
private void gvMain_DoubleClick(object sender, EventArgs e)
{
DataRow row = gcMain.gridView.GetDataRow(gcMain.gridView.FocusedRowHandle);
if (row != null)
{
foreach (XtraTabPage tab in tabMain.TabPages)
{
if (("" + tab.Tag).IndexOf("chart") <= 0)
{
GridControlEx gc = tab.Tag as GridControlEx;
string sql = gc.gridView.Tag + "";
string detailSql = PubClass.ReqSql(row, sql);
detailSql = PubClass.ReqSqlParam(detailSql, OperatorId, OperatorName);
gc.SetDataSource(detailSql);
gc.gridView.Appearance.HeaderPanel.TextOptions.HAlignment = HorzAlignment.Center;
tab.Text = gc.GridText + "(" + gc.gridView.DataRowCount + ")";
if (gc.gridView.DataRowCount > 0)
{
tab.Appearance.Header.ForeColor = Color.Red;
}
else
{
tab.Appearance.Header.ForeColor = Color.FromArgb(0, 0, 0);
}
}
else
{
Control[] ctr = this.Controls.Find((tab.Tag + "").Replace("p", ""), true);
if ((ctr != null) && (ctr.Length > 0))
{
Panel_Chart pc = ctr[0] as Panel_Chart;
if (pc != null)
{
string sql = pc.ConstSQL;
sql = PubClass.ReqSql(row, sql);
pc.SQL = sql;
}
}
}
}
}
}
#region
protected override void OnLoad(EventArgs e)
{
this.Text = FormText;
DLLCoid = string.IsNullOrEmpty(ModuleDllId) ? DLLCoid : ModuleDllId;
gcMain.gridView .Appearance.HeaderPanel.TextOptions.HAlignment = HorzAlignment.Center;
//加载模块信息
dtDllTab = SqlHelper.ExecuteDataSet("select * from p_systemDlltab where dllcoid='" + DLLCoid + "'").Tables[0];
if (dtDllTab != null && dtDllTab.Rows.Count > 0)
{
dllType = Convert.ToInt32(dtDllTab.Rows[0]["dllType"]);
SQL = dtDllTab.Rows[0]["SQL"] + "";
billPrintType = dtDllTab.Rows[0]["printType"].ToString();
billPrintSQL = dtDllTab.Rows[0]["printSQL"].ToString();
billPrintSQL1 = dtDllTab.Rows[0]["printSQL1"].ToString();
billPrintSQL2 = dtDllTab.Rows[0]["printSQL2"].ToString();
billModuleFile = dtDllTab.Rows[0]["printFile"].ToString();
bottomHeight = 50;
if (dtDllTab.Columns.Contains("bottomHeight"))
bottomHeight = Convert.ToInt32("0" + dtDllTab.Rows[0]["bottomHeight"]);
}
switch (dllType)
{
case DLLType.DllLeftTree:
LoadDllTree();
break;
case DLLType.DllLeftGrid:
LoadDllGrid();
pl_left.Width = Convert.ToInt32(dtDllTab.Rows[0]["leftWidth"]);
break;
case DLLType.DllLeft:
LoadDllDefault();
break;
}
LoadDllDeatil();
SearchCraeteControl();
InitMenu();
InitPrintMenu();
InitOperMenu();
//单据颜色
string colorSql = "select * from p_systemwordbookcolor where tab='" + DLLCoid + "'";
DataTable dtColor = SqlHelper.ExecuteDataSet(colorSql).Tables[0];
gcMain.RowColorCondtion = dtColor;
}
/// <summary>
/// 计算控件
/// </summary>
private void calcTopContent() {
}
/// <summary>
/// 打印
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void print_ItemClick(object sender, ItemClickEventArgs e) {
string tmpSql = string.IsNullOrEmpty(billPrintSQL) ? beforeSearchSQL : billPrintSQL;
string tmpSql1 = billPrintSQL1;
string tmpSql2 = billPrintSQL2;
string path = PubUtil.AbsolutelyPath + "lib/P_PubPrint.lsp";
if (gcLeft.Visible ==true)
{
if (string.IsNullOrEmpty(mcc.ActionSql))
{
//先查询数据在打印
XtraMessageBox.Show("先查询数据在打印", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else if (!String.IsNullOrEmpty(billModuleFile))
{
if (string.IsNullOrEmpty(billPrintType))
{
billPrintType = "1";
}
//tmpSql = "select " + OperatorId + " as OperatorId,'" + OperatorName + "' OperatorName,getdate() as CreateTime";
//tmpSql1 = mcc.ActionSql;
//tmpSql2 = mcc.ActionSql;
DataRow row = gcMain.gridView.GetFocusedDataRow();
tmpSql = PubClass.ReqSql(row, PubClass.ReqSqlParam(tmpSql, OperatorId, OperatorName));
tmpSql1 = PubClass.ReqSql(row, PubClass.ReqSqlParam(tmpSql1, OperatorId, OperatorName));
tmpSql2 = PubClass.ReqSql(row, PubClass.ReqSqlParam(tmpSql2, OperatorId, OperatorName));
PubUtil.LoadDelphiDll(path, path, billModuleFile, tmpSql, tmpSql1, Convert.ToInt32(billPrintType), tmpSql2);
}
else
{
XtraMessageBox.Show("抱歉,您没有配置打印模板", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
else
{
if (string.IsNullOrEmpty(mcc.ActionSql))
{
//先查询数据在打印
XtraMessageBox.Show("先查询数据在打印", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else if (!String.IsNullOrEmpty(billModuleFile))
{
if (!String.IsNullOrEmpty(billModuleFile))
{
if (string.IsNullOrEmpty(billPrintType))
{
billPrintType = "1";
}
//billPrintSQL = "select " + OperatorId + " as OperatorId,'" + OperatorName + "' OperatorName,getdate() as CreateTime";
//string path = PubUtil.AbsolutelyPath + "lib/P_PubPrint.lsp";
//billPrintSQL1 = mcc.ActionSql;
//billPrintSQL2 = mcc.ActionSql;
DataRow row = gcMain.gridView.GetFocusedDataRow();
tmpSql = PubClass.ReqSql(row, PubClass.ReqSqlParam(tmpSql, OperatorId, OperatorName));
tmpSql1 = PubClass.ReqSql(row, PubClass.ReqSqlParam(tmpSql1, OperatorId, OperatorName));
tmpSql2 = PubClass.ReqSql(row, PubClass.ReqSqlParam(tmpSql2, OperatorId, OperatorName));
PubUtil.LoadDelphiDll(path, path, billModuleFile, tmpSql, tmpSql1, Convert.ToInt32(billPrintType), tmpSql2);
//PubUtil.LoadDelphiDll(path, path, billModuleFile, billPrintSQL, billPrintSQL1, Convert.ToInt32(billPrintType), billPrintSQL2);
}
else
{
XtraMessageBox.Show("抱歉,您没有配置打印模板", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
}
/// <summary>
/// 初始常用工具
/// </summary>
public void InitPrintMenu() {
if (!string.IsNullOrEmpty(billModuleFile)) {
String[] strs = billModuleFile.Split('|');
for (int i = 0; i < strs.Length; i++) {
BarButtonItem bbi = new BarButtonItem();
int index = i + 1;
bbi.Caption = strs[i].Replace(".rmf", "");
bbi.Tag = strs[i];
bbi.ItemClick += new ItemClickEventHandler(print_ItemClick);
pMPrint.AddItem(bbi);
}
}
}
public void InitMenu() {
GridMenu gm = new GridMenu(FormText, OperatorId, OperatorName, Privilege, DLLCoid, "", gcMain.gridControl);
gm.BindGridMenu(DLLCoid);
gm.OnGridMenuClickRefreshData += new EventHandler(gm_OnGridMenuClickRefreshData);
if (mTabWordRow == null)//添加左边列表菜单
return;
string DllCoidLeft = mTabWordRow["fieldkey"].ToString();
GridMenu gm1 = new GridMenu(FormText, OperatorId, OperatorName, Privilege, DllCoidLeft, "", gcLeft);
gm1.DirId = dtDllTab.Rows[0]["dirid"] + "";
//gm1.filedKey = dtSystemwordbooktaNo["fieldname"].ToString();
gm1.BindGridMenu(DllCoidLeft);
gm1.OnGridMenuClickRefreshData += new EventHandler(gm_OnGridMenuClickRefreshDataLeft);
}
/// <summary>
/// 左边树刷新
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void gm_OnGridMenuClickRefreshDataLeft(object sender, EventArgs e)
{
refreshData();
}
/// <summary>
/// 初始化常用功能
/// </summary>
public void InitOperMenu()
{
BarButtonItem bbi_export = new BarButtonItem();
bbi_export.Caption = "主表导出";
bbi_export.ItemClick += new ItemClickEventHandler(btnExport_Click);
BarButtonItem bbi_detail_export = new BarButtonItem();
bbi_detail_export.Caption = "明细导出";
bbi_detail_export.ItemClick += new ItemClickEventHandler(btnExportInfo_Click);
BarButtonItem bbi_print = new BarButtonItem();
bbi_print.Caption = "主表打印";
bbi_print.ItemClick += new ItemClickEventHandler(btnPrint_Click);
BarButtonItem bbi_detail_print = new BarButtonItem();
bbi_detail_print.Caption = "明细打印";
bbi_detail_print.ItemClick += new ItemClickEventHandler(btnPrintInfo_Click);
BarButtonItem bbi_word = new BarButtonItem();
bbi_word.Caption = "帮助文档";
bbi_word.ItemClick += new ItemClickEventHandler(btnHelp_Click);
if (tabMain.TabPages.Count == 0)
{
pm_oper.AddItem(bbi_export);
pm_oper.AddItem(bbi_print);
}
else
{
pm_oper.AddItem(bbi_export);
pm_oper.AddItem(bbi_detail_export);
pm_oper.AddItem(bbi_print);
pm_oper.AddItem(bbi_detail_print);
}
pm_oper.AddItem(bbi_word);
}
private void btnHelp_Click(object sender, EventArgs e)
{
try
{
int id = 0;
object obj = SqlHelper.ExecuteScalar(CommandType.Text, "select dirid from P_fm_DirectoryTab where ParentId=3 and PID='" + DLLCoid + "'");
id = obj == null ? 0 : Convert.ToInt32(obj);
if (id == 0)
{
string sql = "insert into P_fm_DirectoryTab (sName,ParentId,creator,SpeciesNo,relationCode,PID) values('" + DLLCoid + "',3,1,'0201',0,'" + DLLCoid + "');select @@identity";
id = Convert.ToInt32(SqlHelper.ExecuteScalar(CommandType.Text, sql));
}
string[] args =
{
FormText,
OperatorId,
OperatorName,
Privilege,
DLLCoid,
ModuleId,
id.ToString()
};
IForm form = PubUtil.LoadDllForm2("Lskj.Attachment.dll", args);
form.SubForm.ShowDialog();
}
catch (Exception)
{
}
}
private void gm_OnGridMenuClickRefreshData(object sender, EventArgs e)
{
//LoadDll();
refreshData();
//
}
private void gm_OnGridMenuClickRefreshDetailData(object sender, EventArgs e)
{
//LoadDll();
refreshData();
//
DataRow row = gcMain.gridView.GetDataRow(gcMain.gridView.FocusedRowHandle);
XtraTabPage tab = tabMain.SelectedTabPage;
//foreach (XtraTabPage tab in tabMain.TabPages)
//{
GridControlEx gc = tab.Tag as GridControlEx;
string sql = gc.gridView.Tag + "";
string detailSql = PubClass.ReqSql(row, sql);
detailSql = PubClass.ReqSqlParam(detailSql, OperatorId, OperatorName);
gc.SetDataSource(detailSql);
gc.gridView.Appearance.HeaderPanel.TextOptions.HAlignment = HorzAlignment.Center;
// }
}
public void SearchCraeteControl() {
string sql = string.Format("exec p_getControlLocation '{0}','{1}','{2}'", CondKey, DLLCoid, OperatorName);
DataTable dt = SqlHelper.ExecuteDataSet(sql).Tables[0];
string condSql = string.Format("select * from p_systembillsourcecond where formKey='{0}'", CondKey);
mcc.LoginId = OperatorId;
mcc.ModuleId = ModuleId;
mcc.LoginName = OperatorName;
mcc.SearchSql = SQL;
mcc.ctr = pl_right_where;
mcc.gce = gcMain.gridControl;
mcc.gcLeft = gcLeft;
mcc.tvLeft = tvList;
mcc.dllType = dllType;
mcc.LeftGridSqlTag = LeftGridSqlTag;
mcc.tvLeftDataRow = tvLeftDataRow;
mcc.condDt = SqlHelper.ExecuteDataSet(condSql).Tables[0];
mcc.otherParams = Params;
mcc.onSearchClick += new EventHandler(mcc_onSearchClick);
if (dt != null && dt.Rows.Count > 0) {
CreateControlModel cm = new CreateControlModel();
cm.dt = dt;
cm.ctr = pl_right_where;
cm.loginid = OperatorId;
cm.loginname = OperatorName;
int height = mcc.CreateControlByModel(cm);
pl_right_where.Height = height;
Control[] ctl = pl_right_where.Controls.Find("btnCondSearch", true);
if ((ctl != null) && (ctl.Length > 0)) {
(ctl[0] as SimpleButton).Width = 72;
pnlFunc.Left = (ctl[0] as SimpleButton).Left + 72;
pnlFunc.Top = (ctl[0] as SimpleButton).Top - 7;
}
else {
pnlFunc.Anchor = AnchorStyles.Right | AnchorStyles.Top;
}
}
if (AutoQuery == 1) {
mcc.runQuery();
}
}
private void mcc_onSearchClick(object sender, EventArgs e)
{
if (!string.IsNullOrWhiteSpace(mcc.ActionSql))
{
this.beforeSearchSQL = mcc.ActionSql;
}
}
/// <summary>
/// 加载左边是树
/// </summary>
public void LoadDllTree() {
tvList.BindTree(DLLCoid);
tvList.MyAfterSelect += new TreeViewEventHandler(tvList_TreeViewEventHandler);
tvList.Visible = true;
gcLeft.Visible = false;
LoadDll();
}
public void tvList_TreeViewEventHandler(object sender, TreeViewEventArgs e) {
if (e.Action == TreeViewAction.ByMouse) {
mcc.runQuery();
}
}
/// <summary>
/// 加载左边Grid
/// </summary>
public void LoadDllGrid() {
DataTable dtGrid = SqlHelper.ExecuteDataSet("select * from p_systemwordbooktab where fieldsqlTag=3 and tab='" + DLLCoid + "'").Tables[0];
mTabWordRow = dtGrid.Rows[0];
if (dtGrid != null && dtGrid.Rows.Count > 0) {
string filedSql = dtGrid.Rows[0]["fieldsql"].ToString();
tvLeftDataRow = dtGrid.Rows[0];
LeftGridSqlTag = dtGrid.Rows[0]["fieldsqlid"].ToString();
filedSql = PubClass.ReqSqlParam(filedSql, OperatorId, OperatorName);
DataTable dtFiledSql = SqlHelper.ExecuteDataSet(filedSql).Tables[0];
gcLeft.DataSource = dtFiledSql;
string sql = "select * from p_systemwordbookgrid where fieldid=" + dtGrid.Rows[0]["Id"] + " and isnull(visible,0)=0 order by orderid";
PubControl.SetColumns3(gcLeft, sql);
}
tvList.Visible = false;
gcLeft.Visible = true;
LoadDll();
}
///<summary>
///刷新左边表格数据
/// </summary>
/// 加载一个列表
/// </summary>
public void refreshData()
{
if (gcLeft.Visible)
{
//记录之前选项
int oldSelect = gvLeft.FocusedRowHandle;
DataTable dtGrid = SqlHelper.ExecuteDataSet("select * from p_systemwordbooktab where fieldsqlTag=3 and tab='" + DLLCoid + "'").Tables[0];
if (dtGrid != null && dtGrid.Rows.Count > 0)
{
string filedSql = dtGrid.Rows[0]["fieldsql"].ToString();
filedSql = PubClass.ReqSqlParam(filedSql, OperatorId, OperatorName);
tvLeftDataRow = dtGrid.Rows[0];
LeftGridSqlTag = dtGrid.Rows[0]["fieldsqlid"].ToString();
DataTable dtFiledSql = SqlHelper.ExecuteDataSet(filedSql).Tables[0];
gcLeft.DataSource = dtFiledSql;
}
gvLeft.FocusedRowHandle = oldSelect;
}
int oldSelect1 = gcMain.gridView.FocusedRowHandle;
mcc.runQuery();
gcMain.gridView.FocusedRowHandle = oldSelect1;
}
public void LoadDllDefault() {
tvList.Visible = false;
gcLeft.Visible = false;
scLeft.Visible = false;
pl_left.Width = 0;
scLeft.Width = 0;
LoadDll();
}
/// <summary>
/// 加载明细
/// </summary>
public void LoadDllDeatil() {
tabMain.TabPages.Clear();
DataTable dtDetail = SqlHelper.ExecuteDataSet("select * from p_systemDlltabDetail where tab='" + DLLCoid + "' and isVisible=0 order by orderid").Tables[0];
bool hasChart = dtDetail.Columns.Contains("detailType");
foreach (DataRow row in dtDetail.Rows) {
XtraTabPage tabPage = new XtraTabPage();
tabPage.Text = row["detailName"] + "";
tabPage.Padding = new System.Windows.Forms.Padding(2);
hasChart = dtDetail.Columns.Contains("detailType");
if (hasChart)
hasChart = row["detailType"] + "" == "1";
if (!hasChart)
{
GridControlEx dgv = CreateDetailDgv(row);
dgv.Name = "grid";
dgv.GridText = row["detailName"] + "";
GridMenu gm = new GridMenu(FormText, OperatorId, OperatorName, Privilege, DLLCoid, "", dgv.gridControl);
gm.BindGridMenu(row["formKey"].ToString());
gm.OnGridMenuClickRefreshData += new EventHandler(gm_OnGridMenuClickRefreshDetailData);
tabPage.Controls.Add(dgv);
dgv.gridView.OptionsView.ShowFooter = true;
dgv.Dock = DockStyle.Fill;
tabPage.Tag = dgv;
}
else
{
tabPage.Tag = "pchart_" + row["id"];
Panel_Chart panel_ChartPage = new Panel_Chart();
tabPage.Controls.Add(panel_ChartPage);
panel_ChartPage.Dock = DockStyle.Fill;
panel_ChartPage.Name = "chart_" + row["id"];
panel_ChartPage.BringToFront();
panel_ChartPage.FormText = FormText;
panel_ChartPage.formKey = row["formKey"] + "";
panel_ChartPage.DLLCoid = DLLCoid;
panel_ChartPage.OperatorId = OperatorId;
panel_ChartPage.Privilege = Privilege;
panel_ChartPage.OperatorName = OperatorName;
String newSql = row["detailSQL"] + "";
newSql = PubClass.ReqSqlParam(newSql, OperatorId, OperatorName);
panel_ChartPage.ConstSQL = newSql;
GridMenu gm = new GridMenu(FormText, OperatorId, OperatorName, Privilege, DLLCoid, "", panel_ChartPage);
//gm.DirId = DirId;
string attachKey = row["formkey"] + "";
gm.BindGridMenuChart(attachKey);
}
tabMain.TabPages.Add(tabPage);
}
if (dtDetail != null && dtDetail.Rows.Count > 0) {
//gcMain.gridView.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(gvMain_RowCellClick);
if (bottomHeight <= 100)
pl_detail.Height = this.Height * bottomHeight / 100;
else
pl_detail.Height = bottomHeight;
//MessageBox.Show((this.Height * bottomHeight / 100).ToString());
gcMain.gridView.DoubleClick += new EventHandler(gvMain_DoubleClick);
}
else {
scBotton.Visible = false;
pl_detail.Visible = false;
pl_detail.Height = 0;
scBotton.Height = 0;
}
}
/// <summary>
/// 点击显示明细信息
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void gvMain_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e) {
DataRow row = gcMain.gridView.GetDataRow(e.RowHandle);
foreach (XtraTabPage tab in tabMain.TabPages) {
if ((""+tab.Tag).IndexOf("chart")<=0)
{
GridControlEx gc = tab.Tag as GridControlEx;
string sql = gc.gridView.Tag + "";
string detailSql = PubClass.ReqSql(row, sql);
detailSql = PubClass.ReqSqlParam(detailSql, OperatorId, OperatorName);
gc.SetDataSource(detailSql);
gc.gridView.Appearance.HeaderPanel.TextOptions.HAlignment = HorzAlignment.Center;
}
else
{
Control[] ctr = this.Controls.Find((tab.Tag+"").Replace("p",""), true);
if ((ctr != null) && (ctr.Length > 0))
{
Panel_Chart pc = ctr[0] as Panel_Chart;
if (pc != null)
{
string sql = pc.ConstSQL;
sql = PubClass.ReqSql(row, sql);
pc.SQL = sql;
}
}
}
}
}
public GridControlEx CreateDetailDgv(DataRow row) {
int detailId = Convert.ToInt32(row["Id"]);
string detailSql = Convert.ToString(row["detailSql"]);
SqlParameter[] p =
{
new SqlParameter("@modid",SqlDbType.VarChar,50),
new SqlParameter("@detailid",SqlDbType.Int,4),
new SqlParameter("@operatorname",SqlDbType.VarChar,50)
};
p[0].Value = DLLCoid;
p[1].Value = detailId;
p[2].Value = OperatorName;
dtFileds = SqlHelper.ExecuteDataSet(CommandType.StoredProcedure, "p_getBaseModuleDetailField", "temp", p).Tables[0];
GridControlEx gcEx = new GridControlEx();
gcEx.ModuleKey = row["formkey"]+"";
gcEx.ModuleType = 2;
gcEx.FormKey = row["formkey"] + "";
gcEx.SetColumns(gcEx.ResetColumns(dtFileds));
detailSql = PubClass.ReqSqlParam(detailSql, OperatorId, OperatorName);
//gcEx.SetDataSource(detailSql);
gcEx.gridView.Tag = detailSql;
gcEx.gridView.RowCellStyle += new RowCellStyleEventHandler(gridView_RowCellStyle);
gcEx.RowColorCondtion = SqlHelper.ExecuteDataSet(string.Format("select * from p_systemwordbookcolor where isnull(useflag,0)=0 and tab ='{0}' order by orderid", row["formkey"])).Tables[0];
return gcEx;
}
protected void gridView_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e) {
if (e.RowHandle >= 0) {
XtraTabPage tagpage = tabMain.SelectedTabPage;
if ((tagpage.Tag + "").IndexOf("chart") > 0)
return;
GridControlEx gce = tagpage.Tag as GridControlEx;
DataRow row = gce.gridView.GetDataRow(e.RowHandle);
if (row == null)
return;
//颜色集合
DataTable dt = gce.RowColorCondtion as DataTable;
//选择列
string cond = string.Empty;
string color = string.Empty;
string forecolor = string.Empty;
if (dt != null && dt.Rows.Count > 0) {
foreach (DataRow dr in dt.Rows) {
List<string> condition = PubClass.GetParamValue(dr["condition"].ToString());
cond = dr["condition"].ToString();
foreach (string item in condition) {
string filedName = item.Replace("{", "").Replace("}", "");
cond = cond.Replace(item, row[filedName].ToString());
}
cond = PubClass.SqlToCode(cond);
color = dr["backcolor"] + "";
forecolor = dr["forcecolor"].ToString() + "";
string obj = Evaluator.Eval(cond) + "";
if (obj.IndexOf("true", StringComparison.OrdinalIgnoreCase) != -1) {
if (!string.IsNullOrEmpty(color)) {
System.Drawing.Color color1 = System.Drawing.ColorTranslator.FromHtml(color);
e.Appearance.BackColor = color1;
}
if (!string.IsNullOrEmpty(forecolor)) {
System.Drawing.Color foreColor = System.Drawing.ColorTranslator.FromHtml(forecolor);
e.Appearance.ForeColor = foreColor;
}
FontStyle fst = new FontStyle();
if (dr["ifBold"].ToString() == "1") {
fst = fst | FontStyle.Bold;
}
if (dr["ifItalic"].ToString() == "1") {
fst = fst | FontStyle.Italic;
}
if (dr["ifStrickOut"].ToString() == "1") {
fst = fst | FontStyle.Strikeout;
}
if (dr["ifUnderLine"].ToString() == "1") {
fst = fst | FontStyle.Underline;
}
e.Appearance.Font = new Font(e.Appearance.Font, fst);
}
}
}
}
}
private void gridView1_CustomDrawRowIndicator(object sender, RowIndicatorCustomDrawEventArgs e) {
e.Appearance.TextOptions.HAlignment = HorzAlignment.Center;
if (e.Info.IsRowIndicator) {
if (e.RowHandle >= 0) {
e.Info.DisplayText = (e.RowHandle + 1).ToString();
}
}
}
/// <summary>
/// 加载列表数据
/// </summary>
public void LoadDll() {
DataTable dtSystemdlltab = SqlHelper.ExecuteDataSet(string.Format("select * from p_systemdlltab where DllCoid='{0}'", DLLCoid)).Tables[0];
if (dtSystemdlltab.Rows.Count > 0) {
Formkey = dtSystemdlltab.Rows[0]["formKey"] + "";
CondKey = dtSystemdlltab.Rows[0]["CondKey"] + "";
}
SqlParameter[] p =
{
new SqlParameter("@modid",SqlDbType.VarChar,50),
new SqlParameter("@operatorname",SqlDbType.VarChar,50)
};
p[0].Value = DLLCoid;
p[1].Value = OperatorName;
dtFileds = SqlHelper.ExecuteDataSet(CommandType.StoredProcedure, "p_getBaseModuleField", "temp", p).Tables[0];
gcMain.ModuleKey = DLLCoid;
gcMain.ModuleType = 1;
gcMain.FormKey = Formkey;
gcMain.SetColumns2(gcMain.ResetColumns(dtFileds));
//PubControl.SetColumns(gcMain.gridControl, dtFileds);
gcMain.gridView.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(gvMain_RowCellStyle);
dtMainCond = SqlHelper.ExecuteDataSet("select * from p_systemwordbookcolor where useflag=0 and tab='" + DLLCoid + "' order by orderid").Tables[0];
}
protected void gvMain_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e) {
if (e.RowHandle >= 0) {
//选择列
string cond = string.Empty;
string color = string.Empty;
string forecolor = string.Empty;
DataRow row = gcMain.gridView.GetDataRow(e.RowHandle);
foreach (DataRow dr in dtMainCond.Rows) {
List<string> condition = PubClass.GetParamValue(dr["condition"].ToString());
cond = dr["condition"].ToString();
foreach (string item in condition) {
string filedName = item.Replace("{", "").Replace("}", "");
cond = cond.Replace(item, row[filedName].ToString());
}
cond = PubClass.SqlToCode(cond);
color = dr["backcolor"] + "";
forecolor = dr["forcecolor"].ToString() + "";
string obj = Evaluator.Eval(cond) + "";
if (obj.IndexOf("true", StringComparison.OrdinalIgnoreCase) != -1) {
if (!string.IsNullOrEmpty(color)) {
System.Drawing.Color color1 = System.Drawing.ColorTranslator.FromHtml(color);
e.Appearance.BackColor = color1;
}
if (!string.IsNullOrEmpty(forecolor)) {
System.Drawing.Color foreColor = System.Drawing.ColorTranslator.FromHtml(forecolor);
e.Appearance.ForeColor = foreColor;
}
FontStyle fst = new FontStyle();
if (dr["ifBold"].ToString() == "1") {
fst = fst | FontStyle.Bold;
}
if (dr["ifItalic"].ToString() == "1") {
fst = fst | FontStyle.Italic;
}
if (dr["ifStrickOut"].ToString() == "1") {
fst = fst | FontStyle.Strikeout;
}
if (dr["ifUnderLine"].ToString() == "1") {
fst = fst | FontStyle.Underline;
}
e.Appearance.Font = new Font(e.Appearance.Font, fst);
}
}
}
}
#endregion
#region
/// <summary>
/// 释放资源
/// </summary>
/// <param name="e"></param>
protected override void OnClosed(EventArgs e) {
if (!string.IsNullOrEmpty(ModuleId) && PubUtil.ModuleForms.ContainsKey(ModuleId)) {
DllModule dm = PubUtil.ModuleForms[ModuleId];
if (dm != null) {
dm.ModuleForm = null;
dm.ModuleInPtr = IntPtr.Zero;
PubUtil.ModuleForms.Remove(ModuleId);
}
}
}
#endregion
#region
private void btnExport_Click(object sender, EventArgs e) {
PubClass.SaveXls(gcMain.gridControl);
}
#endregion
#region
private void btnPrint_Click(object sender, EventArgs e) {
PubClass.Preview(gcMain.gridControl);
}
#endregion
#region
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public void gvMain_PopupMenuShowing(object sender, PopupMenuShowingEventArgs e)
{
//判断是否是列标题的右键菜单
if (e.MenuType == GridMenuType.Column)
{
GridViewColumnMenu menu = e.Menu as GridViewColumnMenu;
string mergeCaption = "数据合并";
string gridMerge = "开启数据合并";
if (gcMain.gridView.OptionsView.AllowCellMerge)
gridMerge = "关闭数据合并";
if (e.HitInfo.Column.OptionsColumn.AllowMerge == DefaultBoolean.True)
mergeCaption = "取消合并";
DXMenuItem itemFixLeft = new DXMenuItem("冻结列(左)", OnFixLeftItemClick);
DXMenuItem itemFixRight = new DXMenuItem("冻结列(右)", OnFixRightItemClick);
DXMenuItem itemUnFix = new DXMenuItem("取消冻结", OnUnFixItemClick);
DXMenuItem gridMergeItem = new DXMenuItem(gridMerge, OnGridMergeItemClick);
DXMenuItem itemMerge = new DXMenuItem(mergeCaption, OnMergeItemClick);
itemFixLeft.Tag = itemFixRight.Tag = itemUnFix.Tag = e.HitInfo.Column;
itemFixLeft.Image = itemFixRight.Image = imageList1.Images["lock.png"];
itemUnFix.Image = imageList1.Images["unlock.png"];
itemMerge.Tag = e.HitInfo.Column;
gridMergeItem.Tag = gcMain.gridView;
if (e.HitInfo.Column.Fixed == FixedStyle.Left)
itemFixLeft.Enabled = false;
if (e.HitInfo.Column.Fixed == FixedStyle.Right)
itemFixRight.Enabled = false;
if (e.HitInfo.Column.Fixed == FixedStyle.None)
itemUnFix.Enabled = false;
itemMerge.Enabled = gcMain.gridView.OptionsView.AllowCellMerge;
itemFixLeft.BeginGroup = true;
menu.Items.Add(itemFixLeft);
menu.Items.Add(itemFixRight);
menu.Items.Add(itemUnFix);
gridMergeItem.BeginGroup = true;
menu.Items.Add(gridMergeItem);
menu.Items.Add(itemMerge);
}
}
/// <summary>
/// 冻结列左侧
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OnFixLeftItemClick(object sender, EventArgs e)
{
DXMenuItem item = sender as DXMenuItem;
GridColumn column = item.Tag as GridColumn;
column.Fixed = FixedStyle.Left;
}
/// <summary>
/// 冻结列右侧
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OnFixRightItemClick(object sender, EventArgs e)
{
DXMenuItem item = sender as DXMenuItem;
GridColumn column = item.Tag as GridColumn;
column.Fixed = FixedStyle.Right;
}
/// <summary>
/// 取消冻结列
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OnUnFixItemClick(object sender, EventArgs e)
{
DXMenuItem item = sender as DXMenuItem;
GridColumn column = item.Tag as GridColumn;
column.Fixed = FixedStyle.None;
column.VisibleIndex = column.AbsoluteIndex;
}
/// <summary>
/// 合并
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OnMergeItemClick(object sender, EventArgs e)
{
DXMenuItem item = sender as DXMenuItem;
GridColumn column = item.Tag as GridColumn;
//column.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True;
if (column.OptionsColumn.AllowMerge == DefaultBoolean.True)
column.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
else
column.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
}
/// <summary>
/// 合并
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OnGridMergeItemClick(object sender, EventArgs e)
{
DXMenuItem item = sender as DXMenuItem;
GridView grv = item.Tag as GridView;
//column.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True;
if (grv.OptionsView.AllowCellMerge == true)
grv.OptionsView.AllowCellMerge = false;
else
{
grv.OptionsView.AllowCellMerge = true;
MessageBox.Show("请注意:数据合并模式已开启,该模式下将不能进行区域选择、复制和粘贴\r\n要退出合并模式请再次点击进行切换");
}
}
#endregion
//private void gvMain_KeyDown(object sender, KeyEventArgs e) {
// if (sender != null && e != null)
// {
// if (e.Control & e.KeyCode == Keys.C)
// {
// //object obj = (sender as GridView).GetFocusedRowCellValue((sender as GridView).FocusedColumn);
// object obj = this.gcMain.gridView.GetFocusedRowCellValue(this.gcMain.gridView.FocusedColumn);
// if (obj != null)
// {
// Clipboard.SetDataObject(obj + "");
// e.Handled = true;
// }
// //gcMain.gridView.CopyToClipboard();
// }
// }
//}
private void btnExportInfo_Click(object sender, EventArgs e) {
if (tabMain.TabPages.Count > 0) {
XtraTabPage tabPage = tabMain.SelectedTabPage;
Control[] ctrs = tabPage.Controls.Find("grid", true);
if (ctrs.Length > 0) {
GridControlEx gce = (GridControlEx)ctrs[0];
PubClass.SaveXls(gce.gridControl);
}
}
}
private void btnPrintInfo_Click(object sender, EventArgs e) {
if (tabMain.TabPages.Count > 0) {
XtraTabPage tabPage = tabMain.SelectedTabPage;
Control[] ctrs = tabPage.Controls.Find("grid", true);
if (ctrs.Length > 0) {
GridControlEx gce = (GridControlEx)ctrs[0];
PubClass.Preview(gce.gridControl);
}
}
}
private void tabMain_Click(object sender, EventArgs e) {
}
private void gvLeft_RowCellClick(object sender, RowCellClickEventArgs e) {
mcc.runQuery();
}
private void gvLeft_SelectionChanged(object sender, DevExpress.Data.SelectionChangedEventArgs e)
{
//mcc.runQuery();
}
}
}
File diff suppressed because it is too large Load Diff
+394
View File
@@ -0,0 +1,394 @@
namespace Lskj.Report
{
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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.pl_left = new System.Windows.Forms.Panel();
this.gcLeft = new DevExpress.XtraGrid.GridControl();
this.gvLeft = new DevExpress.XtraGrid.Views.Grid.GridView();
this.tvList = new Lskj.MyControl.TreeViewEx();
this.scLeft = new DevExpress.XtraEditors.SplitterControl();
this.pl_right = new System.Windows.Forms.Panel();
this.pl_right_top = new System.Windows.Forms.Panel();
this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
this.pl_right_main = new System.Windows.Forms.Panel();
this.gcMain = new Lskj.MyControl.GridControlEx();
this.pl_detail = new System.Windows.Forms.Panel();
this.tabMain = new DevExpress.XtraTab.XtraTabControl();
this.pl_right_where = new System.Windows.Forms.Panel();
this.pnlFunc = new System.Windows.Forms.Panel();
this.btnPrint = new DevExpress.XtraEditors.DropDownButton();
this.pMPrint = new DevExpress.XtraBars.PopupMenu(this.components);
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.dropDownButton1 = new DevExpress.XtraEditors.DropDownButton();
this.pm_oper = new DevExpress.XtraBars.PopupMenu(this.components);
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.pl_left.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gcLeft)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gvLeft)).BeginInit();
this.pl_right.SuspendLayout();
this.pl_right_top.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
this.splitContainerControl1.SuspendLayout();
this.pl_right_main.SuspendLayout();
this.pl_detail.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
this.pl_right_where.SuspendLayout();
this.pnlFunc.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pMPrint)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pm_oper)).BeginInit();
this.SuspendLayout();
//
// pl_left
//
this.pl_left.Controls.Add(this.gcLeft);
this.pl_left.Controls.Add(this.tvList);
this.pl_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_left.Location = new System.Drawing.Point(0, 0);
this.pl_left.Name = "pl_left";
this.pl_left.Size = new System.Drawing.Size(218, 662);
this.pl_left.TabIndex = 0;
this.pl_left.Resize += new System.EventHandler(this.pl_left_Resize);
//
// gcLeft
//
this.gcLeft.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcLeft.Location = new System.Drawing.Point(0, 0);
this.gcLeft.MainView = this.gvLeft;
this.gcLeft.Name = "gcLeft";
this.gcLeft.Size = new System.Drawing.Size(218, 662);
this.gcLeft.TabIndex = 1;
this.gcLeft.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gvLeft});
//
// gvLeft
//
this.gvLeft.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gvLeft.Appearance.HeaderPanel.Options.UseFont = true;
this.gvLeft.Appearance.HeaderPanel.Options.UseTextOptions = true;
this.gvLeft.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.gvLeft.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.gvLeft.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gvLeft.Appearance.Row.Options.UseFont = true;
this.gvLeft.GridControl = this.gcLeft;
this.gvLeft.Name = "gvLeft";
this.gvLeft.OptionsBehavior.Editable = false;
this.gvLeft.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click;
this.gvLeft.OptionsSelection.EnableAppearanceFocusedCell = false;
this.gvLeft.OptionsView.ColumnAutoWidth = false;
this.gvLeft.OptionsView.ShowGroupPanel = false;
this.gvLeft.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gvLeft_RowCellClick);
//this.gvLeft.SelectionChanged += new DevExpress.Data.SelectionChangedEventHandler(this.gvLeft_SelectionChanged);
//
// tvList
//
this.tvList.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvList.Location = new System.Drawing.Point(0, 0);
this.tvList.MyAfterSelect = null;
this.tvList.Name = "tvList";
this.tvList.Size = new System.Drawing.Size(218, 662);
this.tvList.TabIndex = 0;
//
// scLeft
//
this.scLeft.Location = new System.Drawing.Point(218, 0);
this.scLeft.Name = "scLeft";
this.scLeft.Size = new System.Drawing.Size(6, 662);
this.scLeft.TabIndex = 1;
this.scLeft.TabStop = false;
//
// pl_right
//
this.pl_right.Controls.Add(this.pl_right_top);
this.pl_right.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right.Location = new System.Drawing.Point(224, 0);
this.pl_right.Name = "pl_right";
this.pl_right.Size = new System.Drawing.Size(865, 662);
this.pl_right.TabIndex = 2;
//
// pl_right_top
//
this.pl_right_top.Controls.Add(this.splitContainerControl1);
this.pl_right_top.Controls.Add(this.pl_right_where);
this.pl_right_top.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right_top.Location = new System.Drawing.Point(0, 0);
this.pl_right_top.Name = "pl_right_top";
this.pl_right_top.Size = new System.Drawing.Size(865, 662);
this.pl_right_top.TabIndex = 0;
//
// splitContainerControl1
//
this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2;
this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainerControl1.Horizontal = false;
this.splitContainerControl1.Location = new System.Drawing.Point(0, 36);
this.splitContainerControl1.Name = "splitContainerControl1";
this.splitContainerControl1.Panel1.Controls.Add(this.pl_right_main);
this.splitContainerControl1.Panel1.Text = "Panel1";
this.splitContainerControl1.Panel2.Controls.Add(this.pl_detail);
this.splitContainerControl1.Panel2.Text = "Panel2";
this.splitContainerControl1.Size = new System.Drawing.Size(865, 626);
this.splitContainerControl1.SplitterPosition = 400;
this.splitContainerControl1.TabIndex = 4;
//
// pl_right_main
//
this.pl_right_main.Controls.Add(this.gcMain);
this.pl_right_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right_main.Location = new System.Drawing.Point(0, 0);
this.pl_right_main.Name = "pl_right_main";
this.pl_right_main.Size = new System.Drawing.Size(865, 400);
this.pl_right_main.TabIndex = 1;
//
// gcMain
//
this.gcMain.bomCaption = null;
this.gcMain.bomSql = null;
this.gcMain.ConstSql = null;
this.gcMain.detailEnableCond = null;
this.gcMain.detailEnableMsg = null;
this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcMain.loadBom = null;
this.gcMain.Location = new System.Drawing.Point(0, 0);
this.gcMain.Name = "gcMain";
this.gcMain.pnlMain = null;
this.gcMain.RowColorCondtion = null;
this.gcMain.Size = new System.Drawing.Size(865, 400);
this.gcMain.SourceType = 0;
this.gcMain.Sql = null;
this.gcMain.sqlC = null;
this.gcMain.SumFieldsTable = null;
this.gcMain.TabIndex = 0;
this.gcMain.UnAllowEditChangeColor = false;
//
// pl_detail
//
this.pl_detail.Controls.Add(this.tabMain);
this.pl_detail.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_detail.Location = new System.Drawing.Point(0, 0);
this.pl_detail.Name = "pl_detail";
this.pl_detail.Size = new System.Drawing.Size(865, 220);
this.pl_detail.TabIndex = 3;
//
// tabMain
//
this.tabMain.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.Appearance.Options.UseFont = true;
this.tabMain.AppearancePage.Header.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.Header.Options.UseFont = true;
this.tabMain.AppearancePage.HeaderActive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.Blue;
this.tabMain.AppearancePage.HeaderActive.Options.UseFont = true;
this.tabMain.AppearancePage.HeaderActive.Options.UseForeColor = true;
this.tabMain.AppearancePage.PageClient.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.PageClient.Options.UseFont = true;
this.tabMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.tabMain.BorderStylePage = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabMain.Location = new System.Drawing.Point(0, 0);
this.tabMain.LookAndFeel.SkinName = "Office 2013 Light Gray";
this.tabMain.LookAndFeel.UseDefaultLookAndFeel = false;
this.tabMain.Name = "tabMain";
this.tabMain.Size = new System.Drawing.Size(865, 220);
this.tabMain.TabIndex = 0;
this.tabMain.Click += new System.EventHandler(this.tabMain_Click);
//
// pl_right_where
//
this.pl_right_where.Controls.Add(this.pnlFunc);
this.pl_right_where.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_right_where.Location = new System.Drawing.Point(0, 0);
this.pl_right_where.Name = "pl_right_where";
this.pl_right_where.Size = new System.Drawing.Size(865, 36);
this.pl_right_where.TabIndex = 0;
//
// pnlFunc
//
this.pnlFunc.Controls.Add(this.btnPrint);
this.pnlFunc.Controls.Add(this.dropDownButton1);
this.pnlFunc.Dock = System.Windows.Forms.DockStyle.Right;
this.pnlFunc.Location = new System.Drawing.Point(701, 0);
this.pnlFunc.Name = "pnlFunc";
this.pnlFunc.Padding = new System.Windows.Forms.Padding(4);
this.pnlFunc.Size = new System.Drawing.Size(164, 36);
this.pnlFunc.TabIndex = 1;
//
// btnPrint
//
this.btnPrint.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPrint.Appearance.Options.UseFont = true;
this.btnPrint.DropDownArrowStyle = DevExpress.XtraEditors.DropDownArrowStyle.Show;
this.btnPrint.DropDownControl = this.pMPrint;
this.btnPrint.Location = new System.Drawing.Point(83, 4);
this.btnPrint.Name = "btnPrint";
this.btnPrint.Size = new System.Drawing.Size(75, 24);
this.btnPrint.TabIndex = 12;
this.btnPrint.Text = "常用打印";
//
// pMPrint
//
this.pMPrint.Manager = this.barManager1;
this.pMPrint.Name = "pMPrint";
//
// barManager1
//
this.barManager1.DockControls.Add(this.barDockControlTop);
this.barManager1.DockControls.Add(this.barDockControlBottom);
this.barManager1.DockControls.Add(this.barDockControlLeft);
this.barManager1.DockControls.Add(this.barDockControlRight);
this.barManager1.Form = this;
this.barManager1.MaxItemId = 0;
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = true;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(1089, 0);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = true;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 662);
this.barDockControlBottom.Size = new System.Drawing.Size(1089, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = true;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 662);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = true;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(1089, 0);
this.barDockControlRight.Size = new System.Drawing.Size(0, 662);
//
// dropDownButton1
//
this.dropDownButton1.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.dropDownButton1.Appearance.Options.UseFont = true;
this.dropDownButton1.DropDownArrowStyle = DevExpress.XtraEditors.DropDownArrowStyle.Show;
this.dropDownButton1.DropDownControl = this.pm_oper;
this.dropDownButton1.Location = new System.Drawing.Point(5, 4);
this.dropDownButton1.Name = "dropDownButton1";
this.dropDownButton1.Size = new System.Drawing.Size(75, 24);
this.dropDownButton1.TabIndex = 13;
this.dropDownButton1.Text = "常用操作";
//
// pm_oper
//
this.pm_oper.Manager = this.barManager1;
this.pm_oper.Name = "pm_oper";
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "lock.png");
this.imageList1.Images.SetKeyName(1, "unlock.png");
//
// FrmMain
//
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(1089, 662);
this.Controls.Add(this.pl_right);
this.Controls.Add(this.scLeft);
this.Controls.Add(this.pl_left);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.LookAndFeel.SkinName = "Office 2010 Blue";
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
this.Name = "FrmMain";
this.Text = "公用报表模块";
//this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gvMain_KeyDown);
this.pl_left.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gcLeft)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gvLeft)).EndInit();
this.pl_right.ResumeLayout(false);
this.pl_right_top.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
this.splitContainerControl1.ResumeLayout(false);
this.pl_right_main.ResumeLayout(false);
this.pl_detail.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit();
this.pl_right_where.ResumeLayout(false);
this.pnlFunc.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pMPrint)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pm_oper)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel pl_left;
private DevExpress.XtraEditors.SplitterControl scLeft;
private System.Windows.Forms.Panel pl_right;
private MyControl.TreeViewEx tvList;
private System.Windows.Forms.Panel pl_right_top;
private System.Windows.Forms.Panel pl_detail;
private System.Windows.Forms.Panel pnlFunc;
private System.Windows.Forms.Panel pl_right_main;
private System.Windows.Forms.Panel pl_right_where;
private DevExpress.XtraTab.XtraTabControl tabMain;
private DevExpress.XtraGrid.GridControl gcLeft;
private DevExpress.XtraGrid.Views.Grid.GridView gvLeft;
private DevExpress.XtraBars.PopupMenu pMPrint;
private DevExpress.XtraEditors.DropDownButton btnPrint;
private DevExpress.XtraBars.BarManager barManager1;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private System.Windows.Forms.ImageList imageList1;
private MyControl.GridControlEx gcMain;
private DevExpress.XtraEditors.DropDownButton dropDownButton1;
private DevExpress.XtraBars.PopupMenu pm_oper;
private DevExpress.XtraEditors.SplitContainerControl splitContainerControl1;
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,429 @@
namespace Lskj.Report
{
partial class FrmTreeListMain
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTreeListMain));
this.pl_left = new System.Windows.Forms.Panel();
this.gcLeft = new DevExpress.XtraGrid.GridControl();
this.gvLeft = new DevExpress.XtraGrid.Views.Grid.GridView();
this.tvList = new Lskj.MyControl.TreeViewEx();
this.scLeft = new DevExpress.XtraEditors.SplitterControl();
this.pl_right = new System.Windows.Forms.Panel();
this.pl_right_top = new System.Windows.Forms.Panel();
this.pl_right_main = new System.Windows.Forms.Panel();
this.gcMain = new DevExpress.XtraTreeList.TreeList();
this.scBotton = new DevExpress.XtraEditors.SplitterControl();
this.pl_detail = new System.Windows.Forms.Panel();
this.tabMain = new DevExpress.XtraTab.XtraTabControl();
this.pl_right_where = new System.Windows.Forms.Panel();
this.pnlFunc = new System.Windows.Forms.Panel();
this.pnl_func1 = new System.Windows.Forms.Panel();
this.btnPrintInfo = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
this.btnExportInfo = new DevExpress.XtraEditors.SimpleButton();
this.btnPrint = new DevExpress.XtraEditors.DropDownButton();
this.pMPrint = new DevExpress.XtraBars.PopupMenu(this.components);
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.btnExport = new DevExpress.XtraEditors.SimpleButton();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.pl_left.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gcLeft)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gvLeft)).BeginInit();
this.pl_right.SuspendLayout();
this.pl_right_top.SuspendLayout();
this.pl_right_main.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
this.pl_detail.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
this.pl_right_where.SuspendLayout();
this.pnlFunc.SuspendLayout();
this.pnl_func1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pMPrint)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
this.SuspendLayout();
//
// pl_left
//
this.pl_left.Controls.Add(this.gcLeft);
this.pl_left.Controls.Add(this.tvList);
this.pl_left.Dock = System.Windows.Forms.DockStyle.Left;
this.pl_left.Location = new System.Drawing.Point(0, 0);
this.pl_left.Name = "pl_left";
this.pl_left.Size = new System.Drawing.Size(218, 662);
this.pl_left.TabIndex = 0;
//
// gcLeft
//
this.gcLeft.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcLeft.Location = new System.Drawing.Point(0, 0);
this.gcLeft.MainView = this.gvLeft;
this.gcLeft.Name = "gcLeft";
this.gcLeft.Size = new System.Drawing.Size(218, 662);
this.gcLeft.TabIndex = 1;
this.gcLeft.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gvLeft});
//
// gvLeft
//
this.gvLeft.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gvLeft.Appearance.HeaderPanel.Options.UseFont = true;
this.gvLeft.Appearance.HeaderPanel.Options.UseTextOptions = true;
this.gvLeft.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.gvLeft.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
this.gvLeft.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gvLeft.Appearance.Row.Options.UseFont = true;
this.gvLeft.GridControl = this.gcLeft;
this.gvLeft.Name = "gvLeft";
this.gvLeft.OptionsBehavior.Editable = false;
this.gvLeft.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click;
this.gvLeft.OptionsSelection.EnableAppearanceFocusedCell = false;
this.gvLeft.OptionsView.ColumnAutoWidth = false;
this.gvLeft.OptionsView.ShowGroupPanel = false;
this.gvLeft.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gvLeft_RowCellClick);
this.gvLeft.SelectionChanged += new DevExpress.Data.SelectionChangedEventHandler(this.gvLeft_SelectionChanged);
//
// tvList
//
this.tvList.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvList.Location = new System.Drawing.Point(0, 0);
this.tvList.MyAfterSelect = null;
this.tvList.Name = "tvList";
this.tvList.Size = new System.Drawing.Size(218, 662);
this.tvList.TabIndex = 0;
//
// scLeft
//
this.scLeft.Location = new System.Drawing.Point(218, 0);
this.scLeft.Name = "scLeft";
this.scLeft.Size = new System.Drawing.Size(6, 662);
this.scLeft.TabIndex = 1;
this.scLeft.TabStop = false;
//
// pl_right
//
this.pl_right.Controls.Add(this.pl_right_top);
this.pl_right.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right.Location = new System.Drawing.Point(224, 0);
this.pl_right.Name = "pl_right";
this.pl_right.Size = new System.Drawing.Size(865, 662);
this.pl_right.TabIndex = 2;
//
// pl_right_top
//
this.pl_right_top.Controls.Add(this.pl_right_main);
this.pl_right_top.Controls.Add(this.scBotton);
this.pl_right_top.Controls.Add(this.pl_detail);
this.pl_right_top.Controls.Add(this.pl_right_where);
this.pl_right_top.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right_top.Location = new System.Drawing.Point(0, 0);
this.pl_right_top.Name = "pl_right_top";
this.pl_right_top.Size = new System.Drawing.Size(865, 662);
this.pl_right_top.TabIndex = 0;
//
// pl_right_main
//
this.pl_right_main.Controls.Add(this.gcMain);
this.pl_right_main.Dock = System.Windows.Forms.DockStyle.Fill;
this.pl_right_main.Location = new System.Drawing.Point(0, 36);
this.pl_right_main.Name = "pl_right_main";
this.pl_right_main.Size = new System.Drawing.Size(865, 420);
this.pl_right_main.TabIndex = 1;
//
// gcMain
//
this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.gcMain.Location = new System.Drawing.Point(0, 0);
this.gcMain.Name = "gcMain";
this.gcMain.OptionsBehavior.CopyToClipboardWithColumnHeaders = false;
this.gcMain.OptionsSelection.EnableAppearanceFocusedRow = false;
this.gcMain.OptionsSelection.InvertSelection = true;
this.gcMain.OptionsSelection.MultiSelect = true;
this.gcMain.OptionsView.ShowSummaryFooter = true;
this.gcMain.Size = new System.Drawing.Size(865, 420);
this.gcMain.TabIndex = 0;
//
// scBotton
//
this.scBotton.Dock = System.Windows.Forms.DockStyle.Bottom;
this.scBotton.Location = new System.Drawing.Point(0, 456);
this.scBotton.Name = "scBotton";
this.scBotton.Size = new System.Drawing.Size(865, 6);
this.scBotton.TabIndex = 4;
this.scBotton.TabStop = false;
//
// pl_detail
//
this.pl_detail.Controls.Add(this.tabMain);
this.pl_detail.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pl_detail.Location = new System.Drawing.Point(0, 462);
this.pl_detail.Name = "pl_detail";
this.pl_detail.Size = new System.Drawing.Size(865, 200);
this.pl_detail.TabIndex = 3;
//
// tabMain
//
this.tabMain.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.Appearance.Options.UseFont = true;
this.tabMain.AppearancePage.Header.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.Header.Options.UseFont = true;
this.tabMain.AppearancePage.HeaderActive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.Blue;
this.tabMain.AppearancePage.HeaderActive.Options.UseFont = true;
this.tabMain.AppearancePage.HeaderActive.Options.UseForeColor = true;
this.tabMain.AppearancePage.PageClient.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tabMain.AppearancePage.PageClient.Options.UseFont = true;
this.tabMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.tabMain.BorderStylePage = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabMain.Location = new System.Drawing.Point(0, 0);
this.tabMain.LookAndFeel.SkinName = "Office 2013 Light Gray";
this.tabMain.LookAndFeel.UseDefaultLookAndFeel = false;
this.tabMain.Name = "tabMain";
this.tabMain.Size = new System.Drawing.Size(865, 200);
this.tabMain.TabIndex = 0;
this.tabMain.Click += new System.EventHandler(this.tabMain_Click);
//
// pl_right_where
//
this.pl_right_where.Controls.Add(this.pnlFunc);
this.pl_right_where.Dock = System.Windows.Forms.DockStyle.Top;
this.pl_right_where.Location = new System.Drawing.Point(0, 0);
this.pl_right_where.Name = "pl_right_where";
this.pl_right_where.Size = new System.Drawing.Size(865, 36);
this.pl_right_where.TabIndex = 0;
//
// pnlFunc
//
this.pnlFunc.Controls.Add(this.pnl_func1);
this.pnlFunc.Dock = System.Windows.Forms.DockStyle.Right;
this.pnlFunc.Location = new System.Drawing.Point(457, 0);
this.pnlFunc.Name = "pnlFunc";
this.pnlFunc.Padding = new System.Windows.Forms.Padding(4);
this.pnlFunc.Size = new System.Drawing.Size(408, 36);
this.pnlFunc.TabIndex = 1;
//
// pnl_func1
//
this.pnl_func1.Controls.Add(this.btnPrintInfo);
this.pnl_func1.Controls.Add(this.simpleButton1);
this.pnl_func1.Controls.Add(this.btnExportInfo);
this.pnl_func1.Controls.Add(this.btnPrint);
this.pnl_func1.Controls.Add(this.btnExport);
this.pnl_func1.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl_func1.Location = new System.Drawing.Point(4, 4);
this.pnl_func1.Name = "pnl_func1";
this.pnl_func1.Size = new System.Drawing.Size(400, 27);
this.pnl_func1.TabIndex = 13;
//
// btnPrintInfo
//
this.btnPrintInfo.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPrintInfo.Appearance.Options.UseFont = true;
this.btnPrintInfo.Dock = System.Windows.Forms.DockStyle.Right;
this.btnPrintInfo.Location = new System.Drawing.Point(4, 0);
this.btnPrintInfo.Name = "btnPrintInfo";
this.btnPrintInfo.Padding = new System.Windows.Forms.Padding(5);
this.btnPrintInfo.Size = new System.Drawing.Size(72, 27);
this.btnPrintInfo.TabIndex = 2;
this.btnPrintInfo.Text = "明细打印";
this.btnPrintInfo.Click += new System.EventHandler(this.btnPrintInfo_Click);
//
// simpleButton1
//
this.simpleButton1.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.simpleButton1.Appearance.Options.UseFont = true;
this.simpleButton1.Dock = System.Windows.Forms.DockStyle.Right;
this.simpleButton1.Location = new System.Drawing.Point(76, 0);
this.simpleButton1.Name = "simpleButton1";
this.simpleButton1.Size = new System.Drawing.Size(99, 27);
this.simpleButton1.TabIndex = 12;
this.simpleButton1.Text = "主表常规打印(&P)";
this.simpleButton1.Click += new System.EventHandler(this.btnPrint_Click);
//
// btnExportInfo
//
this.btnExportInfo.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnExportInfo.Appearance.Options.UseFont = true;
this.btnExportInfo.Dock = System.Windows.Forms.DockStyle.Right;
this.btnExportInfo.Location = new System.Drawing.Point(175, 0);
this.btnExportInfo.Name = "btnExportInfo";
this.btnExportInfo.Size = new System.Drawing.Size(72, 27);
this.btnExportInfo.TabIndex = 3;
this.btnExportInfo.Text = "明细导出";
this.btnExportInfo.Click += new System.EventHandler(this.btnExportInfo_Click);
//
// btnPrint
//
this.btnPrint.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPrint.Appearance.Options.UseFont = true;
this.btnPrint.Dock = System.Windows.Forms.DockStyle.Right;
this.btnPrint.DropDownArrowStyle = DevExpress.XtraEditors.DropDownArrowStyle.Show;
this.btnPrint.DropDownControl = this.pMPrint;
this.btnPrint.Location = new System.Drawing.Point(247, 0);
this.btnPrint.Name = "btnPrint";
this.btnPrint.Size = new System.Drawing.Size(75, 27);
this.btnPrint.TabIndex = 12;
this.btnPrint.Text = "主表打印";
//
// pMPrint
//
this.pMPrint.Manager = this.barManager1;
this.pMPrint.Name = "pMPrint";
//
// barManager1
//
this.barManager1.DockControls.Add(this.barDockControlTop);
this.barManager1.DockControls.Add(this.barDockControlBottom);
this.barManager1.DockControls.Add(this.barDockControlLeft);
this.barManager1.DockControls.Add(this.barDockControlRight);
this.barManager1.Form = this;
this.barManager1.MaxItemId = 0;
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = true;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(1089, 0);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = true;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 662);
this.barDockControlBottom.Size = new System.Drawing.Size(1089, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = true;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 0);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 662);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = true;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(1089, 0);
this.barDockControlRight.Size = new System.Drawing.Size(0, 662);
//
// btnExport
//
this.btnExport.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnExport.Appearance.Options.UseFont = true;
this.btnExport.Dock = System.Windows.Forms.DockStyle.Right;
this.btnExport.Location = new System.Drawing.Point(322, 0);
this.btnExport.Name = "btnExport";
this.btnExport.Size = new System.Drawing.Size(78, 27);
this.btnExport.TabIndex = 0;
this.btnExport.Text = "主表导出(&O)";
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "lock.png");
this.imageList1.Images.SetKeyName(1, "unlock.png");
//
// FrmTreeListMain
//
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(1089, 662);
this.Controls.Add(this.pl_right);
this.Controls.Add(this.scLeft);
this.Controls.Add(this.pl_left);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.LookAndFeel.SkinName = "Office 2010 Blue";
this.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
this.Name = "FrmTreeListMain";
this.Text = "公用报表模块";
this.pl_left.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gcLeft)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gvLeft)).EndInit();
this.pl_right.ResumeLayout(false);
this.pl_right_top.ResumeLayout(false);
this.pl_right_main.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
this.pl_detail.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit();
this.pl_right_where.ResumeLayout(false);
this.pnlFunc.ResumeLayout(false);
this.pnl_func1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pMPrint)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel pl_left;
private DevExpress.XtraEditors.SplitterControl scLeft;
private System.Windows.Forms.Panel pl_right;
private MyControl.TreeViewEx tvList;
private System.Windows.Forms.Panel pl_right_top;
private System.Windows.Forms.Panel pl_detail;
private System.Windows.Forms.Panel pnlFunc;
private System.Windows.Forms.Panel pl_right_main;
private System.Windows.Forms.Panel pl_right_where;
private DevExpress.XtraEditors.SplitterControl scBotton;
private DevExpress.XtraEditors.SimpleButton btnExport;
private DevExpress.XtraTab.XtraTabControl tabMain;
private DevExpress.XtraGrid.GridControl gcLeft;
private DevExpress.XtraGrid.Views.Grid.GridView gvLeft;
private DevExpress.XtraEditors.SimpleButton btnPrintInfo;
private DevExpress.XtraEditors.SimpleButton btnExportInfo;
private DevExpress.XtraBars.PopupMenu pMPrint;
private DevExpress.XtraEditors.DropDownButton btnPrint;
private DevExpress.XtraEditors.SimpleButton simpleButton1;
private DevExpress.XtraBars.BarManager barManager1;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private System.Windows.Forms.Panel pnl_func1;
private System.Windows.Forms.ImageList imageList1;
private DevExpress.XtraTreeList.TreeList gcMain;
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,159 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{516750E8-FFF8-499F-B167-C2B781E70F35}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Lskj.Report</RootNamespace>
<AssemblyName>Lskj.Report</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\publish\lib\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>a.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Printing.v13.1.Core, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Sparkline.v13.1.Core, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Utils.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraBars.v13.1, 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" />
<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" />
<Reference Include="DevExpress.XtraPrinting.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.XtraTreeList.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="Lskj.Common, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\Lskj.Common.dll</HintPath>
</Reference>
<Reference Include="NPOI, Version=2.0.6.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\引用DLL\NPOI.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Remoting" />
<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" />
</ItemGroup>
<ItemGroup>
<Compile Include="DllBaseClass.cs" />
<Compile Include="FrmBandedMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmBandedMain.Designer.cs">
<DependentUpon>FrmBandedMain.cs</DependentUpon>
</Compile>
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="FrmTreeListMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmTreeListMain.Designer.cs">
<DependentUpon>FrmTreeListMain.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="FrmBandedMain.resx">
<DependentUpon>FrmBandedMain.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.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="FrmTreeListMain.resx">
<DependentUpon>FrmTreeListMain.cs</DependentUpon>
</EmbeddedResource>
<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>
<Content Include="a.ico" />
</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.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>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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>
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Lskj.Report")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Lskj.Report")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 使此程序集中的类型
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
// 则将该类型上的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("8cc425fe-6c33-4751-9e83-f83101df5c93")]
// 程序集的版本信息由下面四个值组成:
//
// 主版本
// 次版本
// 内部版本号
// 修订号
//
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.14")]
[assembly: AssemblyFileVersion("1.0.0.14")]
@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.1
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Lskj.Report.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.Report.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;
}
}
}
}
@@ -0,0 +1,117 @@
<?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.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: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" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</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" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.1
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Lskj.Report.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.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,3 @@
DevExpress.Patch.InMemoryPatch, DevExpress.Patch.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7fc7bfca2443de66
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB