提交当前本机整理版本
This commit is contained in:
@@ -55,8 +55,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Core", "..\Lskj.Core\L
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Util", "..\Lskj.Util\Lskj.Util.csproj", "{A51BF642-6543-4DE3-8948-83F558B72BD4}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Main", "..\Lskj.Main\Lskj.Main.csproj", "{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBillBrp", "..\Lskj.PubBillBrp\Lskj.PubBillBrp.csproj", "{FF12C0A0-EB6F-435D-9BD5-1110B8CCED02}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModuleExcel", "..\Lskj.PubModuleExcel\Lskj.PubModuleExcel.csproj", "{3AFCDCE0-ADC9-45D1-8261-B72572A0389D}"
|
||||
@@ -193,8 +191,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PrintTool", "..\Lskj.P
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubInvoiceOut", "..\Lskj.PubInvoiceOut\Lskj.PubInvoiceOut.csproj", "{3A6C1F0D-548C-4EB7-BA4D-6728F9C2903B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubProductSysMge", "..\Lskj.PubProductSysMge\Lskj.PubProductSysMge.csproj", "{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mes_YzUsedby3", "..\mes_YzUsedby3\mes_YzUsedby3.csproj", "{C950D1DD-338A-412C-8EAA-5F05FF985AB2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubProductSmart", "..\Lskj.PubProductSmart\Lskj.PubProductSmart.csproj", "{8E450D76-7593-4361-AB1D-37AFCCB010B8}"
|
||||
@@ -231,10 +227,46 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBomAlter", "..\Lskj
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.AutoCreatWord", "..\Lskj.AutoCreatWord\Lskj.AutoCreatWord.csproj", "{6924BAEC-DE41-424C-B2B0-F479F8D6A1B0}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.ProductSched", "Lskj.ProductiSched\Lskj.ProductSched.csproj", "{2971D75B-B55D-49A3-898B-11D032A06232}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubTabDll", "..\Lskj.PubTabDll\Lskj.PubTabDll.csproj", "{AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.ProductSched", "..\Lskj.ProductSched\Lskj.ProductSched.csproj", "{2971D75B-B55D-49A3-898B-11D032A06232}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubControlDetail", "..\Lskj.PubControlDetail\Lskj.PubControlDetail.csproj", "{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBomImport", "..\Lskj.PubBomImport\Lskj.PubBomImport.csproj", "{8C507C31-8C19-46C9-82F8-85DDCAE69190}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs2", "..\cs2\cs2.csproj", "{6C2003FB-D164-4655-9DCB-F085F57BC885}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubArgoxPrint", "..\Lskj.PubArgoxPrint\Lskj.PubArgoxPrint.csproj", "{75F53E06-10E3-40AC-B989-B2FF3BF528A7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModuleDetailInfo2", "..\Lskj.PubModuleDetailInfo2\Lskj.PubModuleDetailInfo2.csproj", "{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBillSpecial", "..\Lskj.PubBillSpecial\Lskj.PubBillSpecial.csproj", "{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModuleDetail5", "..\Lskj.PubModuleDetail5\Lskj.PubModuleDetail5.csproj", "{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubBomImportNew", "..\Lskj.PubBomImportNew\Lskj.PubBomImportNew.csproj", "{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.QueryEssentialInfo", "..\Lskj.QueryEssentialInfo\Lskj.QueryEssentialInfo.csproj", "{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubImport", "..\Lskj.PubImport\Lskj.PubImport.csproj", "{C608E892-6CCD-4C8A-A305-4E84B24120F7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubPwdDecryption", "..\Lskj.PubPwdDecryption\Lskj.PubPwdDecryption.csproj", "{F54DB23F-35D3-4E68-B303-B58664ACA34D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModelAdd3", "..\Lskj.PubModelAdd3\Lskj.PubModelAdd3.csproj", "{E840FDDE-7F05-4260-8B56-A97EC4D9046B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubApiSetModule", "..\Lskj.PubApiSetModule\Lskj.PubApiSetModule.csproj", "{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubProductSysMge", "..\Lskj.PubProductSysMge\Lskj.PubProductSysMge.csproj", "{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubModuleExport", "..\Lskj.PubModuleExport\Lskj.PubModuleExport.csproj", "{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubGetChipInfo", "..\Lskj.PubGetChipInfo\Lskj.PubGetChipInfo.csproj", "{C8E55459-4410-4F15-9017-4EA560036E19}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.PubGroupSettings", "..\Lskj.PubGroupSettings\Lskj.PubGroupSettings.csproj", "{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lskj.Main", "..\Lskj.Main\Lskj.Main.csproj", "{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -505,16 +537,6 @@ Global
|
||||
{A51BF642-6543-4DE3-8948-83F558B72BD4}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{A51BF642-6543-4DE3-8948-83F558B72BD4}.Release|x86.ActiveCfg = Release|x86
|
||||
{A51BF642-6543-4DE3-8948-83F558B72BD4}.Release|x86.Build.0 = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|x86.Build.0 = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|x86.ActiveCfg = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|x86.Build.0 = Release|x86
|
||||
{FF12C0A0-EB6F-435D-9BD5-1110B8CCED02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FF12C0A0-EB6F-435D-9BD5-1110B8CCED02}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FF12C0A0-EB6F-435D-9BD5-1110B8CCED02}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
@@ -1243,18 +1265,6 @@ Global
|
||||
{3A6C1F0D-548C-4EB7-BA4D-6728F9C2903B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{3A6C1F0D-548C-4EB7-BA4D-6728F9C2903B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{3A6C1F0D-548C-4EB7-BA4D-6728F9C2903B}.Release|x86.Build.0 = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|x86.Build.0 = Release|Any CPU
|
||||
{C950D1DD-338A-412C-8EAA-5F05FF985AB2}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{C950D1DD-338A-412C-8EAA-5F05FF985AB2}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{C950D1DD-338A-412C-8EAA-5F05FF985AB2}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
@@ -1465,18 +1475,6 @@ Global
|
||||
{6924BAEC-DE41-424C-B2B0-F479F8D6A1B0}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{6924BAEC-DE41-424C-B2B0-F479F8D6A1B0}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6924BAEC-DE41-424C-B2B0-F479F8D6A1B0}.Release|x86.Build.0 = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|x86.Build.0 = Release|Any CPU
|
||||
{AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
@@ -1489,6 +1487,232 @@ Global
|
||||
{AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}.Release|x86.Build.0 = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{2971D75B-B55D-49A3-898B-11D032A06232}.Release|x86.Build.0 = Release|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{5B1FE500-405E-4E3C-8B5F-48D5BC45F85F}.Release|x86.Build.0 = Release|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{8C507C31-8C19-46C9-82F8-85DDCAE69190}.Release|x86.Build.0 = Release|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6C2003FB-D164-4655-9DCB-F085F57BC885}.Release|x86.Build.0 = Release|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{75F53E06-10E3-40AC-B989-B2FF3BF528A7}.Release|x86.Build.0 = Release|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{49EA2EDD-40A8-4BCC-B7B3-51CAF4E1A285}.Release|x86.Build.0 = Release|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{D0D0B28B-C31A-44DB-BF48-64F88141F6C2}.Release|x86.Build.0 = Release|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{BF4BCE45-D6E5-4BC9-B8FC-75F2108BE702}.Release|x86.Build.0 = Release|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{2808D18D-FE0D-450B-8DDC-6B46CBB7A453}.Release|x86.Build.0 = Release|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{4CAF9151-C465-4CCE-B2C3-DF272DD6371D}.Release|x86.Build.0 = Release|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{C608E892-6CCD-4C8A-A305-4E84B24120F7}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F54DB23F-35D3-4E68-B303-B58664ACA34D}.Release|x86.Build.0 = Release|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{E840FDDE-7F05-4260-8B56-A97EC4D9046B}.Release|x86.Build.0 = Release|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}.Release|x86.Build.0 = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{82F44AB1-62A0-4CAA-94B5-858EDF5F15C5}.Release|x86.Build.0 = Release|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{47DB8BBF-4DC9-4612-BE08-E28DFC1380DB}.Release|x86.Build.0 = Release|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{C8E55459-4410-4F15-9017-4EA560036E19}.Release|x86.Build.0 = Release|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6CBD4CEA-15E3-4E28-BC01-FA734E26746B}.Release|x86.Build.0 = Release|Any CPU
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Debug|x86.Build.0 = Debug|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|x86.ActiveCfg = Release|x86
|
||||
{BCA1E2B3-C4AB-4D2C-B519-3DCFDB5B83D6}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.UserSkins;
|
||||
using DevExpress.Skins;
|
||||
using DevExpress.LookAndFeel;
|
||||
using Lskj.Model;
|
||||
using Lskj.Business;
|
||||
using Lskj.Util;
|
||||
|
||||
namespace Lskj.PubCreatPPT
|
||||
{
|
||||
/// <summary>
|
||||
/// c#库被调用统一接口类
|
||||
/// </summary>
|
||||
public sealed class DllBaseClass : IForm
|
||||
{
|
||||
public DllBaseClass()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public DllBaseClass(string[] obj)
|
||||
{
|
||||
try
|
||||
{
|
||||
DynamicCreatPPT moduleModel = new DynamicCreatPPT(obj);
|
||||
FrmMain main = new FrmMain();
|
||||
this.SubForm = main;
|
||||
main.moduleModel = moduleModel;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogUtil.WriteError("Lskj.PubChart.dll--参数错误-->" + obj.ToString(), ex);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 窗口
|
||||
/// </summary>
|
||||
public Form SubForm { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
namespace Lskj.PubCreatPPT
|
||||
{
|
||||
partial class FrmMain
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(632, 278);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
using Lskj.Business.Impl;
|
||||
using Lskj.Control;
|
||||
using Lskj.Control.Model;
|
||||
using Lskj.Model;
|
||||
using Lskj.Util;
|
||||
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;
|
||||
|
||||
namespace Lskj.PubCreatPPT
|
||||
{
|
||||
public partial class FrmMain : BaseForm
|
||||
{
|
||||
public FrmMain()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
#region 公共变量
|
||||
/// <summary>
|
||||
/// ppt参数类型
|
||||
/// </summary>
|
||||
public DynamicCreatPPT moduleModel;
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// <para>说明:初始化基础档案上下增加</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2019-12-23 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
WaitForm.ShowForm();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.Instance.WriteError(ex);
|
||||
//MessageUtil.Show(ex);
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message, ex.Message);
|
||||
}
|
||||
finally
|
||||
{
|
||||
Lskj.Control.Model.AutoSizeChange.ControllInitializeSize(this);
|
||||
WaitForm.HideForm();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,91 @@
|
||||
<?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>56a843ee-5ce8-4e28-9ad2-908e7e8181b3</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Lskj.PubCreatPPT</RootNamespace>
|
||||
<AssemblyName>Lskj.PubCreatPPT</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.BonusSkins.v15.2" />
|
||||
<Reference Include="DevExpress.Data.v15.2" />
|
||||
<Reference Include="DevExpress.Utils.v15.2" />
|
||||
<Reference Include="DevExpress.Sparkline.v15.2.Core" />
|
||||
<Reference Include="DevExpress.XtraEditors.v15.2" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<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="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<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>
|
||||
</Compile>
|
||||
<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>
|
||||
<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;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Lskj.PubCreatPPT")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Lskj.PubCreatPPT")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2013")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("9006f149-aa49-4b8e-ba69-386d945fa738")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18034
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Lskj.PubCreatPPT.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[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>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Lskj.PubCreatPPT.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </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,118 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace Lskj.PubEncryption
|
||||
{
|
||||
/// <summary>
|
||||
/// AES对称加密
|
||||
/// </summary>
|
||||
public class AESUtil
|
||||
{
|
||||
private static string key = "lserpasebygyc222";
|
||||
|
||||
#region AES加解密
|
||||
/// <summary>
|
||||
///AES加密(加密步骤)
|
||||
///1,加密字符串得到2进制数组;
|
||||
///2,将2进制数组转为16进制;
|
||||
///3,进行base64编码
|
||||
/// </summary>
|
||||
/// <param name="toEncrypt">要加密的字符串</param>
|
||||
/// <param name="key">密钥</param>
|
||||
public static string Encrypt(string toEncrypt)
|
||||
{
|
||||
if (string.IsNullOrEmpty(toEncrypt)) return "";
|
||||
byte[] _key = Encoding.ASCII.GetBytes(key);
|
||||
byte[] _source = Encoding.UTF8.GetBytes(toEncrypt);
|
||||
|
||||
Aes aes = Aes.Create("AES");
|
||||
aes.Mode = CipherMode.ECB;
|
||||
aes.Padding = PaddingMode.PKCS7;
|
||||
aes.Key = _key;
|
||||
ICryptoTransform cTransform = aes.CreateEncryptor();
|
||||
byte[] cryptData = cTransform.TransformFinalBlock(_source, 0, _source.Length);
|
||||
string hexCryptString = Hex_2To16(cryptData);
|
||||
byte[] hexCryptData = Encoding.UTF8.GetBytes(hexCryptString);
|
||||
return Convert.ToBase64String(hexCryptData);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// AES解密(解密步骤)
|
||||
/// 1,将BASE64字符串转为16进制数组
|
||||
/// 2,将16进制数组转为字符串
|
||||
/// 3,将字符串转为2进制数据
|
||||
/// 4,用AES解密数据
|
||||
/// </summary>
|
||||
/// <param name="encryptedSource">已加密的内容</param>
|
||||
/// <param name="key">密钥</param>
|
||||
public static string Decrypt(string toDecrypt)
|
||||
{
|
||||
if (string.IsNullOrEmpty(toDecrypt)) return "";
|
||||
try
|
||||
{
|
||||
byte[] _key = Encoding.ASCII.GetBytes(key);
|
||||
Aes aes = Aes.Create("AES");
|
||||
aes.Mode = CipherMode.ECB;
|
||||
aes.Padding = PaddingMode.PKCS7;
|
||||
aes.Key = _key;
|
||||
ICryptoTransform cTransform = aes.CreateDecryptor();
|
||||
|
||||
byte[] encryptedData = Convert.FromBase64String(toDecrypt);
|
||||
string encryptedString = Encoding.UTF8.GetString(encryptedData);
|
||||
byte[] _source = Hex_16To2(encryptedString);
|
||||
byte[] originalSrouceData = cTransform.TransformFinalBlock(_source, 0, _source.Length);
|
||||
return Encoding.UTF8.GetString(originalSrouceData);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 2进制转16进制
|
||||
/// </summary>
|
||||
static string Hex_2To16(byte[] bytes)
|
||||
{
|
||||
string hexString = string.Empty;
|
||||
Int32 iLength = 65535;
|
||||
if (bytes != null)
|
||||
{
|
||||
StringBuilder strB = new StringBuilder();
|
||||
|
||||
if (bytes.Length < iLength)
|
||||
{
|
||||
iLength = bytes.Length;
|
||||
}
|
||||
|
||||
for (int i = 0; i < iLength; i++)
|
||||
{
|
||||
strB.Append(bytes[i].ToString("X2"));
|
||||
}
|
||||
hexString = strB.ToString();
|
||||
}
|
||||
return hexString;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 16进制转2进制
|
||||
/// </summary>
|
||||
static byte[] Hex_16To2(string hexString)
|
||||
{
|
||||
if ((hexString.Length % 2) != 0)
|
||||
{
|
||||
hexString += " ";
|
||||
}
|
||||
byte[] returnBytes = new Byte[hexString.Length / 2];
|
||||
for (Int32 i = 0; i < returnBytes.Length; i++)
|
||||
{
|
||||
returnBytes[i] = Convert.ToByte(hexString.Substring(i * 2, 2), 16);
|
||||
}
|
||||
return returnBytes;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,330 @@
|
||||
/******************************
|
||||
* 说明:数据库连接参数配置类
|
||||
* 创建人:龚宇超
|
||||
* 创建日期:2017-07-24
|
||||
* 修改人:
|
||||
* 修改日期:
|
||||
* 修改备注:
|
||||
* 版本:1.0.0.0
|
||||
******************************/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Microsoft.Win32;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Threading;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
||||
namespace Lskj.PubEncryption
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据库连接参数配置类
|
||||
/// </summary>
|
||||
public sealed class DBConfig
|
||||
{
|
||||
private static string _regKey = "AA_LS_Erp V2.0";
|
||||
private static DBConfig _instance = null;
|
||||
/// <summary>
|
||||
/// DBConfig静态单例对象
|
||||
/// </summary>
|
||||
/// <value>The instance.</value>
|
||||
public static DBConfig Instance
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_instance == null)
|
||||
{
|
||||
_instance = new DBConfig();
|
||||
_instance.ReadConfig();
|
||||
_instance.WriteConfig(false);
|
||||
}
|
||||
return _instance;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 程序上一次登录直连成功ip
|
||||
/// </summary>
|
||||
public string LocalLastIP;
|
||||
/// <summary>
|
||||
/// 程序上一次登录直连成功端口号
|
||||
/// </summary>
|
||||
public string LocalLastPort;
|
||||
/// <summary>
|
||||
/// 数据库名
|
||||
/// </summary>
|
||||
public string DataBase;
|
||||
/// <summary>
|
||||
/// 帐套
|
||||
/// </summary>
|
||||
public string DataBook;
|
||||
/// <summary>
|
||||
/// 服务器名
|
||||
/// </summary>
|
||||
public string ServerName;
|
||||
/// <summary>
|
||||
/// 登录名
|
||||
/// </summary>
|
||||
public string LoginName;
|
||||
/// <summary>
|
||||
/// 通知员工ID
|
||||
/// </summary>
|
||||
public string NoticeUserID;
|
||||
/// <summary>
|
||||
/// 通知员工姓名
|
||||
/// </summary>
|
||||
public string NoticeUserName;
|
||||
/// <summary>
|
||||
/// 系统筛选id
|
||||
/// </summary>
|
||||
public string ProGramme;
|
||||
/// <summary>
|
||||
/// 文件升级标志
|
||||
/// </summary>
|
||||
public bool UpdateSet;
|
||||
///<summary>
|
||||
///智能客户端启动
|
||||
///</summary>
|
||||
public bool SmallClient;
|
||||
///<summary>
|
||||
///智能客户端启动
|
||||
///</summary>
|
||||
public bool NoticeClient;
|
||||
/// <summary>
|
||||
/// The notice show window
|
||||
/// </summary>
|
||||
public bool NoticeShowWindow;
|
||||
/// <summary>
|
||||
/// The notice flicker
|
||||
/// </summary>
|
||||
public bool NoticeFlicker;
|
||||
/// <summary>
|
||||
/// The notice exit
|
||||
/// </summary>
|
||||
public bool NoticeExit;
|
||||
/// <summary>
|
||||
/// 内外外网标志
|
||||
/// </summary>
|
||||
public bool Internet;
|
||||
/// <summary>
|
||||
/// 是否注册过高拍仪
|
||||
/// </summary>
|
||||
public bool IsCmpCapture;
|
||||
///<summary>
|
||||
///是否记住密码
|
||||
///</summary>
|
||||
public bool IsRemPwd;
|
||||
/// <summary>
|
||||
/// 班次
|
||||
/// </summary>
|
||||
public string BCName;
|
||||
public bool IsConsumer;
|
||||
public string Connection;
|
||||
public string dephiConnection;
|
||||
public string Connection1 = "QkYyNjE3QTcxQjc4RDFFMDlERjlFMDc1QkIyMDVGRjdDRUIyMEVEOUM5NjBCQjc5NTA5NzdEQTk0MkNEQTE1RTFGMEIwMThFNUJDQTE0RjE1NjQwM0U5QTYxMThCMDY2MTA4NkE2OTIxNTNBQjQ0MjRDMDIwM0Q5OEVDQjkwQTVCN0RENjJBODkxNUNGOUM5OEI5RTEzN0E3ODBERjg2OURCNEQ5QTlCMzhCQUZGQ0FBNUREMjY4M0FCODg2RTkxMDRERTQ3MjRGQTE1MERDOTJGRDFDRjY2REQ1ODYyREUzN0RGM0ZBQzc4NzJENjIwNDg4RUUyNkI3ODE1RjlDM0I0MjNCQzcyOENDN0VDMTg0QUU0MjgwMDVDMENBOUZF";
|
||||
public string Connection2 = "Njk5NTI5NDE5RUI2ODM4MEQ5MEJFQkU3NzM3REQxQThDREM4NzRFNUY3QzYzMkVEOEEzODRBMzJBRjIwRUY4Njg4Qjg3M0Q1MTY3MjAxRkY2OTNGMzk3MUZBRjMxMzdDQ0U4RjMxQUVERjdBQzI5MEExNjQ3ODlDNkEwODVBMUJDMUJGN0U2RUJENkMwQzhERTFCNzgyMjg1MjBFQkE2MkU4NjMyQjBEMDY0QjQ0MzVDQ0QxMjMzQTA3NjI3QjQyOTczQUJBMUI0OUNGMkE5REYzOTI2NDFBRTY3QzFGQTJCRDFDNUIzQ0FCMzA4QzEwMjc2MTI5QjU2MzgxMjBDN0MwNUFGNUU3QTdBRTI2REQzREEyM0FFM0I2MUVGMzYw";
|
||||
public string Connection3 = "NjQ0OTQzRTY1MkUwQUUxQTdCQTlBRjkwRjI4QkU1MTRDNTc5RDI0RTg5Q0Q5RjU2QjQ3RjY4REY2NEY1QjM5QUNCREIzMTBDRUMxREQ5NzlBREUxMjQ5NzdCM0Y0RUM1Qjc2MEI3MzFFNTcxQ0Q5MzA5RTI5RUFGNDQxOTMyRkQ1RTdDNjcyRTFCQjUyM0Y4RkE2NEE2N0QyNzEyQzVCRTcyOUJBRTYxMjMzRjYwMjg5NzIyRjJGOTdDMzE0NTQ0MjIwQzFBNEI4MDI0OUNFNTJDMzlEOEMwNjY1MjA3M0YyQkQ0NDRDOTg5REMxMUVCMDM1MUU0OTEzQzQwRDBDQ0E3Rjk4QjgyNzRFRjYzQzBEMDcxQzVFMjdCMTIxNkE2MzI0MEIyNDkwOERGNUFDMjRGMEYxRkFFNzJEQTIwM0EyRjU0N0U4OEFENDBEMjEzNUY1OTI5NUUxRDM1N0I0Rg==";
|
||||
public string Connection4 = "NjU3MDQ0Q0JDREI0Mjc2OUY4RTBCOEIxMjBDOEM4MEQ2QUMwMjNEOUVDOTQ4NEMwRDE2RDdEMTQwNEQwODg3MURBMzRENkIxNEFENEYwQTcyMkEwMTE0NDhDM0NGNUZBQ0U4RjMxQUVERjdBQzI5MEExNjQ3ODlDNkEwODVBMUI3NDlCRkU1RDBGQUI0RUJFODlFNkE5MzlFNkIzODAyODEyRjFGQzE4NjVCMEM2OThDRDgzRUY4M0ZGNEExRkEyRUFGQzE4NTg1QkZBMEMwRTI5NzAzQzkzMzY2RUU0Mzc5RkI4NkVDRTM3NDNBMTk0ODJBQTNDNUY2RDlGMzU3MUEyOUEzOEI5RjA3NzA2NjM1NUNFM0U5RjNCNzMzM0RBMUY2MDkxQUZDQ0YxN0Q5MDgwOEY0NzZEMUM3MjQyMkRBOUY2N0NFRUE3MTkwNzk0OTA2NUYyRDJBMEM4RUU4OQ==";
|
||||
public string Connection5 = "QkYyNjE3QTcxQjc4RDFFMDlERjlFMDc1QkIyMDVGRjdDRUIyMEVEOUM5NjBCQjc5NTA5NzdEQTk0MkNEQTE1RTFGMEIwMThFNUJDQTE0RjE1NjQwM0U5QTYxMThCMDY2RjA1ODM0OUM0MDQ3RkQ3MkQ0NkEzQUIyRURFRUVGNzVEQjA0OTZDNUEwNUYxMkZBMTNENTdGODFFRjk5RTI0MTA2MjVGRUJDNTFFQTg3NUE1Q0I1MjAxOTI2QjNBNTM1QUQ1OTE4NUFEODU3MjYxNUNFNzk5MEU4RDgxRUM1NDlDRjM3RTZDOTQzRjExQzkwRTUyQzg1RDA0QzMzMzdCNjZBNjNEN0EyNjdBOTE3NEQ0RUE0NjMzMjhBOTYwQTVGOERDN0M3NzgxODA2RDM3MDU1QjBCREQzN0M1Njk4NEQ=";
|
||||
public string Connection6 = "Njk5NTI5NDE5RUI2ODM4MEQ5MEJFQkU3NzM3REQxQThDREM4NzRFNUY3QzYzMkVEOEEzODRBMzJBRjIwRUY4Njg4Qjg3M0Q1MTY3MjAxRkY2OTNGMzk3MUZBRjMxMzdDQ0U4RjMxQUVERjdBQzI5MEExNjQ3ODlDNkEwODVBMUI3NDlCRkU1RDBGQUI0RUJFODlFNkE5MzlFNkIzODAyODEyRjFGQzE4NjVCMEM2OThDRDgzRUY4M0ZGNEExRkEyRUFGQzE4NTg1QkZBMEMwRTI5NzAzQzkzMzY2RUU0Mzc5RkI4NkVDRTM3NDNBMTk0ODJBQTNDNUY2RDlGMzU3MTcwNkFDOUM4Qjg5RUE3RkJDRTgzQjQ4RUJBMzI5RjFE";
|
||||
|
||||
/// <summary>
|
||||
/// <para>说明:读取注册表配置</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-08-07 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
public void ReadConfig(bool isRefConfigFlag = false)//isRefConfigFlag是否更改DB
|
||||
{
|
||||
RegistryKey regKey = Registry.CurrentUser;
|
||||
|
||||
try
|
||||
{
|
||||
RegistryKey erpKey = regKey.CreateSubKey("AA_LS_Erp V2.0");
|
||||
erpKey.CreateSubKey("File");
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
|
||||
RegistryKey subKey = regKey.OpenSubKey(_regKey);
|
||||
subKey = subKey.OpenSubKey("File", true);
|
||||
|
||||
DataBase = subKey.GetValue("datastr", "") + "";
|
||||
ServerName = subKey.GetValue("ServerName", "") + "";
|
||||
LoginName = subKey.GetValue("LoginName", "") + "";
|
||||
UpdateSet = subKey.GetValue("UpdateSet", "0") + "" == "1" || subKey.GetValue("UpdateSet", "0") + "" == "True" ? true : false;
|
||||
SmallClient = subKey.GetValue("SmallClient", "0") + "" == "1" || subKey.GetValue("SmallClient", "0") + "" == "True" ? true : false;
|
||||
NoticeClient = subKey.GetValue("NoticeClient", "0") + "" == "1" || subKey.GetValue("NoticeClient", "0") + "" == "True" ? true : false;
|
||||
Internet = subKey.GetValue("Internet", "1") + "" == "0" ? true : false;
|
||||
IsConsumer = subKey.GetValue("IsConsumer", "1") + "" == "1" ? true : false;
|
||||
ProGramme = subKey.GetValue("ProGramme", "") + "";
|
||||
NoticeUserName = subKey.GetValue("NoticeUserName", "") + "";
|
||||
NoticeUserID = subKey.GetValue("NoticeUserID", "") + "";
|
||||
NoticeShowWindow = subKey.GetValue("NoticeShowWindow", "0") + "" == "1" || subKey.GetValue("NoticeShowWindow", "0") + "" == "True" ? true : false;
|
||||
NoticeFlicker = subKey.GetValue("NoticeFlicker", "0") + "" == "0" || subKey.GetValue("NoticeFlicker", "0") + "" == "False" ? false : true;
|
||||
NoticeExit = subKey.GetValue("NoticeExit", "0") + "" == "1" || subKey.GetValue("NoticeExit", "0") + "" == "True" ? true : false;
|
||||
IsRemPwd = subKey.GetValue("IsRemPwd", "0") + "" == "1" || subKey.GetValue("IsRemPwd", "0") + "" == "True" ? true : false;
|
||||
if (subKey.GetValue("IsCmpCapture") == null)
|
||||
{
|
||||
subKey.SetValue("IsCmpCapture", 0);
|
||||
}
|
||||
IsCmpCapture = subKey.GetValue("IsCmpCapture", "0") + "" == "1" || subKey.GetValue("IsCmpCapture", "0") + "" == "True" ? true : false;
|
||||
|
||||
try
|
||||
{
|
||||
DataBook = subKey.GetValue("DataBook", "") + "";
|
||||
LocalLastIP = subKey.GetValue("LocalLastIP", "") + "";
|
||||
LocalLastPort = subKey.GetValue("LocalLastPort", "") + "";
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
string file = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SystemResources.ini");
|
||||
if (File.Exists(file))
|
||||
{
|
||||
string lastIPPort = string.Format("{0}:{1}", IniHelper.Read("SystemResources.ini", "LocalLastIP"), IniHelper.Read("SystemResources.ini", "LocalLastPort"));
|
||||
string downloadAESStrKey = string.Format("DownloadAESStr_{0}", lastIPPort);
|
||||
string[] downloadAESStrValue = IniHelper.Read("SystemResources.ini", downloadAESStrKey).Split('^');
|
||||
string downloadAESStr = downloadAESStrValue.Length == 2 ? downloadAESStrValue[1] : "";
|
||||
string configFlag = IniHelper.Read("SystemResources.ini", "FrmConfigFlag");
|
||||
if (configFlag.Equals("1") && !isRefConfigFlag)
|
||||
{
|
||||
//string args = AESUtil.Decrypt(File.ReadAllText(file));
|
||||
if (!string.IsNullOrEmpty(downloadAESStr))
|
||||
{
|
||||
string args = AESUtil.Decrypt(downloadAESStr);
|
||||
string[] controlAfgs = args.Split('^');
|
||||
if (controlAfgs != null && controlAfgs.Length == 5)
|
||||
{
|
||||
ServerName = controlAfgs[0];
|
||||
DataBase = controlAfgs[1];
|
||||
string str = "Server="+ServerName+";Database="+ DataBase + ";Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5;MultipleActiveResultSets=true";
|
||||
string dephistr = "Provider=SQLOLEDB.1;Server=" + ServerName + ";Database=" + DataBase + ";Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5";
|
||||
Connection = AESUtil.Encrypt(str);
|
||||
dephiConnection = AESUtil.Encrypt(dephistr);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:激活高拍仪控件</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2018-07-31 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
public void SetActiveOcx(string subkeyName)
|
||||
{
|
||||
RegistryKey regKey = Registry.CurrentUser;
|
||||
RegistryKey subKey = regKey.OpenSubKey(_regKey);
|
||||
subKey = subKey.OpenSubKey("File", true);
|
||||
subKey.SetValue(subkeyName, 1);
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:写配置</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-08-07 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
public void WriteConfig(bool isWriteSaDFlag)
|
||||
{
|
||||
RegistryKey regKey = Registry.CurrentUser;
|
||||
RegistryKey subKey = regKey.OpenSubKey(_regKey);
|
||||
subKey = subKey.OpenSubKey("File", true);
|
||||
if (isWriteSaDFlag)
|
||||
{
|
||||
subKey.SetValue("datastr", DataBase);
|
||||
subKey.SetValue("ServerName", ServerName);
|
||||
}
|
||||
subKey.SetValue("LoginName", LoginName);
|
||||
subKey.SetValue("UpdateSet", UpdateSet);
|
||||
subKey.SetValue("SmallClient", SmallClient);
|
||||
subKey.SetValue("NoticeClient", NoticeClient);
|
||||
subKey.SetValue("DataBook", DataBook);
|
||||
subKey.SetValue("NoticeUserID", NoticeUserID);
|
||||
subKey.SetValue("ProGramme", ProGramme);
|
||||
subKey.SetValue("NoticeUserName", NoticeUserName);
|
||||
subKey.SetValue("NoticeShowWindow", NoticeShowWindow);
|
||||
subKey.SetValue("NoticeFlicker", NoticeFlicker);
|
||||
subKey.SetValue("NoticeExit", NoticeExit);
|
||||
subKey.SetValue("IsRemPwd", IsRemPwd);
|
||||
subKey.Close();
|
||||
}
|
||||
|
||||
|
||||
public void WriteConfig()
|
||||
{
|
||||
RegistryKey regKey = Registry.CurrentUser;
|
||||
RegistryKey subKey = regKey.OpenSubKey(_regKey);
|
||||
subKey = subKey.OpenSubKey("File", true);
|
||||
subKey.SetValue("datastr", DataBase);
|
||||
subKey.SetValue("ServerName", ServerName);
|
||||
subKey.SetValue("LoginName", LoginName);
|
||||
subKey.SetValue("UpdateSet", UpdateSet);
|
||||
subKey.SetValue("SmallClient", SmallClient);
|
||||
subKey.SetValue("NoticeClient", NoticeClient);
|
||||
subKey.SetValue("DataBook", DataBook);
|
||||
subKey.SetValue("NoticeUserID", NoticeUserID);
|
||||
subKey.SetValue("ProGramme", ProGramme);
|
||||
subKey.SetValue("NoticeUserName", NoticeUserName);
|
||||
subKey.SetValue("NoticeShowWindow", NoticeShowWindow);
|
||||
subKey.SetValue("NoticeFlicker", NoticeFlicker);
|
||||
subKey.SetValue("NoticeExit", NoticeExit);
|
||||
subKey.SetValue("IsRemPwd", IsRemPwd);
|
||||
subKey.Close();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>说明:获取C#连接字符串</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-08-07 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <returns>System.String.</returns>
|
||||
public string GetConnection(string Connection = "")
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Connection))
|
||||
{
|
||||
return string.Format(AESUtil.Decrypt(Connection), ServerName, DataBase);
|
||||
}
|
||||
return IsConsumer ? string.Format(AESUtil.Decrypt(Connection1), ServerName, DataBase) : string.Format(AESUtil.Decrypt(Connection5), ServerName, DataBase);
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:获取delphi连接字符串</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-08-07 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <returns>System.String.</returns>
|
||||
public string GetDelphiConnection(string Connection = "")
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Connection))
|
||||
{
|
||||
return string.Format(AESUtil.Decrypt(Connection), ServerName, DataBase);
|
||||
}
|
||||
return IsConsumer ? string.Format(AESUtil.Decrypt(Connection2), ServerName, DataBase) : string.Format(AESUtil.Decrypt(Connection6), ServerName, DataBase);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,235 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.PubEncryption
|
||||
{
|
||||
public class IniHelper
|
||||
{
|
||||
/// <summary>
|
||||
/// 写入INI文件
|
||||
/// </summary>
|
||||
/// <param name="section">节点名称[如[TypeName]]</param>
|
||||
/// <param name="key">键</param>
|
||||
/// <param name="val">值</param>
|
||||
/// <param name="filepath">文件路径</param>
|
||||
/// <returns></returns>
|
||||
[DllImport("kernel32")]
|
||||
private static extern long WritePrivateProfileString(string section, string key, string val, string filepath);
|
||||
/// <summary>
|
||||
/// 读取INI文件
|
||||
/// </summary>
|
||||
/// <param name="section">节点名称</param>
|
||||
/// <param name="key">键</param>
|
||||
/// <param name="def">值</param>
|
||||
/// <param name="retval">stringbulider对象</param>
|
||||
/// <param name="size">字节大小</param>
|
||||
/// <param name="filePath">文件路径</param>
|
||||
/// <returns></returns>
|
||||
[DllImport("kernel32")]
|
||||
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retval, int size, string filePath);
|
||||
/// <summary>
|
||||
/// 获取某个指定节点(Section)中所有KEY和Value
|
||||
/// </summary>
|
||||
/// <param name="lpAppName">节点名称</param>
|
||||
/// <param name="lpReturnedString">返回值的内存地址,每个之间用\0分隔</param>
|
||||
/// <param name="nSize">内存大小(characters)</param>
|
||||
/// <param name="lpFileName">Ini文件</param>
|
||||
/// <returns>内容的实际长度,为0表示没有内容,为nSize-2表示内存大小不够</returns>
|
||||
[DllImport("kernel32")]
|
||||
private static extern int GetPrivateProfileSection(string lpAppName, byte[] lpszReturnBuffer, int nSize, string lpFileName);
|
||||
/// <summary>
|
||||
/// <para>说明:写入Ini文件(以键值对的形式存放)</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-07-22</para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="key">键</param>
|
||||
/// <param name="value">值</param>
|
||||
/// <returns></returns>
|
||||
public static void Write(string key, string value)
|
||||
{
|
||||
try
|
||||
{
|
||||
//根据INI文件名设置要写入INI文件的节点名称
|
||||
//此处的节点名称完全可以根据实际需要进行配置
|
||||
string filePath = Application.StartupPath + "\\"+ "MenuConfig.ini";
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
File.Create(filePath);
|
||||
}
|
||||
string fileName = Path.GetFileNameWithoutExtension(filePath);
|
||||
WritePrivateProfileString(fileName, key, value, filePath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:通过Key获取Value值</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-07-22</para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="key">键</param>
|
||||
/// <returns>值</returns>
|
||||
public static string Read(string key)
|
||||
{
|
||||
string value = string.Empty;
|
||||
try
|
||||
{
|
||||
//判读INI文件是否存在
|
||||
string filePath = Application.StartupPath + "\\" + "MenuConfig.ini";
|
||||
if (File.Exists(filePath))
|
||||
{
|
||||
StringBuilder temp = new StringBuilder(1024);
|
||||
string fileName = Path.GetFileNameWithoutExtension(filePath);
|
||||
GetPrivateProfileString(fileName, key, "", temp, 1024, filePath);
|
||||
|
||||
return temp + "";
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>说明:写入Ini文件(以键值对的形式存放)</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-07-22</para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="key">键</param>
|
||||
/// <param name="value">值</param>
|
||||
/// <returns></returns>
|
||||
public static void Write(string iniName, string key, string value)
|
||||
{
|
||||
try
|
||||
{
|
||||
//根据INI文件名设置要写入INI文件的节点名称
|
||||
//此处的节点名称完全可以根据实际需要进行配置
|
||||
string filePath = Path.Combine(new string[] { Application.StartupPath + "\\" + iniName });
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
File.Create(filePath);
|
||||
}
|
||||
string fileName = Path.GetFileNameWithoutExtension(filePath);
|
||||
WritePrivateProfileString(fileName, key, value, filePath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:通过Key获取Value值</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-07-22</para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="key">键</param>
|
||||
/// <returns>值</returns>
|
||||
public static string Read(string iniName, string key)
|
||||
{
|
||||
string value = string.Empty;
|
||||
try
|
||||
{
|
||||
//判读INI文件是否存在 PubUtil.AbsolutelyPath
|
||||
string filePath = Path.Combine(new string[] { Application.StartupPath + "\\" + iniName });
|
||||
if (File.Exists(filePath))
|
||||
{
|
||||
StringBuilder temp = new StringBuilder(1024);
|
||||
string fileName = Path.GetFileNameWithoutExtension(filePath);
|
||||
GetPrivateProfileString(fileName, key, "", temp, 1024, filePath);
|
||||
|
||||
return temp + "";
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
return value;
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:通过Key获取Value值</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-07-22</para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="key">键</param>
|
||||
/// <returns>值</returns>
|
||||
public static string Read(string iniName, string mainKey, string listKey)
|
||||
{
|
||||
string value = string.Empty;
|
||||
try
|
||||
{
|
||||
//判读INI文件是否存在
|
||||
string filePath = Path.Combine(new string[] { Application.StartupPath + "\\" + iniName });
|
||||
if (File.Exists(filePath))
|
||||
{
|
||||
StringBuilder temp = new StringBuilder(1024);
|
||||
string fileName = Path.GetFileNameWithoutExtension(filePath);
|
||||
GetPrivateProfileString(mainKey, listKey, "", temp, 1024, filePath);
|
||||
|
||||
return temp + "";
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
return value;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取INI文件中指定节点(Section)中的所有条目(key=value形式)
|
||||
/// </summary>
|
||||
/// <param name="iniFile">Ini文件</param>
|
||||
/// <param name="section">节点名称</param>
|
||||
/// <returns>指定节点中的所有项目,没有内容返回string[0]</returns>
|
||||
public static Dictionary<string, string> GetSectionKeys(string iniFile, string category)
|
||||
{
|
||||
Dictionary<string, string> result = new Dictionary<string, string>();
|
||||
try
|
||||
{
|
||||
string filePath = Path.Combine(new string[] { Application.StartupPath + "\\" + iniFile });
|
||||
if (File.Exists(filePath))
|
||||
{
|
||||
byte[] buffer = new byte[2048];
|
||||
GetPrivateProfileSection(category, buffer, 2048, filePath);
|
||||
String[] tmp = Encoding.Default.GetString(buffer).Trim('\0').Split('\0');
|
||||
foreach (String entry in tmp)
|
||||
{
|
||||
string[] v = entry.Split('=');
|
||||
result.Add(v[0], v[1]);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{F0824BD9-1F45-458E-BC5E-7030AD79F530}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Lskj.PubEncryption</RootNamespace>
|
||||
<AssemblyName>Lskj.PubEncryption</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AESUtil.cs" />
|
||||
<Compile Include="DBConfig.cs" />
|
||||
<Compile Include="IniHelper.cs" />
|
||||
<Compile Include="PubEncryption.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Transmission.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("Lskj.PubEncryption")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Lskj.PubEncryption")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||
//请将此类型的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("f0824bd9-1f45-458e-bc5e-7030ad79f530")]
|
||||
|
||||
// 程序集的版本信息由下列四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 生成号
|
||||
// 修订号
|
||||
//
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.PubEncryption
|
||||
{
|
||||
|
||||
public interface ServerDirectConnection
|
||||
{
|
||||
string ConnectServer(bool isSave);
|
||||
}
|
||||
/// <summary>
|
||||
/// 公共调用加密功能
|
||||
/// </summary>
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
[Guid("D98EA347-25B6-4DEB-89E2-610730EF728E")]
|
||||
[ProgId("Lskj.PubEncryption.ServerDirectConnection")]
|
||||
public class PubEncryption:ServerDirectConnection
|
||||
{
|
||||
/// <summary>
|
||||
/// 默认下载地址
|
||||
/// </summary>
|
||||
public string filePath = string.Empty;
|
||||
/// <summary>
|
||||
/// 返回地址值
|
||||
/// </summary>
|
||||
public string outText = string.Empty;
|
||||
/// <summary>
|
||||
/// 账套数据
|
||||
/// </summary>
|
||||
public DataTable sourceTab = new DataTable();
|
||||
|
||||
/// <summary>
|
||||
/// 验证成功后写入本地ini配置中
|
||||
/// </summary>
|
||||
/// <param name="txtIP"></param>
|
||||
/// <param name="txtPort"></param>
|
||||
/// <param name="txtZTName"></param>
|
||||
public void Verification(string txtIP,string txtPort,string txtZTName)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(txtZTName))
|
||||
{
|
||||
//服务器下载
|
||||
string newServerName = "http://" + txtIP + txtPort;
|
||||
newServerName = !newServerName.EndsWith("/") ? newServerName + "/" : newServerName;
|
||||
string newfilePath = Path.Combine(newServerName, "SystemResources.txt");
|
||||
//string name = WebRequest.Create(filePath).GetResponse().GetResponseStream().ToString();
|
||||
string fileName = "SystemResources.txt";//客户端保存的文件名
|
||||
WebClient webClient = new WebClient();
|
||||
webClient.Encoding = Encoding.UTF8;
|
||||
string newoutText = newfilePath != filePath ? webClient.DownloadString(newfilePath) : outText;
|
||||
outText = newoutText.Trim();
|
||||
string IPPort = string.Format("{0}:{1}", txtIP, txtPort);
|
||||
string writeText = string.Format("{0}^{1}", txtZTName, outText);
|
||||
IniHelper.Write("SystemResources.ini", string.Format("DownloadAESStr_{0}", IPPort), writeText);
|
||||
IniHelper.Write("SystemResources.ini", "LocalLastIP", txtIP);
|
||||
IniHelper.Write("SystemResources.ini", "LocalLastPort", txtPort);
|
||||
IniHelper.Write("SystemResources.ini", "LocalLastPortName", txtZTName);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("请设置账套名!");
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:绑定多账套类型接口</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2017-08-09 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
||||
private Transmission AllConfigLoad()
|
||||
{
|
||||
Transmission transmission = new Transmission();
|
||||
sourceTab.Columns.Add("dm");
|
||||
sourceTab.Columns.Add("mc");
|
||||
try
|
||||
{
|
||||
Dictionary<string, string> sourceDic = IniHelper.GetSectionKeys("SystemResources.ini", "SystemResources");
|
||||
foreach (string key in sourceDic.Keys)
|
||||
{
|
||||
if (key.Contains("DownloadAESStr_"))
|
||||
{
|
||||
DataRow row = sourceTab.NewRow();
|
||||
string[] keyArgs = key.Split('_');
|
||||
if (keyArgs.Length == 2)
|
||||
{
|
||||
row["dm"] = keyArgs[1];//ip+port
|
||||
row["mc"] = sourceDic[key].Split('^')[0];//账套名
|
||||
sourceTab.Rows.Add(row);
|
||||
}
|
||||
else
|
||||
continue;
|
||||
}
|
||||
}
|
||||
transmission.BandTable = sourceTab;
|
||||
transmission.txtZT= string.Format("{0}:{1}", IniHelper.Read("SystemResources.ini", "LocalLastIP"), IniHelper.Read("SystemResources.ini", "LocalLastPort"));
|
||||
try
|
||||
{
|
||||
DataRow focusRow = sourceTab.Select(transmission.txtZT)[0];
|
||||
transmission.txtiP = (focusRow["dm"] + "").Split(':')[0];
|
||||
transmission.txtport = (focusRow["dm"] + "").Split(':')[1];
|
||||
transmission.txtZTName = focusRow["mc"] + "";
|
||||
return transmission;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
return transmission;
|
||||
//this.txtIP.Text = IniHelper.Read("SystemResources.ini", "LocalLastIP");
|
||||
//this.txtPort.Text = IniHelper.Read("SystemResources.ini", "LocalLastPort");
|
||||
//this.txtZTName.Text = IniHelper.Read("SystemResources.ini", "LocalLastPortName");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("获取数据失败");
|
||||
return transmission;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>说明:连接服务器</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2017-08-09 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="isSave">if set to <c>true</c> [is save].</param>
|
||||
public string ConnectServer(bool isSave = false)
|
||||
{
|
||||
string ip = DBConfig.Instance.LocalLastIP;
|
||||
string textport = DBConfig.Instance.LocalLastPort;
|
||||
string dephistr = string.Empty;//调用时候创建返回集合
|
||||
if (!string.IsNullOrEmpty(textport))
|
||||
{
|
||||
// 测试数据库连接
|
||||
try
|
||||
{
|
||||
string defaultPort = ":" + textport;
|
||||
//服务器下载
|
||||
string newServerName = "http://" + ip + defaultPort;
|
||||
newServerName = !newServerName.EndsWith("/") ? newServerName + "/" : newServerName;
|
||||
string newfilePath = Path.Combine(newServerName, "SystemResources.txt");
|
||||
//string name = WebRequest.Create(filePath).GetResponse().GetResponseStream().ToString();
|
||||
string fileName = "SystemResources.txt";//客户端保存的文件名
|
||||
WebClient webClient = new WebClient();
|
||||
webClient.Encoding = Encoding.UTF8;
|
||||
//这里使用DownloadString方法,如果是不需要对文件的文本内容做处理,直接保存,那么可以直接使用功能DownloadFile(url,savepath)直接进行文件保存。
|
||||
string newoutText = newfilePath != filePath ? webClient.DownloadString(newfilePath) : outText;
|
||||
outText = newoutText.Trim();
|
||||
filePath = newfilePath;
|
||||
//File.WriteAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SystemResources.txt"), outText);
|
||||
string args = AESUtil.Decrypt(outText);
|
||||
string[] controlAfgs = args.Split('^');
|
||||
if (controlAfgs != null && controlAfgs.Length == 5)
|
||||
{
|
||||
dephistr = "Provider=SQLOLEDB.1;Server={0};Database={1};Persist Security Info=True;User ID=" + controlAfgs[2] + ";Password=" + controlAfgs[3] + ";Connection Timeout=5";
|
||||
//dephistr = AESUtil.Encrypt(dephistr);
|
||||
}
|
||||
Verification(ip, textport, dephistr);
|
||||
//IniHelper.Write("SystemResources.ini", "FrmConfigFlag", "1");
|
||||
return dephistr;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("解析失败!" + ex);
|
||||
return dephistr;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return DBConfig.Instance.dephiConnection;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Lskj.PubEncryption
|
||||
{
|
||||
public class Transmission
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 返回上一次的账套
|
||||
/// </summary>
|
||||
public string txtZT="";
|
||||
/// <summary>
|
||||
/// 返回上一次的账套
|
||||
/// </summary>
|
||||
public string txtZTName = "";
|
||||
/// <summary>
|
||||
/// 返回上一次的IP
|
||||
/// </summary>
|
||||
public string txtiP = "";
|
||||
/// <summary>
|
||||
/// 返回上一次的IP端口
|
||||
/// </summary>
|
||||
public string txtport = "";
|
||||
/// <summary>
|
||||
/// 返回的数据源
|
||||
/// </summary>
|
||||
public DataTable BandTable;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
namespace Lskj.SweepCode.Control
|
||||
{
|
||||
partial class SweepButton
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.btn_title = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btn_title
|
||||
//
|
||||
this.btn_title.BackColor = System.Drawing.Color.White;
|
||||
this.btn_title.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.btn_title.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btn_title.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.btn_title.Font = new System.Drawing.Font("宋体", 15F);
|
||||
this.btn_title.Location = new System.Drawing.Point(0, 0);
|
||||
this.btn_title.Name = "btn_title";
|
||||
this.btn_title.Size = new System.Drawing.Size(150, 48);
|
||||
this.btn_title.TabIndex = 5;
|
||||
this.btn_title.Text = "按钮";
|
||||
this.btn_title.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// SweepButton
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.btn_title);
|
||||
this.Name = "SweepButton";
|
||||
this.Size = new System.Drawing.Size(150, 48);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label btn_title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.SweepCode.Control
|
||||
{
|
||||
public partial class SweepButton : UserControl
|
||||
{
|
||||
public SweepButton()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// 标题对象
|
||||
/// </summary>
|
||||
/// <value>The title label object.</value>
|
||||
public Label TitleLabelObj { get { return btn_title; } }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,91 @@
|
||||
namespace Lskj.SweepCode.Control
|
||||
{
|
||||
partial class SweepControl
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
this.plRight = new System.Windows.Forms.Panel();
|
||||
this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit();
|
||||
this.lbTitle = new System.Windows.Forms.Label();
|
||||
this.plRight.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// plRight
|
||||
//
|
||||
this.plRight.Controls.Add(this.buttonEdit1);
|
||||
this.plRight.Controls.Add(this.lbTitle);
|
||||
this.plRight.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.plRight.Location = new System.Drawing.Point(0, 0);
|
||||
this.plRight.Name = "plRight";
|
||||
this.plRight.Size = new System.Drawing.Size(618, 38);
|
||||
this.plRight.TabIndex = 7;
|
||||
//
|
||||
// buttonEdit1
|
||||
//
|
||||
this.buttonEdit1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.buttonEdit1.Location = new System.Drawing.Point(119, 0);
|
||||
this.buttonEdit1.Name = "buttonEdit1";
|
||||
this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, global::Lskj.SweepCode.Properties.Resources.Codelight, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)});
|
||||
this.buttonEdit1.Properties.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.buttonEdit1.Size = new System.Drawing.Size(499, 37);
|
||||
this.buttonEdit1.TabIndex = 4;
|
||||
//
|
||||
// lbTitle
|
||||
//
|
||||
this.lbTitle.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.lbTitle.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.Black;
|
||||
this.lbTitle.Location = new System.Drawing.Point(0, 0);
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.Size = new System.Drawing.Size(119, 38);
|
||||
this.lbTitle.TabIndex = 3;
|
||||
this.lbTitle.Text = "扫码识别信息";
|
||||
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// SweepControl
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.Controls.Add(this.plRight);
|
||||
this.Name = "SweepControl";
|
||||
this.Size = new System.Drawing.Size(618, 38);
|
||||
this.plRight.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel plRight;
|
||||
private System.Windows.Forms.Label lbTitle;
|
||||
private DevExpress.XtraEditors.ButtonEdit buttonEdit1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.SweepCode.Control
|
||||
{
|
||||
public partial class SweepControl : UserControl
|
||||
{
|
||||
public SweepControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// 标题对象
|
||||
/// </summary>
|
||||
/// <value>The title label object.</value>
|
||||
public Label TitleLabelObj { get { return lbTitle; } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using DevExpress.UserSkins;
|
||||
using DevExpress.Skins;
|
||||
using DevExpress.LookAndFeel;
|
||||
using Lskj.Util;
|
||||
using Lskj.Model;
|
||||
using Lskj.Business;
|
||||
|
||||
namespace Lskj.SweepCode
|
||||
{
|
||||
/// <summary>
|
||||
/// c#库被调用统一接口类
|
||||
/// </summary>
|
||||
public sealed class DllBaseClass : IForm
|
||||
{
|
||||
public DllBaseClass()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public DllBaseClass(string[] obj)
|
||||
{
|
||||
try
|
||||
{
|
||||
FrmMain main = new FrmMain();
|
||||
this.SubForm = main;
|
||||
main.SysModel = new DynamicProductionModel(obj);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogUtil.WriteError("Lskj.SweepCode.dll--参数错误-->" + obj.ToString(), ex);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 窗口
|
||||
/// </summary>
|
||||
public Form SubForm { get; set; }
|
||||
}
|
||||
}
|
||||
+444
@@ -0,0 +1,444 @@
|
||||
using System.Drawing;
|
||||
namespace Lskj.SweepCode
|
||||
{
|
||||
partial class FrmMain
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
|
||||
this.splitMain = new DevExpress.XtraEditors.SplitContainerControl();
|
||||
this.panelMain = new DevExpress.XtraEditors.PanelControl();
|
||||
this.panelDetail = new DevExpress.XtraEditors.PanelControl();
|
||||
this.detailTab = new Lskj.Control.TabControlEx();
|
||||
this.detailContorl = new DevExpress.XtraEditors.PanelControl();
|
||||
this.detailControl_Right = new DevExpress.XtraEditors.PanelControl();
|
||||
this.detailpl_Left = new DevExpress.XtraEditors.PanelControl();
|
||||
this.detailplControl = new DevExpress.XtraEditors.PanelControl();
|
||||
this.detailTab_Title = new DevExpress.XtraEditors.PanelControl();
|
||||
this.lbTitle = new System.Windows.Forms.Label();
|
||||
this.pl_Bottom = new DevExpress.XtraEditors.PanelControl();
|
||||
this.TabBottom = new Lskj.Control.TabControlEx();
|
||||
this.pl_Bottom_Title = new DevExpress.XtraEditors.PanelControl();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.pl_Main = new DevExpress.XtraEditors.PanelControl();
|
||||
this.pl_Main_Center = new DevExpress.XtraEditors.PanelControl();
|
||||
this.pl_MainState = new DevExpress.XtraEditors.PanelControl();
|
||||
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.pl_TopSearch = new DevExpress.XtraEditors.PanelControl();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit();
|
||||
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
|
||||
this.TabRight = new Lskj.Control.TabControlEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitMain)).BeginInit();
|
||||
this.splitMain.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelMain)).BeginInit();
|
||||
this.panelMain.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelDetail)).BeginInit();
|
||||
this.panelDetail.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailContorl)).BeginInit();
|
||||
this.detailContorl.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailControl_Right)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailpl_Left)).BeginInit();
|
||||
this.detailpl_Left.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailplControl)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailTab_Title)).BeginInit();
|
||||
this.detailTab_Title.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Bottom)).BeginInit();
|
||||
this.pl_Bottom.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Bottom_Title)).BeginInit();
|
||||
this.pl_Bottom_Title.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Main)).BeginInit();
|
||||
this.pl_Main.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Main_Center)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_MainState)).BeginInit();
|
||||
this.pl_MainState.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_TopSearch)).BeginInit();
|
||||
this.pl_TopSearch.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitMain
|
||||
//
|
||||
this.splitMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
|
||||
this.splitMain.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2;
|
||||
this.splitMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitMain.Name = "splitMain";
|
||||
this.splitMain.Panel1.Controls.Add(this.panelMain);
|
||||
this.splitMain.Panel1.Text = "Panel1";
|
||||
this.splitMain.Panel2.Controls.Add(this.TabRight);
|
||||
this.splitMain.Panel2.Text = "Panel2";
|
||||
this.splitMain.Size = new System.Drawing.Size(1290, 739);
|
||||
this.splitMain.SplitterPosition = 1111;
|
||||
this.splitMain.TabIndex = 0;
|
||||
this.splitMain.Text = "splitContainerControl1";
|
||||
this.splitMain.SplitterPositionChanged += new System.EventHandler(this.OnSplitterPositionChanged);
|
||||
//
|
||||
// panelMain
|
||||
//
|
||||
this.panelMain.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panelMain.Appearance.Options.UseBackColor = true;
|
||||
this.panelMain.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.panelMain.Controls.Add(this.panelDetail);
|
||||
this.panelMain.Controls.Add(this.pl_Bottom);
|
||||
this.panelMain.Controls.Add(this.pl_Main);
|
||||
this.panelMain.Controls.Add(this.pl_TopSearch);
|
||||
this.panelMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelMain.Name = "panelMain";
|
||||
this.panelMain.Size = new System.Drawing.Size(1111, 739);
|
||||
this.panelMain.TabIndex = 0;
|
||||
//
|
||||
// panelDetail
|
||||
//
|
||||
this.panelDetail.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.panelDetail.Controls.Add(this.detailTab);
|
||||
this.panelDetail.Controls.Add(this.detailContorl);
|
||||
this.panelDetail.Controls.Add(this.detailTab_Title);
|
||||
this.panelDetail.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelDetail.Location = new System.Drawing.Point(0, 184);
|
||||
this.panelDetail.Name = "panelDetail";
|
||||
this.panelDetail.Size = new System.Drawing.Size(1111, 409);
|
||||
this.panelDetail.TabIndex = 6;
|
||||
//
|
||||
// detailTab
|
||||
//
|
||||
this.detailTab.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.detailTab.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.detailTab.Location = new System.Drawing.Point(0, 246);
|
||||
this.detailTab.Name = "detailTab";
|
||||
this.detailTab.Size = new System.Drawing.Size(1111, 163);
|
||||
this.detailTab.TabIndex = 9;
|
||||
//
|
||||
// detailContorl
|
||||
//
|
||||
this.detailContorl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.detailContorl.Controls.Add(this.detailControl_Right);
|
||||
this.detailContorl.Controls.Add(this.detailpl_Left);
|
||||
this.detailContorl.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.detailContorl.Location = new System.Drawing.Point(0, 35);
|
||||
this.detailContorl.Name = "detailContorl";
|
||||
this.detailContorl.Size = new System.Drawing.Size(1111, 211);
|
||||
this.detailContorl.TabIndex = 6;
|
||||
//
|
||||
// detailControl_Right
|
||||
//
|
||||
this.detailControl_Right.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.detailControl_Right.Appearance.Options.UseBackColor = true;
|
||||
this.detailControl_Right.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.detailControl_Right.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.detailControl_Right.Location = new System.Drawing.Point(680, 0);
|
||||
this.detailControl_Right.Name = "detailControl_Right";
|
||||
this.detailControl_Right.Size = new System.Drawing.Size(431, 211);
|
||||
this.detailControl_Right.TabIndex = 8;
|
||||
//
|
||||
// detailpl_Left
|
||||
//
|
||||
this.detailpl_Left.Appearance.BackColor = System.Drawing.Color.Transparent;
|
||||
this.detailpl_Left.Appearance.Options.UseBackColor = true;
|
||||
this.detailpl_Left.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
|
||||
this.detailpl_Left.Controls.Add(this.detailplControl);
|
||||
this.detailpl_Left.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.detailpl_Left.Location = new System.Drawing.Point(0, 0);
|
||||
this.detailpl_Left.Name = "detailpl_Left";
|
||||
this.detailpl_Left.Size = new System.Drawing.Size(680, 211);
|
||||
this.detailpl_Left.TabIndex = 7;
|
||||
//
|
||||
// detailplControl
|
||||
//
|
||||
this.detailplControl.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.detailplControl.Appearance.Options.UseBackColor = true;
|
||||
this.detailplControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.detailplControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.detailplControl.Location = new System.Drawing.Point(2, 2);
|
||||
this.detailplControl.Name = "detailplControl";
|
||||
this.detailplControl.Size = new System.Drawing.Size(676, 207);
|
||||
this.detailplControl.TabIndex = 9;
|
||||
//
|
||||
// detailTab_Title
|
||||
//
|
||||
this.detailTab_Title.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.detailTab_Title.Controls.Add(this.lbTitle);
|
||||
this.detailTab_Title.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.detailTab_Title.Location = new System.Drawing.Point(0, 0);
|
||||
this.detailTab_Title.Name = "detailTab_Title";
|
||||
this.detailTab_Title.Size = new System.Drawing.Size(1111, 35);
|
||||
this.detailTab_Title.TabIndex = 5;
|
||||
//
|
||||
// lbTitle
|
||||
//
|
||||
this.lbTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(238)))), ((int)(((byte)(249)))));
|
||||
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbTitle.Font = new System.Drawing.Font("Microsoft YaHei UI", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(108)))), ((int)(((byte)(206)))));
|
||||
this.lbTitle.Location = new System.Drawing.Point(0, 0);
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.Size = new System.Drawing.Size(1111, 35);
|
||||
this.lbTitle.TabIndex = 2;
|
||||
this.lbTitle.Text = " 扫码识别信息";
|
||||
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// pl_Bottom
|
||||
//
|
||||
this.pl_Bottom.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.pl_Bottom.Controls.Add(this.TabBottom);
|
||||
this.pl_Bottom.Controls.Add(this.pl_Bottom_Title);
|
||||
this.pl_Bottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.pl_Bottom.Location = new System.Drawing.Point(0, 593);
|
||||
this.pl_Bottom.Name = "pl_Bottom";
|
||||
this.pl_Bottom.Size = new System.Drawing.Size(1111, 146);
|
||||
this.pl_Bottom.TabIndex = 2;
|
||||
//
|
||||
// TabBottom
|
||||
//
|
||||
this.TabBottom.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.TabBottom.Location = new System.Drawing.Point(0, 34);
|
||||
this.TabBottom.Name = "TabBottom";
|
||||
this.TabBottom.Size = new System.Drawing.Size(1111, 112);
|
||||
this.TabBottom.TabIndex = 9;
|
||||
//
|
||||
// pl_Bottom_Title
|
||||
//
|
||||
this.pl_Bottom_Title.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.pl_Bottom_Title.Controls.Add(this.label1);
|
||||
this.pl_Bottom_Title.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pl_Bottom_Title.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_Bottom_Title.Name = "pl_Bottom_Title";
|
||||
this.pl_Bottom_Title.Size = new System.Drawing.Size(1111, 34);
|
||||
this.pl_Bottom_Title.TabIndex = 5;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(238)))), ((int)(((byte)(249)))));
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(108)))), ((int)(((byte)(206)))));
|
||||
this.label1.Location = new System.Drawing.Point(0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(1111, 34);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = " 生产工序";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// pl_Main
|
||||
//
|
||||
this.pl_Main.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.pl_Main.Controls.Add(this.pl_Main_Center);
|
||||
this.pl_Main.Controls.Add(this.pl_MainState);
|
||||
this.pl_Main.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pl_Main.Location = new System.Drawing.Point(0, 48);
|
||||
this.pl_Main.Name = "pl_Main";
|
||||
this.pl_Main.Size = new System.Drawing.Size(1111, 136);
|
||||
this.pl_Main.TabIndex = 1;
|
||||
//
|
||||
// pl_Main_Center
|
||||
//
|
||||
this.pl_Main_Center.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.pl_Main_Center.Appearance.Options.UseBackColor = true;
|
||||
this.pl_Main_Center.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.pl_Main_Center.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pl_Main_Center.Location = new System.Drawing.Point(0, 35);
|
||||
this.pl_Main_Center.Name = "pl_Main_Center";
|
||||
this.pl_Main_Center.Size = new System.Drawing.Size(1111, 101);
|
||||
this.pl_Main_Center.TabIndex = 3;
|
||||
//
|
||||
// pl_MainState
|
||||
//
|
||||
this.pl_MainState.Appearance.BackColor = System.Drawing.Color.White;
|
||||
this.pl_MainState.Appearance.Options.UseBackColor = true;
|
||||
this.pl_MainState.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.pl_MainState.Controls.Add(this.labelControl5);
|
||||
this.pl_MainState.Controls.Add(this.labelControl3);
|
||||
this.pl_MainState.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pl_MainState.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_MainState.Name = "pl_MainState";
|
||||
this.pl_MainState.Size = new System.Drawing.Size(1111, 35);
|
||||
this.pl_MainState.TabIndex = 2;
|
||||
//
|
||||
// labelControl5
|
||||
//
|
||||
this.labelControl5.Appearance.Font = new System.Drawing.Font("Microsoft YaHei UI", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl5.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
||||
this.labelControl5.Location = new System.Drawing.Point(37, 5);
|
||||
this.labelControl5.Name = "labelControl5";
|
||||
this.labelControl5.Size = new System.Drawing.Size(72, 25);
|
||||
this.labelControl5.TabIndex = 40;
|
||||
this.labelControl5.Text = "基本信息";
|
||||
//
|
||||
// labelControl3
|
||||
//
|
||||
this.labelControl3.Appearance.Font = new System.Drawing.Font("Microsoft YaHei UI", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl3.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(65)))), ((int)(((byte)(115)))), ((int)(((byte)(188)))));
|
||||
this.labelControl3.Location = new System.Drawing.Point(1027, 5);
|
||||
this.labelControl3.Name = "labelControl3";
|
||||
this.labelControl3.Size = new System.Drawing.Size(57, 26);
|
||||
this.labelControl3.TabIndex = 40;
|
||||
this.labelControl3.Text = "未开工";
|
||||
//
|
||||
// pl_TopSearch
|
||||
//
|
||||
this.pl_TopSearch.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(65)))), ((int)(((byte)(115)))), ((int)(((byte)(188)))));
|
||||
this.pl_TopSearch.Appearance.Options.UseBackColor = true;
|
||||
this.pl_TopSearch.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.pl_TopSearch.Controls.Add(this.panel1);
|
||||
this.pl_TopSearch.Controls.Add(this.buttonEdit1);
|
||||
this.pl_TopSearch.Controls.Add(this.labelControl2);
|
||||
this.pl_TopSearch.Controls.Add(this.labelControl4);
|
||||
this.pl_TopSearch.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pl_TopSearch.Location = new System.Drawing.Point(0, 0);
|
||||
this.pl_TopSearch.Name = "pl_TopSearch";
|
||||
this.pl_TopSearch.Size = new System.Drawing.Size(1111, 48);
|
||||
this.pl_TopSearch.TabIndex = 0;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackgroundImage = global::Lskj.SweepCode.Properties.Resources.message;
|
||||
this.panel1.Location = new System.Drawing.Point(866, 19);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(19, 16);
|
||||
this.panel1.TabIndex = 41;
|
||||
//
|
||||
// buttonEdit1
|
||||
//
|
||||
this.buttonEdit1.Location = new System.Drawing.Point(138, 9);
|
||||
this.buttonEdit1.Name = "buttonEdit1";
|
||||
this.buttonEdit1.Properties.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(89)))), ((int)(((byte)(164)))));
|
||||
this.buttonEdit1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
||||
this.buttonEdit1.Properties.Appearance.Options.UseBackColor = true;
|
||||
this.buttonEdit1.Properties.Appearance.Options.UseFont = true;
|
||||
this.buttonEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, global::Lskj.SweepCode.Properties.Resources.CodeLogin, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)});
|
||||
this.buttonEdit1.Properties.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
|
||||
this.buttonEdit1.Size = new System.Drawing.Size(313, 32);
|
||||
this.buttonEdit1.TabIndex = 41;
|
||||
//
|
||||
// labelControl2
|
||||
//
|
||||
this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelControl2.Appearance.ForeColor = System.Drawing.Color.White;
|
||||
this.labelControl2.Location = new System.Drawing.Point(891, 15);
|
||||
this.labelControl2.Name = "labelControl2";
|
||||
this.labelControl2.Size = new System.Drawing.Size(192, 21);
|
||||
this.labelControl2.TabIndex = 40;
|
||||
this.labelControl2.Text = "信息展示区:此工序已开工";
|
||||
//
|
||||
// labelControl4
|
||||
//
|
||||
this.labelControl4.Appearance.Font = new System.Drawing.Font("Microsoft YaHei UI", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.labelControl4.Appearance.ForeColor = System.Drawing.Color.White;
|
||||
this.labelControl4.Location = new System.Drawing.Point(37, 12);
|
||||
this.labelControl4.Name = "labelControl4";
|
||||
this.labelControl4.Size = new System.Drawing.Size(95, 26);
|
||||
this.labelControl4.TabIndex = 38;
|
||||
this.labelControl4.Text = "扫描报工单";
|
||||
//
|
||||
// TabRight
|
||||
//
|
||||
this.TabRight.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.TabRight.Font = new System.Drawing.Font("Tahoma", 17F);
|
||||
this.TabRight.Location = new System.Drawing.Point(0, 0);
|
||||
this.TabRight.Name = "TabRight";
|
||||
this.TabRight.Size = new System.Drawing.Size(174, 739);
|
||||
this.TabRight.TabIndex = 9;
|
||||
//
|
||||
// FrmMain
|
||||
//
|
||||
this.Appearance.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.Appearance.Options.UseBackColor = true;
|
||||
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(1290, 739);
|
||||
this.Controls.Add(this.splitMain);
|
||||
this.Name = "FrmMain";
|
||||
this.Text = "生产过程管理";
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitMain)).EndInit();
|
||||
this.splitMain.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelMain)).EndInit();
|
||||
this.panelMain.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelDetail)).EndInit();
|
||||
this.panelDetail.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailContorl)).EndInit();
|
||||
this.detailContorl.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailControl_Right)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailpl_Left)).EndInit();
|
||||
this.detailpl_Left.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailplControl)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.detailTab_Title)).EndInit();
|
||||
this.detailTab_Title.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Bottom)).EndInit();
|
||||
this.pl_Bottom.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Bottom_Title)).EndInit();
|
||||
this.pl_Bottom_Title.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Main)).EndInit();
|
||||
this.pl_Main.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_Main_Center)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_MainState)).EndInit();
|
||||
this.pl_MainState.ResumeLayout(false);
|
||||
this.pl_MainState.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pl_TopSearch)).EndInit();
|
||||
this.pl_TopSearch.ResumeLayout(false);
|
||||
this.pl_TopSearch.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraEditors.SplitContainerControl splitMain;
|
||||
private DevExpress.XtraEditors.PanelControl panelMain;
|
||||
private DevExpress.XtraEditors.PanelControl panelDetail;
|
||||
private DevExpress.XtraEditors.PanelControl detailContorl;
|
||||
private DevExpress.XtraEditors.PanelControl detailControl_Right;
|
||||
private DevExpress.XtraEditors.PanelControl detailpl_Left;
|
||||
private DevExpress.XtraEditors.PanelControl detailTab_Title;
|
||||
private DevExpress.XtraEditors.PanelControl pl_Bottom;
|
||||
private DevExpress.XtraEditors.PanelControl pl_Bottom_Title;
|
||||
private DevExpress.XtraEditors.PanelControl pl_Main;
|
||||
private DevExpress.XtraEditors.PanelControl pl_TopSearch;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl4;
|
||||
private DevExpress.XtraEditors.PanelControl pl_MainState;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl3;
|
||||
private DevExpress.XtraEditors.PanelControl pl_Main_Center;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl2;
|
||||
private System.Windows.Forms.Label lbTitle;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevExpress.XtraEditors.ButtonEdit buttonEdit1;
|
||||
private DevExpress.XtraEditors.PanelControl detailplControl;
|
||||
private Lskj.Control.TabControlEx TabBottom;
|
||||
private Lskj.Control.TabControlEx TabRight;
|
||||
private Lskj.Control.TabControlEx detailTab;
|
||||
private DevExpress.XtraEditors.LabelControl labelControl5;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,362 @@
|
||||
using Lskj.Business.Impl;
|
||||
using Lskj.Control;
|
||||
using Lskj.Control.Model;
|
||||
using Lskj.Data;
|
||||
using Lskj.Model;
|
||||
using Lskj.SweepCode.Control;
|
||||
using Lskj.Util;
|
||||
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;
|
||||
|
||||
namespace Lskj.SweepCode
|
||||
{
|
||||
public partial class FrmMain : BaseForm
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>说明:初始化后构造方法</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-15 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
public FrmMain()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
#region 公共变量
|
||||
/// <summary>
|
||||
/// 入口模型
|
||||
/// </summary>
|
||||
public DynamicProductionModel SysModel;
|
||||
|
||||
/// <summary>
|
||||
///查询条件控件
|
||||
/// </summary>
|
||||
public MyControl SearchObj;
|
||||
/// <summary>
|
||||
/// 主控件集
|
||||
/// </summary>
|
||||
public MyControl ControlObj;
|
||||
/// <summary>
|
||||
/// 基础模型
|
||||
/// </summary>
|
||||
public ModuleModel MoudleObj;
|
||||
/// <summary>
|
||||
/// 表格明细集合
|
||||
/// </summary>
|
||||
public List<GridDetailModel> GridDetailModelObjs;
|
||||
/// <summary>
|
||||
/// 明细衍生到下侧数据
|
||||
/// </summary>
|
||||
public List<GridDetailModel> GridDetailAddObj;
|
||||
/// <summary>
|
||||
/// 明细衍生到右侧数据
|
||||
/// </summary>
|
||||
public List<GridDetailModel> GridDetailRightObj;
|
||||
|
||||
#endregion
|
||||
#region 私有变量
|
||||
/// <summary>
|
||||
/// 数据索引
|
||||
/// </summary>
|
||||
private int _dataIndex;
|
||||
/// <summary>
|
||||
/// 初始化完成标记
|
||||
/// </summary>
|
||||
private bool _isInitFinish;
|
||||
/// <summary>
|
||||
/// 附件部分显隐
|
||||
/// </summary>
|
||||
private bool _isFilePanelVisble;
|
||||
/// <summary>
|
||||
/// 附件源sql
|
||||
/// </summary>
|
||||
private string _fileSql;
|
||||
/// <summary>
|
||||
/// 主键值
|
||||
/// </summary>
|
||||
private string _keyValue;
|
||||
/// <summary>
|
||||
/// 主键名
|
||||
/// </summary>
|
||||
private string _primaryKey;
|
||||
/// <summary>
|
||||
/// 附件地址
|
||||
/// </summary>
|
||||
private string _filePath;
|
||||
/// <summary>
|
||||
/// 选项卡刷新页签
|
||||
/// </summary>
|
||||
private string[] _pageIndex;
|
||||
/// <summary>
|
||||
/// 当前数据内容
|
||||
/// </summary>
|
||||
private DataRow _rowItem;
|
||||
/// <summary>
|
||||
/// 控件源数据
|
||||
/// </summary>
|
||||
private DataTable _dtFields;
|
||||
/// <summary>
|
||||
/// 扫码控件源数据
|
||||
/// </summary>
|
||||
private DataTable _codeFields;
|
||||
/// <summary>
|
||||
/// 动态加载右侧按钮
|
||||
/// </summary>
|
||||
private DataTable _RightFields;
|
||||
/// <summary>
|
||||
/// 主表数据
|
||||
/// </summary>
|
||||
private DataTable _dtMainTable;
|
||||
/// <summary>
|
||||
/// pdf附件资源
|
||||
/// </summary>
|
||||
private DataTable _dtFiles;
|
||||
/// <summary>
|
||||
/// 附件下拉菜单
|
||||
/// </summary>
|
||||
private LabelComboxEdit _fileComboBox;
|
||||
/// <summary>
|
||||
/// 查看附件
|
||||
/// </summary>
|
||||
private ModuleWebView _moduleWebView;
|
||||
/// <summary>
|
||||
/// 选项卡排序Sql
|
||||
/// </summary>
|
||||
private Dictionary<string, string> _dicOrder = new Dictionary<string, string>();
|
||||
#endregion
|
||||
#region 事件
|
||||
#region 窗体加载时
|
||||
/// <summary>
|
||||
/// <para>说明:窗体加载时</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-15 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
WaitForm.ShowForm();
|
||||
try
|
||||
{
|
||||
SysModel.Privilege = this.SysModel.Privilege.Equals("3") ? "1" : SysModel.ModuleId > 0 ? BaseImpl.GetUserPurviewsByMenuId(SysModel.ModuleId + "") + "" : BaseImpl.GetUserPurviewsByMenuCode(SysModel.ModuleCode) + "";
|
||||
this._isInitFinish = false;
|
||||
if (!this.SysModel.HasPrivilege())
|
||||
{
|
||||
MessageUtil.Show(ResourceKeys.UnPurview);
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.InitializeSetting();
|
||||
this.InitializeControl();
|
||||
this.InitializeDetailGrid();
|
||||
this.InitlizeSpiltLocation();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
}
|
||||
WaitForm.HideForm();
|
||||
}
|
||||
#endregion
|
||||
#region 分隔条改变事件,保存分割位置
|
||||
/// <summary>
|
||||
/// <para>说明:分隔条改变事件,保存分割位置</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-16 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
private void OnSplitterPositionChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this._isInitFinish) IniHelper.Write(string.Format("base_SplitSweepCodeMain_{0}", this.SysModel.ModuleCode), this.splitMain.SplitterPosition + "");
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
#region 方法
|
||||
#region 初始化属性
|
||||
/// <summary>
|
||||
/// <para>说明:初始化属性设置</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-16 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
private void InitializeSetting()
|
||||
{
|
||||
this._primaryKey = BaseImpl.GetBasePrimaryKey(this.SysModel.ModuleCode);
|
||||
this.MoudleObj = new ModuleModel(MainImpl.GetSystemdllTab(this.SysModel.ModuleCode));
|
||||
this.MoudleObj.ParmaryKey = BaseImpl.GetBasePrimaryKey(this.SysModel.ModuleCode);
|
||||
this.GridDetailModelObjs = GetDetailGrids().Where(o => o.addVisible != 1 && o.rightVisible != 1).ToList();
|
||||
this.GridDetailAddObj = this.GridDetailModelObjs.Where(o => o.addVisible == 1).ToList();
|
||||
this.GridDetailRightObj = this.GridDetailModelObjs.Where(o => o.rightVisible == 1).ToList();
|
||||
this._dtFields = BaseModuleImpl.GetControlLocation(this.MoudleObj.FormKey, this.SysModel.ModuleCode);
|
||||
this._codeFields = BaseImpl.GetSweepCode(this.SysModel.ModuleCode);
|
||||
this._RightFields = BaseModuleImpl.GetBaseGridRightMenus(this.SysModel.ModuleCode);
|
||||
this.TabRight.Model = this.TabBottom.Model = this.detailTab.Model = this.SysModel;
|
||||
if (!string.IsNullOrEmpty(this.SysModel.ParmaryValue))
|
||||
{
|
||||
this._keyValue = this.SysModel.ParmaryValue;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region 获取明细
|
||||
/// <summary>
|
||||
/// <para>说明:获取报表明细</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-16 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
private List<GridDetailModel> GetDetailGrids()
|
||||
{
|
||||
List<GridDetailModel> details = new List<GridDetailModel>();
|
||||
DataTable moduleDetailBottomTable = BaseModuleImpl.GetBaseDetailPages(this.SysModel.ModuleCode);
|
||||
if (moduleDetailBottomTable.Rows.Count == 0)
|
||||
{
|
||||
moduleDetailBottomTable = BaseModuleImpl.GetBaseAddTabDetail(this.SysModel.ModuleCode);
|
||||
}
|
||||
|
||||
foreach (DataRow item in moduleDetailBottomTable.Rows)
|
||||
{
|
||||
DataTable dtGridColumns = ReportImpl.GetReportDetailColumns(this.SysModel.ModuleCode, item["id"] + "");
|
||||
details.Add(new GridDetailModel(item, dtGridColumns, GridCustomColumnStruct.BaseDetailGridView));
|
||||
}
|
||||
return details;
|
||||
}
|
||||
#endregion
|
||||
#region 初始化控件
|
||||
/// <summary>
|
||||
/// <para>说明:初始化控件</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-16 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
private void InitializeControl()
|
||||
{
|
||||
this.ControlObj = new MyControl();
|
||||
this.ControlObj.InitControl(_dtFields, this.pl_Main_Center);
|
||||
int height = 0; int top = 0; int left = 0;
|
||||
if (_codeFields.Rows.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < _codeFields.Rows.Count; i++)
|
||||
{
|
||||
top += 17;
|
||||
DataRow item = _codeFields.Rows[i];
|
||||
SweepControl sweepControl = new SweepControl();
|
||||
sweepControl.Parent = detailplControl;
|
||||
sweepControl.TitleLabelObj.Text = item["username1"] + "";
|
||||
sweepControl.Top = top;
|
||||
sweepControl.Left = 32;
|
||||
top += sweepControl.Height;
|
||||
}
|
||||
}
|
||||
this.detailContorl.Height = top + 15;
|
||||
if (_RightFields.Rows.Count > 0)
|
||||
{
|
||||
top = 22;
|
||||
for (int i = 0; i < _RightFields.Rows.Count; i++)
|
||||
{
|
||||
left += 34;
|
||||
SweepButton sweepButton = new SweepButton();
|
||||
DataRow item = _RightFields.Rows[i];
|
||||
sweepButton.Parent = detailControl_Right;
|
||||
sweepButton.TitleLabelObj.Text = item["menuname"] + "";
|
||||
sweepButton.Top = top;
|
||||
sweepButton.Left = left;
|
||||
if (left + sweepButton.Width + 34 > 406)
|
||||
{
|
||||
left = 0;
|
||||
top += sweepButton.Height + 22;
|
||||
}
|
||||
else
|
||||
{
|
||||
left += sweepButton.Width;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 初始化分割条位置
|
||||
/// <summary>
|
||||
/// <para>说明:初始化分割条位置</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-16 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
protected void InitlizeSpiltLocation()
|
||||
{
|
||||
try
|
||||
{
|
||||
string positionMain = IniHelper.Read(string.Format("base_SplitSweepCodeMain_{0}", this.SysModel.ModuleCode));
|
||||
if (!string.IsNullOrEmpty(positionMain))
|
||||
{
|
||||
this.splitMain.SplitterPosition = Convert.ToInt32(positionMain);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.Instance.WriteError(ex);
|
||||
MessageUtil.Show(ex);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region 初始化右键模块(用于开工动态设置)
|
||||
|
||||
#endregion
|
||||
|
||||
#region 初始化扫码功能模块的明细数据
|
||||
/// <summary>
|
||||
/// <para>说明:初始化扫码功能模块的明细数据</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2021-06-16 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
private void InitializeDetailGrid()
|
||||
{
|
||||
this.detailTab.InitTabPages(GridDetailModelObjs);
|
||||
this.TabBottom.InitTabPages(GridDetailAddObj);
|
||||
this.TabRight.InitTabPages(GridDetailRightObj);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,151 @@
|
||||
<?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>{553A7C19-FCD1-4E08-9E32-A68D12DA76D3}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Lskj.SweepCode</RootNamespace>
|
||||
<AssemblyName>Lskj.SweepCode</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\Debug\Lib\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevExpress.BonusSkins.v15.2" />
|
||||
<Reference Include="DevExpress.Data.v15.2" />
|
||||
<Reference Include="DevExpress.Utils.v15.2" />
|
||||
<Reference Include="DevExpress.Sparkline.v15.2.Core" />
|
||||
<Reference Include="DevExpress.XtraEditors.v15.2" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<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="Control\SweepButton.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Control\SweepButton.Designer.cs">
|
||||
<DependentUpon>SweepButton.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Control\SweepControl.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Control\SweepControl.Designer.cs">
|
||||
<DependentUpon>SweepControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FrmMain.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmMain.Designer.cs">
|
||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DllBaseClass.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Control\SweepButton.resx">
|
||||
<DependentUpon>SweepButton.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Control\SweepControl.resx">
|
||||
<DependentUpon>SweepControl.cs</DependentUpon>
|
||||
</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>
|
||||
<None Include="app.config" />
|
||||
<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>
|
||||
<ProjectReference Include="..\..\Lskj.Business\Lskj.Business.csproj">
|
||||
<Project>{7eafccc2-a18f-49e9-85c6-a984966cfd01}</Project>
|
||||
<Name>Lskj.Business</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.Control\Lskj.Control.csproj">
|
||||
<Project>{447cdc40-659f-4cca-9ed6-8e818b4cf8bf}</Project>
|
||||
<Name>Lskj.Control</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.Core\Lskj.Core.csproj">
|
||||
<Project>{2a1be6ac-1077-491b-a754-c5822fe8121e}</Project>
|
||||
<Name>Lskj.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.Data\Lskj.Data.csproj">
|
||||
<Project>{308b9b18-9be2-495c-9c64-eed81d567813}</Project>
|
||||
<Name>Lskj.Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.Model\Lskj.Model.csproj">
|
||||
<Project>{52bc40e0-c0c6-4f78-996b-cae028d209ca}</Project>
|
||||
<Name>Lskj.Model</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Lskj.Util\Lskj.Util.csproj">
|
||||
<Project>{a51bf642-6543-4de3-8948-83f558b72bd4}</Project>
|
||||
<Name>Lskj.Util</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\75437dd2b91a15e632efd17cb92d1ce.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\1623832357%281%29.jpg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\组 146.png" />
|
||||
</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,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 161 KiB |
Reference in New Issue
Block a user