区域对照工具首次上传

main
zdnpc 1 week ago
commit f301814dcd
  1. 11
      .gitignore
  2. 3
      README.md
  3. BIN
      RegionComparisonTool/.vs/RegionComparisonTool/v16/.suo
  4. 50
      RegionComparisonTool/App.config
  5. 1137
      RegionComparisonTool/Helper/DAOHelper.cs
  6. 32
      RegionComparisonTool/Helper/DesHelper.cs
  7. 252
      RegionComparisonTool/Helper/MySecurity.cs
  8. 115
      RegionComparisonTool/MainForm.Designer.cs
  9. 91
      RegionComparisonTool/MainForm.cs
  10. 408
      RegionComparisonTool/MainForm.resx
  11. 39
      RegionComparisonTool/Models/Context/DtcDbContext.cs
  12. 31
      RegionComparisonTool/Models/Context/LisdbBqContext.cs
  13. 31
      RegionComparisonTool/Models/Context/LisdbChContext.cs
  14. 31
      RegionComparisonTool/Models/Context/LisdbDkContext.cs
  15. 31
      RegionComparisonTool/Models/Context/LisdbGsContext.cs
  16. 32
      RegionComparisonTool/Models/Context/LisdbLfContext.cs
  17. 30
      RegionComparisonTool/Models/Context/LisdbSlContext.cs
  18. 31
      RegionComparisonTool/Models/Context/LisdbSlzContext.cs
  19. 32
      RegionComparisonTool/Models/Context/LisdbXjkContext.cs
  20. 27
      RegionComparisonTool/Models/DictReqItem.cs
  21. 19
      RegionComparisonTool/Models/Std/DictHospital.cs
  22. 21
      RegionComparisonTool/Models/Std/DictStdReqItem.cs
  23. 21
      RegionComparisonTool/Models/Std/ReqItemRecord.cs
  24. 19
      RegionComparisonTool/Program.cs
  25. 36
      RegionComparisonTool/Properties/AssemblyInfo.cs
  26. 63
      RegionComparisonTool/Properties/Resources.Designer.cs
  27. 117
      RegionComparisonTool/Properties/Resources.resx
  28. 26
      RegionComparisonTool/Properties/Settings.Designer.cs
  29. 7
      RegionComparisonTool/Properties/Settings.settings
  30. 3
      RegionComparisonTool/Properties/licenses.licx
  31. 188
      RegionComparisonTool/RegionComparisonTool.csproj
  32. 14
      RegionComparisonTool/RegionComparisonTool.csproj.user
  33. 25
      RegionComparisonTool/RegionComparisonTool.sln
  34. BIN
      RegionComparisonTool/Resources/tool_favicon.ico
  35. 36
      RegionComparisonTool/Views/BaseView.cs
  36. 525
      RegionComparisonTool/Views/RcForm.Designer.cs
  37. 256
      RegionComparisonTool/Views/RcForm.cs
  38. 123
      RegionComparisonTool/Views/RcForm.resx
  39. 438
      RegionComparisonTool/Views/RegionComparisonForm - 复制.Designer.cs
  40. 138
      RegionComparisonTool/Views/RegionComparisonForm - 复制.cs
  41. 120
      RegionComparisonTool/Views/RegionComparisonForm - 复制.resx
  42. 456
      RegionComparisonTool/Views/RegionComparisonForm1.Designer.cs
  43. 138
      RegionComparisonTool/Views/RegionComparisonForm1.cs
  44. 120
      RegionComparisonTool/Views/RegionComparisonForm1.resx
  45. BIN
      RegionComparisonTool/bin/Debug/DevExpress.Data.v17.1.dll
  46. 37741
      RegionComparisonTool/bin/Debug/DevExpress.Data.v17.1.xml
  47. BIN
      RegionComparisonTool/bin/Debug/DevExpress.Office.v17.1.Core.dll
  48. 2989
      RegionComparisonTool/bin/Debug/DevExpress.Office.v17.1.Core.xml
  49. BIN
      RegionComparisonTool/bin/Debug/DevExpress.Pdf.v17.1.Core.dll
  50. 10155
      RegionComparisonTool/bin/Debug/DevExpress.Pdf.v17.1.Core.xml
  51. BIN
      RegionComparisonTool/bin/Debug/DevExpress.Printing.v17.1.Core.dll
  52. 46147
      RegionComparisonTool/bin/Debug/DevExpress.Printing.v17.1.Core.xml
  53. BIN
      RegionComparisonTool/bin/Debug/DevExpress.RichEdit.v17.1.Core.dll
  54. 56727
      RegionComparisonTool/bin/Debug/DevExpress.RichEdit.v17.1.Core.xml
  55. BIN
      RegionComparisonTool/bin/Debug/DevExpress.Sparkline.v17.1.Core.dll
  56. 814
      RegionComparisonTool/bin/Debug/DevExpress.Sparkline.v17.1.Core.xml
  57. BIN
      RegionComparisonTool/bin/Debug/DevExpress.Utils.v17.1.dll
  58. 22049
      RegionComparisonTool/bin/Debug/DevExpress.Utils.v17.1.xml
  59. BIN
      RegionComparisonTool/bin/Debug/DevExpress.XtraBars.v17.1.dll
  60. 60536
      RegionComparisonTool/bin/Debug/DevExpress.XtraBars.v17.1.xml
  61. BIN
      RegionComparisonTool/bin/Debug/DevExpress.XtraEditors.v17.1.dll
  62. 60421
      RegionComparisonTool/bin/Debug/DevExpress.XtraEditors.v17.1.xml
  63. BIN
      RegionComparisonTool/bin/Debug/DevExpress.XtraGrid.v17.1.dll
  64. 40156
      RegionComparisonTool/bin/Debug/DevExpress.XtraGrid.v17.1.xml
  65. BIN
      RegionComparisonTool/bin/Debug/DevExpress.XtraLayout.v17.1.dll
  66. 9726
      RegionComparisonTool/bin/Debug/DevExpress.XtraLayout.v17.1.xml
  67. BIN
      RegionComparisonTool/bin/Debug/DevExpress.XtraNavBar.v17.1.dll
  68. 5152
      RegionComparisonTool/bin/Debug/DevExpress.XtraNavBar.v17.1.xml
  69. BIN
      RegionComparisonTool/bin/Debug/DevExpress.XtraPrinting.v17.1.dll
  70. 4310
      RegionComparisonTool/bin/Debug/DevExpress.XtraPrinting.v17.1.xml
  71. BIN
      RegionComparisonTool/bin/Debug/DevExpress.XtraTreeList.v17.1.dll
  72. 16776
      RegionComparisonTool/bin/Debug/DevExpress.XtraTreeList.v17.1.xml
  73. BIN
      RegionComparisonTool/bin/Debug/EntityFramework.SqlServer.dll
  74. 2022
      RegionComparisonTool/bin/Debug/EntityFramework.SqlServer.xml
  75. BIN
      RegionComparisonTool/bin/Debug/EntityFramework.dll
  76. 46798
      RegionComparisonTool/bin/Debug/EntityFramework.xml
  77. BIN
      RegionComparisonTool/bin/Debug/RegionComparisonTool.exe
  78. 50
      RegionComparisonTool/bin/Debug/RegionComparisonTool.exe.config
  79. BIN
      RegionComparisonTool/bin/Debug/RegionComparisonTool.pdb
  80. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.Data.v17.1.resources.dll
  81. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.Office.v17.1.Core.resources.dll
  82. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.Pdf.v17.1.Core.resources.dll
  83. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.Printing.v17.1.Core.resources.dll
  84. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.RichEdit.v17.1.Core.resources.dll
  85. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.Sparkline.v17.1.Core.resources.dll
  86. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.Utils.v17.1.resources.dll
  87. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.XtraBars.v17.1.resources.dll
  88. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.XtraEditors.v17.1.resources.dll
  89. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.XtraGrid.v17.1.resources.dll
  90. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.XtraLayout.v17.1.resources.dll
  91. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.XtraNavBar.v17.1.resources.dll
  92. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.XtraPrinting.v17.1.resources.dll
  93. BIN
      RegionComparisonTool/bin/Debug/de/DevExpress.XtraTreeList.v17.1.resources.dll
  94. BIN
      RegionComparisonTool/bin/Debug/es/DevExpress.Data.v17.1.resources.dll
  95. BIN
      RegionComparisonTool/bin/Debug/es/DevExpress.Office.v17.1.Core.resources.dll
  96. BIN
      RegionComparisonTool/bin/Debug/es/DevExpress.Pdf.v17.1.Core.resources.dll
  97. BIN
      RegionComparisonTool/bin/Debug/es/DevExpress.Printing.v17.1.Core.resources.dll
  98. BIN
      RegionComparisonTool/bin/Debug/es/DevExpress.RichEdit.v17.1.Core.resources.dll
  99. BIN
      RegionComparisonTool/bin/Debug/es/DevExpress.Sparkline.v17.1.Core.resources.dll
  100. BIN
      RegionComparisonTool/bin/Debug/es/DevExpress.Utils.v17.1.resources.dll
  101. Some files were not shown because too many files have changed in this diff Show More

11
.gitignore vendored

@ -0,0 +1,11 @@
# ---> Vue
# gitignore template for Vue.js projects
#
# Recommended template: Node.gitignore
# TODO: where does this rule come from?
# TODO: where does this rule come from?
ReportTool/.vs
ReportTool/bin
ReportTool/obj

@ -0,0 +1,3 @@
# RegionComparisonTool
# 区域项目对照工具

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<entityFramework>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<connectionStrings>
<!-- 中央库,标准库 -->
<add name="DtcDbConnectionString"
connectionString="Server=172.16.200.35;Database=dtcdb;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—石林县医院 -->
<add name="LisdbSlConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_sl;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—石林中医院 -->
<add name="LisdbSlzConnectionString"
connectionString="Server=172.16.1.72;Database=lisdb;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—板桥卫生院 -->
<add name="LisdbBqConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_bq;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—长湖卫生院 -->
<add name="LisdbChConnectionString"
connectionString="Server=172.16.200.50;Database=lisdb_ch;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—大可卫生院 -->
<add name="LisdbDkConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_dk;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—圭山卫生院 -->
<add name="LisdbGsConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_gs;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—鹿阜卫生院 -->
<add name="LisdbLfConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_lf;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—西街口卫生院 -->
<add name="LisdbXjkConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_xjk;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace ReportTemplateTool.Helper
{
public class DesHelper
{
public static string DesDecrypt(string data)
{
byte[] bytes = Encoding.ASCII.GetBytes("Lis2021W");
byte[] bytes2 = Encoding.ASCII.GetBytes("xbd2021W");
byte[] buffer;
try
{
buffer = Convert.FromBase64String(data);
}
catch
{
return null;
}
DESCryptoServiceProvider dESCryptoServiceProvider = new DESCryptoServiceProvider();
MemoryStream stream = new MemoryStream(buffer);
CryptoStream stream2 = new CryptoStream(stream, ((SymmetricAlgorithm)(object)dESCryptoServiceProvider).CreateDecryptor(bytes, bytes2), CryptoStreamMode.Read);
StreamReader streamReader = new StreamReader(stream2);
return streamReader.ReadToEnd();
}
}
}

@ -0,0 +1,252 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace RegionComparisonTool.Helper
{
/// <summary>
/// MySecurity(安全类) 的摘要说明。
/// </summary>
public class MySecurity
{
/// <summary>
/// 初始化安全类
/// </summary>
public MySecurity()
{
///默认密码
key = "peis77911@*71";
}
private string key; //默认密钥
private byte[] sKey;
private byte[] sIV;
#region 加密字符串
/// <summary>
/// 加密字符串
/// </summary>
/// <param name="inputStr">输入字符串</param>
/// <param name="keyStr">密码,可以为“”</param>
/// <returns>输出加密后字符串</returns>
static public string SEncryptString(string inputStr, string keyStr)
{
MySecurity ws = new MySecurity();
return ws.EncryptString(inputStr, keyStr);
}
/// <summary>
/// 加密字符串
/// </summary>
/// <param name="inputStr">输入字符串</param>
/// <param name="keyStr">密码,可以为“”</param>
/// <returns>输出加密后字符串</returns>
public string EncryptString(string inputStr, string keyStr)
{
DESCryptoServiceProvider des = new DESCryptoServiceProvider();
if (keyStr == "")
keyStr = key;
byte[] inputByteArray = Encoding.Default.GetBytes(inputStr);
byte[] keyByteArray = Encoding.Default.GetBytes(keyStr);
SHA1 ha = new SHA1Managed();
byte[] hb = ha.ComputeHash(keyByteArray);
sKey = new byte[8];
sIV = new byte[8];
for (int i = 0; i < 8; i++)
sKey[i] = hb[i];
for (int i = 8; i < 16; i++)
sIV[i - 8] = hb[i];
des.Key = sKey;
des.IV = sIV;
MemoryStream ms = new MemoryStream();
CryptoStream cs = new CryptoStream(ms, des.CreateEncryptor(), CryptoStreamMode.Write);
cs.Write(inputByteArray, 0, inputByteArray.Length);
cs.FlushFinalBlock();
StringBuilder ret = new StringBuilder();
foreach (byte b in ms.ToArray())
{
ret.AppendFormat("{0:X2}", b);
}
cs.Close();
ms.Close();
return ret.ToString();
}
#endregion 加密字符串
#region 加密字符串 密钥为系统默认 0123456789
/// <summary>
/// 加密字符串 密钥为系统默认
/// </summary>
/// <param name="inputStr">输入字符串</param>
/// <returns>输出加密后字符串</returns>
static public string SEncryptString(string inputStr)
{
MySecurity ws = new MySecurity();
return ws.EncryptString(inputStr, "");
}
#endregion 加密字符串 密钥为系统默认 0123456789
#region 加密文件
/// <summary>
/// 加密文件
/// </summary>
/// <param name="filePath">输入文件路径</param>
/// <param name="savePath">加密后输出文件路径</param>
/// <param name="keyStr">密码,可以为“”</param>
/// <returns></returns>
public bool EncryptFile(string filePath, string savePath, string keyStr)
{
DESCryptoServiceProvider des = new DESCryptoServiceProvider();
if (keyStr == "")
keyStr = key;
FileStream fs = File.OpenRead(filePath);
byte[] inputByteArray = new byte[fs.Length];
fs.Read(inputByteArray, 0, (int)fs.Length);
fs.Close();
byte[] keyByteArray = Encoding.Default.GetBytes(keyStr);
SHA1 ha = new SHA1Managed();
byte[] hb = ha.ComputeHash(keyByteArray);
sKey = new byte[8];
sIV = new byte[8];
for (int i = 0; i < 8; i++)
sKey[i] = hb[i];
for (int i = 8; i < 16; i++)
sIV[i - 8] = hb[i];
des.Key = sKey;
des.IV = sIV;
MemoryStream ms = new MemoryStream();
CryptoStream cs = new CryptoStream(ms, des.CreateEncryptor(), CryptoStreamMode.Write);
cs.Write(inputByteArray, 0, inputByteArray.Length);
cs.FlushFinalBlock();
fs = File.OpenWrite(savePath);
foreach (byte b in ms.ToArray())
{
fs.WriteByte(b);
}
fs.Close();
cs.Close();
ms.Close();
return true;
}
#endregion 加密文件
#region 解密字符串
/// <summary>
/// 解密字符串
/// </summary>
/// <param name="inputStr">要解密的字符串</param>
/// <param name="keyStr">密钥</param>
/// <returns>解密后的结果</returns>
static public string SDecryptString(string inputStr, string keyStr)
{
MySecurity ws = new MySecurity();
return ws.DecryptString(inputStr, keyStr);
}
/// <summary>
/// 解密字符串 密钥为系统默认
/// </summary>
/// <param name="inputStr">要解密的字符串</param>
/// <returns>解密后的结果</returns>
static public string SDecryptString(string inputStr)
{
MySecurity ws = new MySecurity();
return ws.DecryptString(inputStr, "");
}
/// <summary>
/// 解密字符串
/// </summary>
/// <param name="inputStr">要解密的字符串</param>
/// <param name="keyStr">密钥</param>
/// <returns>解密后的结果</returns>
public string DecryptString(string inputStr, string keyStr)
{
DESCryptoServiceProvider des = new DESCryptoServiceProvider();
if (keyStr == "")
keyStr = key;
byte[] inputByteArray = new byte[inputStr.Length / 2];
for (int x = 0; x < inputStr.Length / 2; x++)
{
int i = (Convert.ToInt32(inputStr.Substring(x * 2, 2), 16));
inputByteArray[x] = (byte)i;
}
byte[] keyByteArray = Encoding.Default.GetBytes(keyStr);
SHA1 ha = new SHA1Managed();
byte[] hb = ha.ComputeHash(keyByteArray);
sKey = new byte[8];
sIV = new byte[8];
for (int i = 0; i < 8; i++)
sKey[i] = hb[i];
for (int i = 8; i < 16; i++)
sIV[i - 8] = hb[i];
des.Key = sKey;
des.IV = sIV;
MemoryStream ms = new MemoryStream();
CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(), CryptoStreamMode.Write);
cs.Write(inputByteArray, 0, inputByteArray.Length);
cs.FlushFinalBlock();
StringBuilder ret = new StringBuilder();
return System.Text.Encoding.Default.GetString(ms.ToArray());
}
#endregion 解密字符串
#region 解密文件
/// <summary>
/// 解密文件
/// </summary>
/// <param name="filePath">输入文件路径</param>
/// <param name="savePath">解密后输出文件路径</param>
/// <param name="keyStr">密码,可以为“”</param>
/// <returns></returns>
public bool DecryptFile(string filePath, string savePath, string keyStr)
{
DESCryptoServiceProvider des = new DESCryptoServiceProvider();
if (keyStr == "")
keyStr = key;
FileStream fs = File.OpenRead(filePath);
byte[] inputByteArray = new byte[fs.Length];
fs.Read(inputByteArray, 0, (int)fs.Length);
fs.Close();
byte[] keyByteArray = Encoding.Default.GetBytes(keyStr);
SHA1 ha = new SHA1Managed();
byte[] hb = ha.ComputeHash(keyByteArray);
sKey = new byte[8];
sIV = new byte[8];
for (int i = 0; i < 8; i++)
sKey[i] = hb[i];
for (int i = 8; i < 16; i++)
sIV[i - 8] = hb[i];
des.Key = sKey;
des.IV = sIV;
MemoryStream ms = new MemoryStream();
CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(), CryptoStreamMode.Write);
cs.Write(inputByteArray, 0, inputByteArray.Length);
cs.FlushFinalBlock();
fs = File.OpenWrite(savePath);
foreach (byte b in ms.ToArray())
{
fs.WriteByte(b);
}
fs.Close();
cs.Close();
ms.Close();
return true;
}
#endregion 解密文件
}
}

@ -0,0 +1,115 @@

namespace RegionComparisonTool
{
partial class MainForm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.panel1 = new System.Windows.Forms.Panel();
this.RCMenu = new DevExpress.XtraEditors.SimpleButton();
this.XtraTabControl = new DevExpress.XtraTab.XtraTabControl();
this.MainTabPage = new DevExpress.XtraTab.XtraTabPage();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.XtraTabControl)).BeginInit();
this.XtraTabControl.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panel1.Controls.Add(this.RCMenu);
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(111, 861);
this.panel1.TabIndex = 0;
//
// RCMenu
//
this.RCMenu.Appearance.ForeColor = System.Drawing.Color.White;
this.RCMenu.Appearance.Options.UseForeColor = true;
this.RCMenu.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.RCMenu.Location = new System.Drawing.Point(0, 0);
this.RCMenu.Name = "RCMenu";
this.RCMenu.Size = new System.Drawing.Size(111, 38);
this.RCMenu.TabIndex = 0;
this.RCMenu.Text = "区域检验申请对照";
//
// XtraTabControl
//
this.XtraTabControl.Appearance.BackColor = System.Drawing.Color.Transparent;
this.XtraTabControl.Appearance.Options.UseBackColor = true;
this.XtraTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.XtraTabControl.Location = new System.Drawing.Point(111, 0);
this.XtraTabControl.Margin = new System.Windows.Forms.Padding(0);
this.XtraTabControl.Name = "XtraTabControl";
this.XtraTabControl.SelectedTabPage = this.MainTabPage;
this.XtraTabControl.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False;
this.XtraTabControl.Size = new System.Drawing.Size(1073, 861);
this.XtraTabControl.TabIndex = 2;
this.XtraTabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.MainTabPage});
//
// MainTabPage
//
this.MainTabPage.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
this.MainTabPage.Appearance.PageClient.Options.UseBackColor = true;
this.MainTabPage.Margin = new System.Windows.Forms.Padding(0);
this.MainTabPage.Name = "MainTabPage";
this.MainTabPage.Size = new System.Drawing.Size(1067, 855);
this.MainTabPage.Text = "MainTabPage";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1184, 861);
this.Controls.Add(this.XtraTabControl);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.IsMdiContainer = true;
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "区域检验报告项目对照工具";
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.XtraTabControl)).EndInit();
this.XtraTabControl.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private DevExpress.XtraEditors.SimpleButton RCMenu;
private DevExpress.XtraTab.XtraTabControl XtraTabControl;
private DevExpress.XtraTab.XtraTabPage MainTabPage;
}
}

@ -0,0 +1,91 @@
using DevExpress.XtraEditors;
using DevExpress.XtraTab;
using RegionComparisonTool.Views;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace RegionComparisonTool
{
public partial class MainForm : Form
{
private SimpleButton _activeButton = null;
private BaseView _currForm = null;
private RcForm _rcForm = null;
public MainForm()
{
InitializeComponent();
RCMenu.Click += Menu_Click;
XtraTabControl.SizeChanged += XtraTabControl_SizeChanged;
}
private void XtraTabControl_SizeChanged(object sender, EventArgs e)
{
// 调整当前活动标签页中的窗体大小
if (XtraTabControl.SelectedTabPage != null)
{
AdjustFormSizeInTabPage(XtraTabControl.SelectedTabPage);
}
}
private void AdjustFormSizeInTabPage(XtraTabPage tabPage)
{
if (tabPage.Controls.Count > 0 && tabPage.Controls[0] is Form childForm)
{
this._rcForm.Size = tabPage.ClientSize;
ButtonMenuCommon();
}
}
private void Menu_Click(object sender, EventArgs e)
{
if(this._activeButton != null)
{
this._activeButton.ForeColor = Color.White;
this._activeButton.BackColor = Color.Transparent;
this._activeButton.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
}
this._activeButton = (sender as SimpleButton);
this.ButtonMenuCommon();
}
private void ButtonMenuCommon()
{
this._currForm = null;
switch (this._activeButton.Text)
{
case "区域检验申请对照":
this._currForm = new RcForm();
this._rcForm = (RcForm)this._currForm;
break;
default:
break;
}
if (this._currForm == null) return;
this._activeButton.ForeColor = Color.Red;
this._activeButton.BackColor = Color.WhiteSmoke;
this._activeButton.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
var tabPage = new DevExpress.XtraTab.XtraTabPage
{
Text = this._activeButton.Text,
Name = "MainTabPage"
};
this._currForm.TopLevel = false;
this._currForm.FormBorderStyle = FormBorderStyle.None;
this._currForm.Text = this._activeButton.Text;
this._currForm.Dock = DockStyle.Fill;
tabPage.Controls.Add(this._currForm);
XtraTabControl.TabPages.Add(tabPage);
XtraTabControl.TabPages.RemoveAt(0);
this._currForm.Show();
// 立即调整大小
this._currForm.Size = tabPage.ClientSize;
}
}
}

@ -0,0 +1,408 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP+eOgD/njoA/543Af+e
OQP/nj4L/55AF/+eQCH/nkAp/55ALP+ePyz/nj8q/54/J/+ePyT/nT8h/50/Gf+ePgz/oT0E/6I9Af+g
PQD/oD0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP+rOgD/qzoA/6s6Af+rOgL/qzoC/6s6Af+r
OgD/qzoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAD/njsA/547AP+eOgT/njoO/54+J/+eQE3/nkBt/55Ag/+eQI7/nj+N/54/iP+eP3//nj92/50/a/+d
P1L/nj4q/6A+EP+gPQT/nz4A/58+AAAAAAAAAA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AYAH//+AAAAAAB///4AAAAAAH///4AAAAAB////gAAAAAH/////
+AAAH//////4AAAf//////4AAAf/////4AAAB////gGAAAAAAH/+AYAAAAAAf/gAAGAAAAAf+AAAYAAA
AB/gAAAAAAAAB+AAAAAAAAAHgAAAAAAAAAOAAAAAAAAAAYAAAAGAHgABgAAAAYAeAAGAAAAB4BgAAYAY
AAHgGAABgAfgB+AAAAGAB+AH4AAAAeAB4B/gAAAB4AHgH+AAAAH4AGAf4AAAAfgAYAfgAAAB/gAAAeAA
AAH+AAAB4AAAAf+AAAAAAAAB/4AAABAAAAH/4AAAAAAAf//gAAAAAAB///gAAAAAAH//+AAAAAAAf//+
AAABgAB///4AAAGAAP///+AAB///////4AAH//////////////8=
</value>
</data>
</root>

@ -0,0 +1,39 @@
using RegionComparisonTool.Models.Std;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
public partial class DtcDbContext : DbContext
{
/// <summary>
/// 区域库——中央标准库
/// </summary>
public DtcDbContext() : base("name=DtcDbConnectionString")
{
}
public virtual DbSet<DictStdReqItem> DictStdReqItem { get; set; }
public virtual DbSet<ReqItemRecord> ReqItemRecord { get; set; }
public virtual DbSet<DictHospital> DictHospital { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictStdReqItem>()
.ToTable("Dict_StdReqItem");
modelBuilder.Entity<ReqItemRecord>()
.ToTable("Dict_ReqItem");
modelBuilder.Entity<DictHospital>()
.ToTable("Dict_Hospital");
Database.SetInitializer<DtcDbContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,31 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
public partial class LisdbBqContext : DbContext
{
/// <summary>
/// 板桥
/// </summary>
public LisdbBqContext() : base("name=lisdbBqConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisdbBqContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,31 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
public partial class LisdbChContext : DbContext
{
/// <summary>
/// 长湖
/// </summary>
public LisdbChContext() : base("name=LisdbChConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisdbChContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,31 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
public partial class LisdbDkContext : DbContext
{
/// <summary>
/// 大可
/// </summary>
public LisdbDkContext() : base("name=LisdbDkConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisdbDkContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,31 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
public partial class LisdbGsContext : DbContext
{
/// <summary>
/// 圭山
/// </summary>
public LisdbGsContext() : base("name=LisdbGsConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisdbGsContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,32 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
/// <summary>
/// 鹿阜
/// </summary>
public partial class LisdbLfContext : DbContext
{
public LisdbLfContext() : base("name=LisdbLfConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisdbLfContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,30 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
public partial class LisDbSlContext : DbContext
{
/// <summary>
/// 石林县医院
/// </summary>
public LisDbSlContext() : base("name=LisdbSlConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisDbSlContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,31 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
public partial class LisdbSlzContext : DbContext
{
/// <summary>
/// 石林中医院
/// </summary>
public LisdbSlzContext() : base("name=LisdbSlzConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisdbSlzContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,32 @@
using RegionComparisonTool.Models;
using System;
using System.Data.Entity;
namespace ReportTemplateTool.Models.Context
{
/// <summary>
/// 西街口
/// </summary>
public partial class LisdbXjkContext : DbContext
{
public LisdbXjkContext() : base("name=LisdbXjkConnectionString")
{
}
public virtual DbSet<DictReqItem> DictReqItem { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<DictReqItem>()
.ToTable("Dict_ReportItem");
Database.SetInitializer<LisdbXjkContext>(null); // 禁用初始化器
Database.Log = Console.WriteLine;
base.OnModelCreating(modelBuilder);
}
}
}

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RegionComparisonTool.Models
{
/// <summary>
/// 区域——申请项目(通用)
/// </summary>
public class DictReqItem
{
public string? ReqItemCode { get; set; }
public string? ReqItemName { get; set; }
public string? Pym { get; set; }
public string? NameShort { get; set; }
public decimal? Price { get; set; }
public string? Sex { get; set; }
public bool? IsEmer { get; set; }
public string? InsCode { get; set; }
public string? SpecimenCode { get; set; }
public string? CollectMin { get; set; }
public string? Tip { get; set; }
public string? Description { get; set; }
public bool? HasStoped { get; set; }
}
}

@ -0,0 +1,19 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace RegionComparisonTool.Models.Std
{
/// <summary>
/// 标准库——医院信息
/// </summary>
public class DictHospital
{
[Key]
public Int32 ID { get; set; }
public string? HospCode { get; set; }
public string? HospName { get; set; }
public string? Description { get; set; }
public string? LISConnection { get; set; } = "";
public string? BarcodePrefix { get; set; }
}
}

@ -0,0 +1,21 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace RegionComparisonTool.Models.Std
{
/// <summary>
/// 标准申请项目
/// </summary>
public class DictStdReqItem
{
[Key]
public Int32 ID { get; set; }
public string? StdReqItemCode { get; set; }
public string? StdReqItemName { get; set; }
public DateTime? CreateTime { get; set; }
public DateTime? UpdateTime { get; set; }
public string? Updater { get; set; }
public bool? IsStope { get; set; }
public bool? IsDelete { get; set; }
}
}

@ -0,0 +1,21 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace RegionComparisonTool.Models.Std
{
public class ReqItemRecord
{
[Key]
public Int64 ID { get; set; }
public string? HospCode { get; set; }
public string? StdReqItemCode { get; set; }
public string? ReqItemCode { get; set; }
public DateTime? CreateTime { get; set; }
public DateTime? UpdateTime { get; set; }
public string? Updater { get; set; }
[NotMapped]
public string? HospName { get; set; }
}
}

@ -0,0 +1,19 @@
using System;
using System.Windows.Forms;
namespace RegionComparisonTool
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("RegionComparisonTool")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RegionComparisonTool")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("7f7677dc-6ec8-4628-a9b6-f8a78abc2a43")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace RegionComparisonTool.Properties {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// 返回此类使用的缓存的 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RegionComparisonTool.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 重写当前线程的 CurrentUICulture 属性,对
/// 使用此强类型资源类的所有资源查找执行重写。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace RegionComparisonTool.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

@ -0,0 +1,3 @@
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraNavBar.NavBarControl, DevExpress.XtraNavBar.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraTabbedMdi.XtraTabbedMdiManager, DevExpress.XtraBars.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

@ -0,0 +1,188 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\EntityFramework.6.5.1\build\EntityFramework.props" Condition="Exists('packages\EntityFramework.6.5.1\build\EntityFramework.props')" />
<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>
<LangVersion>8.0</LangVersion>
<ProjectGuid>{7F7677DC-6EC8-4628-A9B6-F8A78ABC2A43}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>RegionComparisonTool</RootNamespace>
<AssemblyName>RegionComparisonTool</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<IsWebBootstrapper>false</IsWebBootstrapper>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</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>
<PropertyGroup>
<StartupObject>RegionComparisonTool.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>tool_favicon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Printing.v17.1.Core, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Utils.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.XtraBars.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraEditors.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.XtraGrid.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraLayout.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.XtraNavBar.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraPrinting.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>packages\EntityFramework.6.5.1\lib\net40\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>packages\EntityFramework.6.5.1\lib\net40\EntityFramework.SqlServer.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<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="Helper\DAOHelper.cs" />
<Compile Include="Helper\DesHelper.cs" />
<Compile Include="Helper\MySecurity.cs" />
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Models\Context\LisdbXjkContext.cs" />
<Compile Include="Models\Context\LisdbLfContext.cs" />
<Compile Include="Models\Context\LisdbGsContext.cs" />
<Compile Include="Models\Context\LisdbDkContext.cs" />
<Compile Include="Models\Context\LisdbChContext.cs" />
<Compile Include="Models\Context\LisdbBqContext.cs" />
<Compile Include="Models\Context\LisdbSlzContext.cs" />
<Compile Include="Models\Context\LisdbSlContext.cs" />
<Compile Include="Models\Context\DtcDbContext.cs" />
<Compile Include="Models\DictReqItem.cs" />
<Compile Include="Models\Std\DictHospital.cs" />
<Compile Include="Models\Std\ReqItemRecord.cs" />
<Compile Include="Models\Std\DictStdReqItem.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\BaseView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Views\RcForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Views\RcForm.Designer.cs">
<DependentUpon>RcForm.cs</DependentUpon>
</Compile>
<Compile Include="Views\RegionComparisonForm - 复制.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Views\RegionComparisonForm - 复制.Designer.cs">
<DependentUpon>RegionComparisonForm - 复制.cs</DependentUpon>
</Compile>
<Compile Include="Views\RegionComparisonForm1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Views\RegionComparisonForm1.Designer.cs">
<DependentUpon>RegionComparisonForm1.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Views\RcForm.resx">
<DependentUpon>RcForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Views\RegionComparisonForm - 复制.resx">
<DependentUpon>RegionComparisonForm - 复制.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Views\RegionComparisonForm1.resx">
<DependentUpon>RegionComparisonForm1.cs</DependentUpon>
</EmbeddedResource>
<None Include="App.config" />
<None Include="packages.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>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Content Include="Resources\tool_favicon.ico" />
<Content Include="tool_favicon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('packages\EntityFramework.6.5.1\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\EntityFramework.6.5.1\build\EntityFramework.props'))" />
<Error Condition="!Exists('packages\EntityFramework.6.5.1\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\EntityFramework.6.5.1\build\EntityFramework.targets'))" />
</Target>
<Import Project="packages\EntityFramework.6.5.1\build\EntityFramework.targets" Condition="Exists('packages\EntityFramework.6.5.1\build\EntityFramework.targets')" />
</Project>

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>zh-CN</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
<ProjectView>ProjectFiles</ProjectView>
</PropertyGroup>
</Project>

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.36107.64
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RegionComparisonTool", "RegionComparisonTool.csproj", "{7F7677DC-6EC8-4628-A9B6-F8A78ABC2A43}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7F7677DC-6EC8-4628-A9B6-F8A78ABC2A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7F7677DC-6EC8-4628-A9B6-F8A78ABC2A43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7F7677DC-6EC8-4628-A9B6-F8A78ABC2A43}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7F7677DC-6EC8-4628-A9B6-F8A78ABC2A43}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {836958E9-C311-486D-A03C-16C4B17A569E}
EndGlobalSection
EndGlobal

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@ -0,0 +1,36 @@
using ReportTemplateTool.Models;
using ReportTemplateTool.Models.Context;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace RegionComparisonTool.Views
{
public partial class BaseView : Form
{
public readonly DtcDbContext _db;
public BaseView()
{
try
{
_db = new DtcDbContext();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
MessageBox.Show(ex.Message);
}
}
public void RefreshSize(Size size)
{
this.Size = size;
this.Update();
}
}
}

@ -0,0 +1,525 @@

namespace RegionComparisonTool.Views
{
partial class RcForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.StdReqControl = new DevExpress.XtraGrid.GridControl();
this.StdReqItemContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.StdReqItemDelMenu = new System.Windows.Forms.ToolStripMenuItem();
this.StdReqItemStopMenu = new System.Windows.Forms.ToolStripMenuItem();
this.StdReqView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panel5 = new System.Windows.Forms.Panel();
this.HadCRReqCheckBox = new System.Windows.Forms.CheckBox();
this.SearchBtn = new System.Windows.Forms.Button();
this.RefreshCacheBtn = new System.Windows.Forms.Button();
this.SearchTxt = new System.Windows.Forms.TextBox();
this.RCReqItemsControl = new DevExpress.XtraGrid.GridControl();
this.RCReqItemsView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.HospReqItemsControl = new DevExpress.XtraGrid.GridControl();
this.HospReqItemsView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.panel1 = new System.Windows.Forms.Panel();
this.HospReqSearchBtn = new System.Windows.Forms.Button();
this.HospReqSearchTxt = new System.Windows.Forms.TextBox();
this.HospitalBox = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.StdReqControl)).BeginInit();
this.StdReqItemContextMenuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.StdReqView)).BeginInit();
this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.StdReqControl);
this.splitContainer1.Panel1.Controls.Add(this.panel5);
this.splitContainer1.Panel1.Controls.Add(this.RCReqItemsControl);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.HospReqItemsControl);
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Size = new System.Drawing.Size(1097, 691);
this.splitContainer1.SplitterDistance = 768;
this.splitContainer1.TabIndex = 0;
//
// StdReqControl
//
this.StdReqControl.ContextMenuStrip = this.StdReqItemContextMenuStrip;
this.StdReqControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.StdReqControl.Location = new System.Drawing.Point(0, 38);
this.StdReqControl.MainView = this.StdReqView;
this.StdReqControl.Name = "StdReqControl";
this.StdReqControl.Size = new System.Drawing.Size(768, 373);
this.StdReqControl.TabIndex = 6;
this.StdReqControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.StdReqView});
//
// StdReqItemContextMenuStrip
//
this.StdReqItemContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.StdReqItemDelMenu,
this.StdReqItemStopMenu});
this.StdReqItemContextMenuStrip.Name = "StdReqItemContextMenuStrip";
this.StdReqItemContextMenuStrip.Size = new System.Drawing.Size(181, 78);
//
// StdReqItemDelMenu
//
this.StdReqItemDelMenu.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.StdReqItemDelMenu.ForeColor = System.Drawing.Color.Red;
this.StdReqItemDelMenu.Name = "StdReqItemDelMenu";
this.StdReqItemDelMenu.Size = new System.Drawing.Size(180, 26);
this.StdReqItemDelMenu.Text = "删除";
//
// StdReqItemStopMenu
//
this.StdReqItemStopMenu.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
this.StdReqItemStopMenu.ForeColor = System.Drawing.Color.Orange;
this.StdReqItemStopMenu.Name = "StdReqItemStopMenu";
this.StdReqItemStopMenu.Size = new System.Drawing.Size(180, 26);
this.StdReqItemStopMenu.Text = "停用";
//
// StdReqView
//
this.StdReqView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn1,
this.gridColumn2,
this.gridColumn3,
this.gridColumn4,
this.gridColumn5,
this.gridColumn6,
this.gridColumn7});
this.StdReqView.GridControl = this.StdReqControl;
this.StdReqView.Name = "StdReqView";
this.StdReqView.OptionsView.ShowGroupPanel = false;
this.StdReqView.RowHeight = 40;
//
// gridColumn1
//
this.gridColumn1.Caption = "项目代码";
this.gridColumn1.FieldName = "StdReqItemCode";
this.gridColumn1.Name = "gridColumn1";
this.gridColumn1.OptionsColumn.AllowEdit = false;
this.gridColumn1.Visible = true;
this.gridColumn1.VisibleIndex = 0;
this.gridColumn1.Width = 100;
//
// gridColumn2
//
this.gridColumn2.Caption = "项目名称";
this.gridColumn2.FieldName = "StdReqItemName";
this.gridColumn2.Name = "gridColumn2";
this.gridColumn2.OptionsColumn.AllowEdit = false;
this.gridColumn2.Visible = true;
this.gridColumn2.VisibleIndex = 1;
this.gridColumn2.Width = 178;
//
// gridColumn3
//
this.gridColumn3.Caption = "创建时间";
this.gridColumn3.FieldName = "CreateTime";
this.gridColumn3.Name = "gridColumn3";
this.gridColumn3.OptionsColumn.AllowEdit = false;
this.gridColumn3.Visible = true;
this.gridColumn3.VisibleIndex = 2;
this.gridColumn3.Width = 80;
//
// gridColumn4
//
this.gridColumn4.Caption = "更新时间";
this.gridColumn4.FieldName = "UpdateTime";
this.gridColumn4.Name = "gridColumn4";
this.gridColumn4.OptionsColumn.AllowEdit = false;
this.gridColumn4.Visible = true;
this.gridColumn4.VisibleIndex = 3;
this.gridColumn4.Width = 80;
//
// gridColumn5
//
this.gridColumn5.Caption = "更新人";
this.gridColumn5.FieldName = "Updater";
this.gridColumn5.Name = "gridColumn5";
this.gridColumn5.OptionsColumn.AllowEdit = false;
this.gridColumn5.Visible = true;
this.gridColumn5.VisibleIndex = 4;
this.gridColumn5.Width = 80;
//
// gridColumn6
//
this.gridColumn6.Caption = "是否停用";
this.gridColumn6.FieldName = "IsStope";
this.gridColumn6.Name = "gridColumn6";
this.gridColumn6.OptionsColumn.AllowEdit = false;
this.gridColumn6.Visible = true;
this.gridColumn6.VisibleIndex = 5;
this.gridColumn6.Width = 80;
//
// gridColumn7
//
this.gridColumn7.Caption = "是否删除";
this.gridColumn7.FieldName = "IsDelete";
this.gridColumn7.Name = "gridColumn7";
this.gridColumn7.OptionsColumn.AllowEdit = false;
this.gridColumn7.Visible = true;
this.gridColumn7.VisibleIndex = 6;
this.gridColumn7.Width = 82;
//
// panel5
//
this.panel5.BackColor = System.Drawing.SystemColors.Control;
this.panel5.Controls.Add(this.HadCRReqCheckBox);
this.panel5.Controls.Add(this.SearchBtn);
this.panel5.Controls.Add(this.RefreshCacheBtn);
this.panel5.Controls.Add(this.SearchTxt);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(768, 38);
this.panel5.TabIndex = 5;
//
// HadCRReqCheckBox
//
this.HadCRReqCheckBox.AutoSize = true;
this.HadCRReqCheckBox.Location = new System.Drawing.Point(419, 13);
this.HadCRReqCheckBox.Name = "HadCRReqCheckBox";
this.HadCRReqCheckBox.Size = new System.Drawing.Size(84, 16);
this.HadCRReqCheckBox.TabIndex = 3;
this.HadCRReqCheckBox.Text = "已对照项目";
this.HadCRReqCheckBox.UseVisualStyleBackColor = true;
//
// SearchBtn
//
this.SearchBtn.Location = new System.Drawing.Point(243, 10);
this.SearchBtn.Name = "SearchBtn";
this.SearchBtn.Size = new System.Drawing.Size(75, 23);
this.SearchBtn.TabIndex = 0;
this.SearchBtn.Text = "搜索";
this.SearchBtn.UseVisualStyleBackColor = true;
//
// RefreshCacheBtn
//
this.RefreshCacheBtn.Location = new System.Drawing.Point(324, 10);
this.RefreshCacheBtn.Name = "RefreshCacheBtn";
this.RefreshCacheBtn.Size = new System.Drawing.Size(75, 23);
this.RefreshCacheBtn.TabIndex = 2;
this.RefreshCacheBtn.Text = "刷新";
this.RefreshCacheBtn.UseVisualStyleBackColor = true;
//
// SearchTxt
//
this.SearchTxt.Location = new System.Drawing.Point(7, 10);
this.SearchTxt.Name = "SearchTxt";
this.SearchTxt.Size = new System.Drawing.Size(230, 21);
this.SearchTxt.TabIndex = 1;
//
// RCReqItemsControl
//
this.RCReqItemsControl.Dock = System.Windows.Forms.DockStyle.Bottom;
this.RCReqItemsControl.Location = new System.Drawing.Point(0, 411);
this.RCReqItemsControl.MainView = this.RCReqItemsView;
this.RCReqItemsControl.Name = "RCReqItemsControl";
this.RCReqItemsControl.Size = new System.Drawing.Size(768, 280);
this.RCReqItemsControl.TabIndex = 7;
this.RCReqItemsControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.RCReqItemsView,
this.gridView2});
//
// RCReqItemsView
//
this.RCReqItemsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn11,
this.gridColumn12,
this.gridColumn13,
this.gridColumn14,
this.gridColumn15,
this.gridColumn16,
this.gridColumn17});
this.RCReqItemsView.GridControl = this.RCReqItemsControl;
this.RCReqItemsView.Name = "RCReqItemsView";
this.RCReqItemsView.OptionsBehavior.Editable = false;
this.RCReqItemsView.RowHeight = 30;
//
// gridColumn11
//
this.gridColumn11.Caption = "医院代码";
this.gridColumn11.FieldName = "HospCode";
this.gridColumn11.Name = "gridColumn11";
this.gridColumn11.Visible = true;
this.gridColumn11.VisibleIndex = 0;
//
// gridColumn12
//
this.gridColumn12.Caption = "医院名称";
this.gridColumn12.FieldName = "HospName";
this.gridColumn12.Name = "gridColumn12";
this.gridColumn12.Visible = true;
this.gridColumn12.VisibleIndex = 1;
//
// gridColumn13
//
this.gridColumn13.Caption = "标准申请代码";
this.gridColumn13.FieldName = "StdReqItemCode";
this.gridColumn13.Name = "gridColumn13";
this.gridColumn13.Visible = true;
this.gridColumn13.VisibleIndex = 2;
//
// gridColumn14
//
this.gridColumn14.Caption = "医院申请代码";
this.gridColumn14.FieldName = "ReqItemCode";
this.gridColumn14.Name = "gridColumn14";
this.gridColumn14.Visible = true;
this.gridColumn14.VisibleIndex = 3;
//
// gridColumn15
//
this.gridColumn15.Caption = "创建时间";
this.gridColumn15.FieldName = "CreateTime";
this.gridColumn15.Name = "gridColumn15";
this.gridColumn15.Visible = true;
this.gridColumn15.VisibleIndex = 4;
//
// gridColumn16
//
this.gridColumn16.Caption = "更新时间";
this.gridColumn16.FieldName = "UpdateTime";
this.gridColumn16.Name = "gridColumn16";
this.gridColumn16.Visible = true;
this.gridColumn16.VisibleIndex = 5;
//
// gridColumn17
//
this.gridColumn17.Caption = "更新人";
this.gridColumn17.FieldName = "Updater";
this.gridColumn17.Name = "gridColumn17";
this.gridColumn17.Visible = true;
this.gridColumn17.VisibleIndex = 6;
//
// gridView2
//
this.gridView2.GridControl = this.RCReqItemsControl;
this.gridView2.Name = "gridView2";
//
// HospReqItemsControl
//
this.HospReqItemsControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.HospReqItemsControl.Location = new System.Drawing.Point(0, 84);
this.HospReqItemsControl.MainView = this.HospReqItemsView;
this.HospReqItemsControl.Name = "HospReqItemsControl";
this.HospReqItemsControl.Size = new System.Drawing.Size(325, 607);
this.HospReqItemsControl.TabIndex = 2;
this.HospReqItemsControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.HospReqItemsView,
this.gridView1});
//
// HospReqItemsView
//
this.HospReqItemsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn8,
this.gridColumn9,
this.gridColumn10});
this.HospReqItemsView.GridControl = this.HospReqItemsControl;
this.HospReqItemsView.Name = "HospReqItemsView";
this.HospReqItemsView.OptionsBehavior.Editable = false;
this.HospReqItemsView.OptionsView.ShowGroupPanel = false;
this.HospReqItemsView.RowHeight = 30;
//
// gridColumn8
//
this.gridColumn8.Caption = "项目代码";
this.gridColumn8.FieldName = "ReqItemCode";
this.gridColumn8.Name = "gridColumn8";
this.gridColumn8.Visible = true;
this.gridColumn8.VisibleIndex = 0;
//
// gridColumn9
//
this.gridColumn9.Caption = "项目名称";
this.gridColumn9.FieldName = "ReqItemName";
this.gridColumn9.Name = "gridColumn9";
this.gridColumn9.Visible = true;
this.gridColumn9.VisibleIndex = 1;
//
// gridColumn10
//
this.gridColumn10.Caption = "描述";
this.gridColumn10.FieldName = "Description";
this.gridColumn10.Name = "gridColumn10";
this.gridColumn10.Visible = true;
this.gridColumn10.VisibleIndex = 2;
//
// gridView1
//
this.gridView1.GridControl = this.HospReqItemsControl;
this.gridView1.Name = "gridView1";
//
// panel1
//
this.panel1.Controls.Add(this.HospReqSearchBtn);
this.panel1.Controls.Add(this.HospReqSearchTxt);
this.panel1.Controls.Add(this.HospitalBox);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(325, 84);
this.panel1.TabIndex = 0;
//
// HospReqSearchBtn
//
this.HospReqSearchBtn.Location = new System.Drawing.Point(195, 38);
this.HospReqSearchBtn.Name = "HospReqSearchBtn";
this.HospReqSearchBtn.Size = new System.Drawing.Size(75, 23);
this.HospReqSearchBtn.TabIndex = 3;
this.HospReqSearchBtn.Text = "搜索";
this.HospReqSearchBtn.UseVisualStyleBackColor = true;
//
// HospReqSearchTxt
//
this.HospReqSearchTxt.Location = new System.Drawing.Point(4, 38);
this.HospReqSearchTxt.Name = "HospReqSearchTxt";
this.HospReqSearchTxt.Size = new System.Drawing.Size(181, 21);
this.HospReqSearchTxt.TabIndex = 2;
//
// HospitalBox
//
this.HospitalBox.FormattingEnabled = true;
this.HospitalBox.Location = new System.Drawing.Point(4, 9);
this.HospitalBox.Name = "HospitalBox";
this.HospitalBox.Size = new System.Drawing.Size(266, 20);
this.HospitalBox.TabIndex = 1;
//
// RcForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(1097, 691);
this.Controls.Add(this.splitContainer1);
this.Name = "RcForm";
this.Text = "RcForm";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.StdReqControl)).EndInit();
this.StdReqItemContextMenuStrip.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.StdReqView)).EndInit();
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Panel panel1;
private DevExpress.XtraGrid.GridControl HospReqItemsControl;
private DevExpress.XtraGrid.Views.Grid.GridView HospReqItemsView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
private System.Windows.Forms.ComboBox HospitalBox;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Button SearchBtn;
private System.Windows.Forms.Button RefreshCacheBtn;
private System.Windows.Forms.TextBox SearchTxt;
private DevExpress.XtraGrid.GridControl StdReqControl;
private DevExpress.XtraGrid.Views.Grid.GridView StdReqView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
private DevExpress.XtraGrid.GridControl RCReqItemsControl;
private DevExpress.XtraGrid.Views.Grid.GridView RCReqItemsView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
private DevExpress.XtraGrid.Views.Grid.GridView gridView2;
private System.Windows.Forms.CheckBox HadCRReqCheckBox;
private System.Windows.Forms.Button HospReqSearchBtn;
private System.Windows.Forms.TextBox HospReqSearchTxt;
private System.Windows.Forms.ContextMenuStrip StdReqItemContextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem StdReqItemDelMenu;
private System.Windows.Forms.ToolStripMenuItem StdReqItemStopMenu;
}
}

@ -0,0 +1,256 @@
using RegionComparisonTool.Helper;
using RegionComparisonTool.Models.Std;
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace RegionComparisonTool.Views
{
public partial class RcForm : BaseView
{
private List<DictStdReqItem> _stdReItems = new List<DictStdReqItem>();
private List<DictHospital> _hospitals = new List<DictHospital>();
private DictHospital _hosp = new DictHospital();
private List<DictStdReqItem> _stdReqDataResource = new List<DictStdReqItem>();
private List<Models.DictReqItem> _hospReqItems = new List<Models.DictReqItem>();
public RcForm()
{
InitializeComponent();
SearchTxt.KeyDown += new KeyEventHandler(SearchTxt_KeyDown);
SearchBtn.Click += new EventHandler(SearchBtn_Click);
RefreshCacheBtn.Click += new EventHandler(RefreshCacheBtn_Click);
HospitalBox.SelectedValueChanged += new EventHandler(HospitalBox_SelectedValueChanged);
StdReqControl.MouseClick += new MouseEventHandler(StdReqControl_MouseClick);
HospReqItemsControl.MouseDoubleClick += new MouseEventHandler(HospReqItemsControl_MouseDoubleClick);
RCReqItemsControl.MouseDoubleClick += new MouseEventHandler(RCReqItemsControl_MouseDoubleClick);
SizeChanged += new EventHandler(RcForm_SizeChanged);
HadCRReqCheckBox.CheckedChanged += new EventHandler(HadCRReqCheckBox_CheckedChanged);
HospReqSearchTxt.KeyDown += HospReqSearchTxt_KeyDown;
HospReqSearchBtn.Click += HospReqSearchBtn_Click;
StdReqItemDelMenu.Click += StdReqItemDelMenu_Click;
StdReqItemStopMenu.Click += StdReqItemStopMenu_Click;
StdReqItemContextMenuStrip.Opening += StdReqItemContextMenuStrip_Opening;
// 初始化缓存数据
this.RefreshCacheBtn_Click(null, null);
this.Shown += new EventHandler(RegionComparisonForm_Shown);
this.Dock = DockStyle.Fill;
}
private void StdReqItemContextMenuStrip_Opening(object sender, System.ComponentModel.CancelEventArgs e)
{
string _isStope = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "IsStope").ToString();
string _isDelete = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "IsDelete").ToString();
if (_isStope == "True")
{
StdReqItemStopMenu.Text = "取消停用";
}
else
{
StdReqItemStopMenu.Text = "停用";
}
if (_isDelete == "True")
{
StdReqItemDelMenu.Text = "取消删除";
}
else
{
StdReqItemDelMenu.Text = "删除";
}
}
private void StdReqItemStopMenu_Click(object sender, EventArgs e)
{
Int32 ID = Int32.Parse(StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "ID").ToString());
string _stdReqItemCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
DictStdReqItem updateItem = _db.DictStdReqItem.Where(p => p.ID == ID && p.StdReqItemCode == _stdReqItemCode).FirstOrDefault();
updateItem.IsStope = !updateItem.IsStope;
if (_db.SaveChanges() > 0)
{
this.RefreshCacheBtn_Click(null, null);
}
}
private void StdReqItemDelMenu_Click(object sender, EventArgs e)
{
Int32 ID = Int32.Parse(StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "ID").ToString());
string _stdReqItemCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
DictStdReqItem updateItem = _db.DictStdReqItem.Where(p => p.ID == ID && p.StdReqItemCode == _stdReqItemCode).FirstOrDefault();
updateItem.IsDelete = !updateItem.IsDelete;
if (_db.SaveChanges() > 0)
{
this.RefreshCacheBtn_Click(null, null);
}
}
public void RefreshFormSize(Size size)
{
this.Size = size;
this.Update();
}
private void RcForm_SizeChanged(object sender, EventArgs e)
{
var _size = this.Size;
this.Update();
Console.WriteLine(this.Size);
}
private void RegionComparisonForm_Shown(object sender, EventArgs e)
{
// 初始化数据
this.SearchBtn_Click(null, null);
_hospitals = _db.DictHospital.ToList();
HospitalBox.DataSource = _hospitals.Where(p => !string.IsNullOrEmpty(p.LISConnection)).ToList();
HospitalBox.DisplayMember = "HospName";
HospitalBox.ValueMember = "HospCode";
//Console.WriteLine("sl:" + MySecurity.SEncryptString("Server=200.200.200.100;Database=lisdb;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("sl:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_sl;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("slz:" + MySecurity.SEncryptString("Server=172.16.1.72;Database=lisdb;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("bq:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_bq;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("ch:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_ch;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("dk:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_dk;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("gs:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_gs;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("lf:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_lf;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("xjk:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_xjk;User ID=sa;Password=xbdLis!@#77911;"));
}
private void SearchTxt_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
this.SearchBtn_Click(null, null);
}
}
private void SearchBtn_Click(object sender, EventArgs e)
{
string searchTxt = SearchTxt.Text;
if (string.IsNullOrEmpty(searchTxt))
{
this._stdReqDataResource = this._stdReItems;
Invoke(new Action(() => StdReqControl.DataSource = this._stdReItems));
}
else
{
this._stdReqDataResource = this._stdReItems.Where(x => x.StdReqItemName.Contains(searchTxt) || x.StdReqItemCode.Contains(searchTxt)).ToList();
Invoke(new Action(() => StdReqControl.DataSource = this._stdReqDataResource));
}
}
private void RefreshCacheBtn_Click(object sender, EventArgs e)
{
this._stdReItems = _db.DictStdReqItem.ToList();
}
private void HospitalBox_SelectedValueChanged(object sender, EventArgs e)
{
Invoke(new Action(() => HospReqItemsControl.DataSource = new List<ReqItemRecord>()));
_hosp = HospitalBox.SelectedItem as DictHospital;
if (_hosp == null || string.IsNullOrEmpty(_hosp.LISConnection)) return;
DAOHelper.ConnectionString = MySecurity.SDecryptString(_hosp.LISConnection);
this._hospReqItems = DAOHelper.GetDataBySQL<Models.DictReqItem>("select ReqItemCode, ReqItemName, Description from Dict_ReqItem");
Invoke(new Action(() => HospReqItemsControl.DataSource = this._hospReqItems));
}
private void StdReqControl_MouseClick(object sender, MouseEventArgs e)
{
GetReqItemRecords();
}
private void GetReqItemRecords()
{
string _stdReqCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
if (string.IsNullOrEmpty(_stdReqCode)) return;
List<ReqItemRecord> _list = _db.ReqItemRecord.Where(x => x.StdReqItemCode == _stdReqCode).ToList();
foreach (var item in _list)
{
item.HospName = _db.DictHospital.FirstOrDefault(p => p.HospCode == item.HospCode)?.HospName;
}
Invoke(new Action(() => RCReqItemsControl.DataSource = _list));
}
private void HospReqItemsControl_MouseDoubleClick(object sender, MouseEventArgs e)
{
string _stdReqCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
if (string.IsNullOrEmpty(_stdReqCode))
{
MessageBox.Show("请先选择标准申请项目!");
return;
}
string _reqIremCode = HospReqItemsView.GetRowCellValue(HospReqItemsView.GetSelectedRows()[0], "ReqItemCode").ToString();
if (_db.ReqItemRecord.Any(x => x.HospCode == _hosp.HospCode && x.StdReqItemCode == _stdReqCode && x.ReqItemCode == _reqIremCode))
{
MessageBox.Show("该医院该申请项目已存在!");
return;
}
ReqItemRecord _record = new ReqItemRecord
{
HospCode = _hosp.HospCode,
StdReqItemCode = _stdReqCode,
ReqItemCode = _reqIremCode,
CreateTime = DateTime.Now,
UpdateTime = DateTime.Now,
Updater = ""
};
_db.ReqItemRecord.Add(_record);
_db.SaveChanges();
GetReqItemRecords();
}
private void RCReqItemsControl_MouseDoubleClick(object sender, MouseEventArgs e)
{
string _hospCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "HospCode").ToString();
string _stdReqItemCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "StdReqItemCode").ToString();
string _reqIremCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "ReqItemCode").ToString();
_db.ReqItemRecord.Remove(_db.ReqItemRecord.FirstOrDefault(x => x.HospCode == _hospCode && x.StdReqItemCode == _stdReqItemCode && x.ReqItemCode == _reqIremCode));
_db.SaveChanges();
GetReqItemRecords();
}
private void HadCRReqCheckBox_CheckedChanged(object sender, EventArgs e)
{
if (HadCRReqCheckBox.Checked)
{
List<ReqItemRecord> _record = _db.ReqItemRecord.ToList();
var _list = this._stdReItems.Where(x => _record.Any(p => p.StdReqItemCode == x.StdReqItemCode)).ToList();
Invoke(new Action(() => StdReqControl.DataSource = _list));
}
else
{
var s = this._stdReqDataResource;
Invoke(new Action(() => StdReqControl.DataSource = this._stdReqDataResource));
}
}
private void HospReqSearchTxt_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
this.HospReqSearchBtn_Click(null, null);
}
}
private void HospReqSearchBtn_Click(object sender, EventArgs e)
{
string _searchTxt = HospReqSearchTxt.Text;
if (string.IsNullOrEmpty(_searchTxt))
{
Invoke(new Action(() => HospReqItemsControl.DataSource = this._hospReqItems));
}
else
{
var _list = this._hospReqItems.Where(x => x.ReqItemCode.Contains(_searchTxt) || x.ReqItemName.Contains(_searchTxt)).ToList();
Invoke(new Action(() => HospReqItemsControl.DataSource = _list));
}
}
}
}

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="StdReqItemContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

@ -0,0 +1,438 @@

namespace RegionComparisonTool.Views
{
partial class RegionComparisonForm1
{
/// <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.panel1 = new System.Windows.Forms.Panel();
this.StdReqControl = new DevExpress.XtraGrid.GridControl();
this.StdReqView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panel3 = new System.Windows.Forms.Panel();
this.RCReqItemsControl = new DevExpress.XtraGrid.GridControl();
this.RCReqItemsView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panel5 = new System.Windows.Forms.Panel();
this.SearchBtn = new System.Windows.Forms.Button();
this.RefreshCacheBtn = new System.Windows.Forms.Button();
this.SearchTxt = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.HospReqItemsControl = new DevExpress.XtraGrid.GridControl();
this.HospReqItemsView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
this.HospitalBox = new System.Windows.Forms.ComboBox();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.StdReqControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.StdReqView)).BeginInit();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsView)).BeginInit();
this.panel5.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsView)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.SystemColors.Control;
this.panel1.Controls.Add(this.StdReqControl);
this.panel1.Controls.Add(this.panel3);
this.panel1.Controls.Add(this.panel5);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(876, 825);
this.panel1.TabIndex = 0;
//
// StdReqControl
//
this.StdReqControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.StdReqControl.Location = new System.Drawing.Point(0, 38);
this.StdReqControl.MainView = this.StdReqView;
this.StdReqControl.Name = "StdReqControl";
this.StdReqControl.Size = new System.Drawing.Size(876, 513);
this.StdReqControl.TabIndex = 3;
this.StdReqControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.StdReqView});
//
// StdReqView
//
this.StdReqView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn1,
this.gridColumn2,
this.gridColumn3,
this.gridColumn4,
this.gridColumn5,
this.gridColumn6,
this.gridColumn7});
this.StdReqView.GridControl = this.StdReqControl;
this.StdReqView.Name = "StdReqView";
this.StdReqView.OptionsView.ShowGroupPanel = false;
this.StdReqView.RowHeight = 40;
//
// gridColumn1
//
this.gridColumn1.Caption = "项目代码";
this.gridColumn1.FieldName = "StdReqItemCode";
this.gridColumn1.Name = "gridColumn1";
this.gridColumn1.OptionsColumn.AllowEdit = false;
this.gridColumn1.Visible = true;
this.gridColumn1.VisibleIndex = 0;
this.gridColumn1.Width = 100;
//
// gridColumn2
//
this.gridColumn2.Caption = "项目名称";
this.gridColumn2.FieldName = "StdReqItemName";
this.gridColumn2.Name = "gridColumn2";
this.gridColumn2.OptionsColumn.AllowEdit = false;
this.gridColumn2.Visible = true;
this.gridColumn2.VisibleIndex = 1;
this.gridColumn2.Width = 178;
//
// gridColumn3
//
this.gridColumn3.Caption = "创建时间";
this.gridColumn3.FieldName = "CreateTime";
this.gridColumn3.Name = "gridColumn3";
this.gridColumn3.OptionsColumn.AllowEdit = false;
this.gridColumn3.Visible = true;
this.gridColumn3.VisibleIndex = 2;
this.gridColumn3.Width = 80;
//
// gridColumn4
//
this.gridColumn4.Caption = "更新时间";
this.gridColumn4.FieldName = "UpdateTime";
this.gridColumn4.Name = "gridColumn4";
this.gridColumn4.OptionsColumn.AllowEdit = false;
this.gridColumn4.Visible = true;
this.gridColumn4.VisibleIndex = 3;
this.gridColumn4.Width = 80;
//
// gridColumn5
//
this.gridColumn5.Caption = "更新人";
this.gridColumn5.FieldName = "Updater";
this.gridColumn5.Name = "gridColumn5";
this.gridColumn5.OptionsColumn.AllowEdit = false;
this.gridColumn5.Visible = true;
this.gridColumn5.VisibleIndex = 4;
this.gridColumn5.Width = 80;
//
// gridColumn6
//
this.gridColumn6.Caption = "是否停用";
this.gridColumn6.FieldName = "IsStope";
this.gridColumn6.Name = "gridColumn6";
this.gridColumn6.OptionsColumn.AllowEdit = false;
this.gridColumn6.Visible = true;
this.gridColumn6.VisibleIndex = 5;
this.gridColumn6.Width = 80;
//
// gridColumn7
//
this.gridColumn7.Caption = "是否删除";
this.gridColumn7.FieldName = "IsDelete";
this.gridColumn7.Name = "gridColumn7";
this.gridColumn7.OptionsColumn.AllowEdit = false;
this.gridColumn7.Visible = true;
this.gridColumn7.VisibleIndex = 6;
this.gridColumn7.Width = 82;
//
// panel3
//
this.panel3.BackColor = System.Drawing.SystemColors.Control;
this.panel3.Controls.Add(this.RCReqItemsControl);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(0, 551);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(876, 274);
this.panel3.TabIndex = 5;
//
// RCReqItemsControl
//
this.RCReqItemsControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.RCReqItemsControl.Location = new System.Drawing.Point(0, 0);
this.RCReqItemsControl.MainView = this.RCReqItemsView;
this.RCReqItemsControl.Name = "RCReqItemsControl";
this.RCReqItemsControl.Size = new System.Drawing.Size(876, 274);
this.RCReqItemsControl.TabIndex = 0;
this.RCReqItemsControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.RCReqItemsView});
//
// RCReqItemsView
//
this.RCReqItemsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn11,
this.gridColumn12,
this.gridColumn13,
this.gridColumn14,
this.gridColumn15,
this.gridColumn16,
this.gridColumn17});
this.RCReqItemsView.GridControl = this.RCReqItemsControl;
this.RCReqItemsView.Name = "RCReqItemsView";
this.RCReqItemsView.OptionsBehavior.Editable = false;
this.RCReqItemsView.RowHeight = 30;
//
// gridColumn11
//
this.gridColumn11.Caption = "医院代码";
this.gridColumn11.FieldName = "HospCode";
this.gridColumn11.Name = "gridColumn11";
this.gridColumn11.Visible = true;
this.gridColumn11.VisibleIndex = 0;
//
// gridColumn12
//
this.gridColumn12.Caption = "医院名称";
this.gridColumn12.FieldName = "HospName";
this.gridColumn12.Name = "gridColumn12";
this.gridColumn12.Visible = true;
this.gridColumn12.VisibleIndex = 1;
//
// gridColumn13
//
this.gridColumn13.Caption = "标准申请代码";
this.gridColumn13.FieldName = "StdReqItemCode";
this.gridColumn13.Name = "gridColumn13";
this.gridColumn13.Visible = true;
this.gridColumn13.VisibleIndex = 2;
//
// gridColumn14
//
this.gridColumn14.Caption = "医院申请代码";
this.gridColumn14.FieldName = "ReqItemCode";
this.gridColumn14.Name = "gridColumn14";
this.gridColumn14.Visible = true;
this.gridColumn14.VisibleIndex = 3;
//
// gridColumn15
//
this.gridColumn15.Caption = "创建时间";
this.gridColumn15.FieldName = "CreateTime";
this.gridColumn15.Name = "gridColumn15";
this.gridColumn15.Visible = true;
this.gridColumn15.VisibleIndex = 4;
//
// gridColumn16
//
this.gridColumn16.Caption = "更新时间";
this.gridColumn16.FieldName = "UpdateTime";
this.gridColumn16.Name = "gridColumn16";
this.gridColumn16.Visible = true;
this.gridColumn16.VisibleIndex = 5;
//
// gridColumn17
//
this.gridColumn17.Caption = "更新人";
this.gridColumn17.FieldName = "Updater";
this.gridColumn17.Name = "gridColumn17";
this.gridColumn17.Visible = true;
this.gridColumn17.VisibleIndex = 6;
//
// panel5
//
this.panel5.BackColor = System.Drawing.SystemColors.Control;
this.panel5.Controls.Add(this.SearchBtn);
this.panel5.Controls.Add(this.RefreshCacheBtn);
this.panel5.Controls.Add(this.SearchTxt);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(876, 38);
this.panel5.TabIndex = 4;
//
// SearchBtn
//
this.SearchBtn.Location = new System.Drawing.Point(243, 10);
this.SearchBtn.Name = "SearchBtn";
this.SearchBtn.Size = new System.Drawing.Size(75, 23);
this.SearchBtn.TabIndex = 0;
this.SearchBtn.Text = "搜索";
this.SearchBtn.UseVisualStyleBackColor = true;
//
// RefreshCacheBtn
//
this.RefreshCacheBtn.Location = new System.Drawing.Point(324, 10);
this.RefreshCacheBtn.Name = "RefreshCacheBtn";
this.RefreshCacheBtn.Size = new System.Drawing.Size(75, 23);
this.RefreshCacheBtn.TabIndex = 2;
this.RefreshCacheBtn.Text = "刷新";
this.RefreshCacheBtn.UseVisualStyleBackColor = true;
//
// SearchTxt
//
this.SearchTxt.Location = new System.Drawing.Point(7, 10);
this.SearchTxt.Name = "SearchTxt";
this.SearchTxt.Size = new System.Drawing.Size(230, 21);
this.SearchTxt.TabIndex = 1;
//
// panel2
//
this.panel2.BackColor = System.Drawing.SystemColors.Control;
this.panel2.Controls.Add(this.HospReqItemsControl);
this.panel2.Controls.Add(this.HospitalBox);
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
this.panel2.Location = new System.Drawing.Point(876, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(371, 825);
this.panel2.TabIndex = 1;
//
// HospReqItemsControl
//
this.HospReqItemsControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.HospReqItemsControl.Location = new System.Drawing.Point(0, 20);
this.HospReqItemsControl.MainView = this.HospReqItemsView;
this.HospReqItemsControl.Name = "HospReqItemsControl";
this.HospReqItemsControl.Size = new System.Drawing.Size(371, 805);
this.HospReqItemsControl.TabIndex = 1;
this.HospReqItemsControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.HospReqItemsView});
//
// HospReqItemsView
//
this.HospReqItemsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn8,
this.gridColumn9,
this.gridColumn10});
this.HospReqItemsView.GridControl = this.HospReqItemsControl;
this.HospReqItemsView.Name = "HospReqItemsView";
this.HospReqItemsView.OptionsBehavior.Editable = false;
this.HospReqItemsView.OptionsView.ShowGroupPanel = false;
this.HospReqItemsView.RowHeight = 30;
//
// gridColumn8
//
this.gridColumn8.Caption = "项目代码";
this.gridColumn8.FieldName = "ReqItemCode";
this.gridColumn8.Name = "gridColumn8";
this.gridColumn8.Visible = true;
this.gridColumn8.VisibleIndex = 0;
//
// gridColumn9
//
this.gridColumn9.Caption = "项目名称";
this.gridColumn9.FieldName = "ReqItemName";
this.gridColumn9.Name = "gridColumn9";
this.gridColumn9.Visible = true;
this.gridColumn9.VisibleIndex = 1;
//
// gridColumn10
//
this.gridColumn10.Caption = "描述";
this.gridColumn10.FieldName = "Description";
this.gridColumn10.Name = "gridColumn10";
this.gridColumn10.Visible = true;
this.gridColumn10.VisibleIndex = 2;
//
// HospitalBox
//
this.HospitalBox.Dock = System.Windows.Forms.DockStyle.Top;
this.HospitalBox.FormattingEnabled = true;
this.HospitalBox.Location = new System.Drawing.Point(0, 0);
this.HospitalBox.Name = "HospitalBox";
this.HospitalBox.Size = new System.Drawing.Size(371, 20);
this.HospitalBox.TabIndex = 0;
//
// RegionComparisonForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1247, 825);
this.Controls.Add(this.panel1);
this.Controls.Add(this.panel2);
this.Name = "RegionComparisonForm";
this.Text = "区域申请项目对照";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.StdReqControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.StdReqView)).EndInit();
this.panel3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsView)).EndInit();
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
this.panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsView)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox SearchTxt;
private System.Windows.Forms.Button SearchBtn;
private System.Windows.Forms.Button RefreshCacheBtn;
private DevExpress.XtraGrid.GridControl StdReqControl;
private DevExpress.XtraGrid.Views.Grid.GridView StdReqView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
private System.Windows.Forms.ComboBox HospitalBox;
private DevExpress.XtraGrid.GridControl HospReqItemsControl;
private DevExpress.XtraGrid.Views.Grid.GridView HospReqItemsView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel panel3;
private DevExpress.XtraGrid.GridControl RCReqItemsControl;
private DevExpress.XtraGrid.Views.Grid.GridView RCReqItemsView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
}
}

@ -0,0 +1,138 @@
using RegionComparisonTool.Helper;
using RegionComparisonTool.Models;
using RegionComparisonTool.Models.Std;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace RegionComparisonTool.Views
{
public partial class RegionComparisonForm1 : BaseView
{
private List<DictStdReqItem> _stdReItems = new List<DictStdReqItem>();
private List<DictHospital> _hospitals = new List<DictHospital>();
private DictHospital _hosp = new DictHospital();
public RegionComparisonForm1()
{
InitializeComponent();
SearchBtn.Click += new EventHandler(SearchBtn_Click);
RefreshCacheBtn.Click += new EventHandler(RefreshCacheBtn_Click);
HospitalBox.SelectedValueChanged += new EventHandler(HospitalBox_SelectedValueChanged);
StdReqControl.MouseClick += new MouseEventHandler(StdReqControl_MouseClick);
HospReqItemsControl.MouseDoubleClick += new MouseEventHandler(HospReqItemsControl_MouseDoubleClick);
RCReqItemsControl.MouseDoubleClick += new MouseEventHandler(RCReqItemsControl_MouseDoubleClick);
// 初始化缓存数据
this.RefreshCacheBtn_Click(null, null);
this.Shown += new EventHandler(RegionComparisonForm_Shown);
}
private void RegionComparisonForm_Shown(object sender, EventArgs e)
{
// 初始化数据
this.SearchBtn_Click(null, null);
_hospitals = _db.DictHospital.ToList();
HospitalBox.DataSource = _hospitals;
HospitalBox.DisplayMember = "HospName";
HospitalBox.ValueMember = "HospCode";
//Console.WriteLine("sl:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_sl;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("slz:" + MySecurity.SEncryptString("Server=172.16.1.72;Database=lisdb;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("bq:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_bq;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("ch:" + MySecurity.SEncryptString("Server=172.16.200.50;Database=lisdb_ch;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("dk:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_dk;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("gs:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_gs;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("lf:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_lf;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("xjk:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_xjk;User ID=sa;Password=xbdLis!@#77911;"));
}
private void SearchBtn_Click(object sender, EventArgs e)
{
string searchTxt = SearchTxt.Text;
if (string.IsNullOrEmpty(searchTxt))
{
Invoke(new Action(() => StdReqControl.DataSource = this._stdReItems));
}
else
{
var _items = this._stdReItems.Where(x => x.StdReqItemName.Contains(searchTxt)).ToList();
Invoke(new Action(() => StdReqControl.DataSource = _items));
}
}
private void RefreshCacheBtn_Click(object sender, EventArgs e)
{
this._stdReItems = _db.DictStdReqItem.ToList();
}
private void HospitalBox_SelectedValueChanged(object sender, EventArgs e)
{
_hosp = HospitalBox.SelectedItem as DictHospital;
if (_hosp == null || string.IsNullOrEmpty(_hosp.LISConnection)) return;
DAOHelper.ConnectionString = MySecurity.SDecryptString(_hosp.LISConnection);
List<Models.DictReqItem> _list = DAOHelper.GetDataBySQL<Models.DictReqItem>("select * from Dict_ReqItem");
Invoke(new Action(() => HospReqItemsControl.DataSource = _list));
}
private void StdReqControl_MouseClick(object sender, MouseEventArgs e)
{
GetReqItemRecords();
}
private void GetReqItemRecords()
{
string _stdReqCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
if (string.IsNullOrEmpty(_stdReqCode)) return;
List<ReqItemRecord> _list = _db.ReqItemRecord.Where(x => x.StdReqItemCode == _stdReqCode).ToList();
foreach (var item in _list)
{
item.HospName = _db.DictHospital.FirstOrDefault(p => p.HospCode == item.HospCode)?.HospName;
}
Invoke(new Action(() => RCReqItemsControl.DataSource = _list));
}
private void HospReqItemsControl_MouseDoubleClick(object sender, MouseEventArgs e)
{
string _stdReqCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
if (string.IsNullOrEmpty(_stdReqCode))
{
MessageBox.Show("请先选择标准申请项目!");
return;
}
string _reqIremCode = HospReqItemsView.GetRowCellValue(HospReqItemsView.GetSelectedRows()[0], "ReqItemCode").ToString();
if (_db.ReqItemRecord.Any(x => x.HospCode == _hosp.HospCode && x.StdReqItemCode == _stdReqCode && x.ReqItemCode == _reqIremCode))
{
MessageBox.Show("该医院该申请项目已存在!");
return;
}
ReqItemRecord _record = new ReqItemRecord
{
HospCode = _hosp.HospCode,
StdReqItemCode = _stdReqCode,
ReqItemCode = _reqIremCode,
CreateTime = DateTime.Now,
UpdateTime = DateTime.Now,
Updater = ""
};
_db.ReqItemRecord.Add(_record);
_db.SaveChanges();
GetReqItemRecords();
}
private void RCReqItemsControl_MouseDoubleClick(object sender, MouseEventArgs e)
{
string _hospCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "HospCode").ToString();
string _stdReqItemCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "StdReqItemCode").ToString();
string _reqIremCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "ReqItemCode").ToString();
_db.ReqItemRecord.Remove(_db.ReqItemRecord.FirstOrDefault(x => x.HospCode == _hospCode && x.StdReqItemCode == _stdReqItemCode && x.ReqItemCode == _reqIremCode));
_db.SaveChanges();
GetReqItemRecords();
}
}
}

@ -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,456 @@

namespace RegionComparisonTool.Views
{
partial class RegionComparisonForm
{
/// <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.HospitalBox = new System.Windows.Forms.ComboBox();
this.HospReqItemsControl = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.HospReqItemsView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panel2 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.SearchTxt = new System.Windows.Forms.TextBox();
this.RefreshCacheBtn = new System.Windows.Forms.Button();
this.SearchBtn = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.RCReqItemsControl = new DevExpress.XtraGrid.GridControl();
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.RCReqItemsView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panel1 = new System.Windows.Forms.Panel();
this.StdReqView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
this.StdReqControl = new DevExpress.XtraGrid.GridControl();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsView)).BeginInit();
this.panel2.SuspendLayout();
this.panel5.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsControl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsView)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.StdReqView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.StdReqControl)).BeginInit();
this.SuspendLayout();
//
// HospitalBox
//
this.HospitalBox.Dock = System.Windows.Forms.DockStyle.Top;
this.HospitalBox.FormattingEnabled = true;
this.HospitalBox.Location = new System.Drawing.Point(0, 0);
this.HospitalBox.Name = "HospitalBox";
this.HospitalBox.Size = new System.Drawing.Size(371, 20);
this.HospitalBox.TabIndex = 0;
//
// HospReqItemsControl
//
this.HospReqItemsControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.HospReqItemsControl.Location = new System.Drawing.Point(0, 20);
this.HospReqItemsControl.MainView = this.HospReqItemsView;
this.HospReqItemsControl.Name = "HospReqItemsControl";
this.HospReqItemsControl.Size = new System.Drawing.Size(371, 805);
this.HospReqItemsControl.TabIndex = 1;
this.HospReqItemsControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.HospReqItemsView});
//
// gridView1
//
this.gridView1.GridControl = this.HospReqItemsControl;
this.gridView1.Name = "gridView1";
//
// HospReqItemsView
//
this.HospReqItemsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn8,
this.gridColumn9,
this.gridColumn10});
this.HospReqItemsView.GridControl = this.HospReqItemsControl;
this.HospReqItemsView.Name = "HospReqItemsView";
this.HospReqItemsView.OptionsBehavior.Editable = false;
this.HospReqItemsView.OptionsView.ShowGroupPanel = false;
this.HospReqItemsView.RowHeight = 30;
//
// gridColumn8
//
this.gridColumn8.Caption = "项目代码";
this.gridColumn8.FieldName = "ReqItemCode";
this.gridColumn8.Name = "gridColumn8";
this.gridColumn8.Visible = true;
this.gridColumn8.VisibleIndex = 0;
//
// gridColumn9
//
this.gridColumn9.Caption = "项目名称";
this.gridColumn9.FieldName = "ReqItemName";
this.gridColumn9.Name = "gridColumn9";
this.gridColumn9.Visible = true;
this.gridColumn9.VisibleIndex = 1;
//
// gridColumn10
//
this.gridColumn10.Caption = "描述";
this.gridColumn10.FieldName = "Description";
this.gridColumn10.Name = "gridColumn10";
this.gridColumn10.Visible = true;
this.gridColumn10.VisibleIndex = 2;
//
// panel2
//
this.panel2.BackColor = System.Drawing.SystemColors.Control;
this.panel2.Controls.Add(this.HospReqItemsControl);
this.panel2.Controls.Add(this.HospitalBox);
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
this.panel2.Location = new System.Drawing.Point(876, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(371, 825);
this.panel2.TabIndex = 1;
//
// panel5
//
this.panel5.BackColor = System.Drawing.SystemColors.Control;
this.panel5.Controls.Add(this.SearchBtn);
this.panel5.Controls.Add(this.RefreshCacheBtn);
this.panel5.Controls.Add(this.SearchTxt);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(876, 38);
this.panel5.TabIndex = 4;
//
// SearchTxt
//
this.SearchTxt.Location = new System.Drawing.Point(7, 10);
this.SearchTxt.Name = "SearchTxt";
this.SearchTxt.Size = new System.Drawing.Size(230, 21);
this.SearchTxt.TabIndex = 1;
//
// RefreshCacheBtn
//
this.RefreshCacheBtn.Location = new System.Drawing.Point(324, 10);
this.RefreshCacheBtn.Name = "RefreshCacheBtn";
this.RefreshCacheBtn.Size = new System.Drawing.Size(75, 23);
this.RefreshCacheBtn.TabIndex = 2;
this.RefreshCacheBtn.Text = "刷新";
this.RefreshCacheBtn.UseVisualStyleBackColor = true;
//
// SearchBtn
//
this.SearchBtn.Location = new System.Drawing.Point(243, 10);
this.SearchBtn.Name = "SearchBtn";
this.SearchBtn.Size = new System.Drawing.Size(75, 23);
this.SearchBtn.TabIndex = 0;
this.SearchBtn.Text = "搜索";
this.SearchBtn.UseVisualStyleBackColor = true;
//
// panel3
//
this.panel3.BackColor = System.Drawing.SystemColors.Control;
this.panel3.Controls.Add(this.RCReqItemsControl);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(0, 551);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(876, 274);
this.panel3.TabIndex = 5;
//
// RCReqItemsControl
//
this.RCReqItemsControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.RCReqItemsControl.Location = new System.Drawing.Point(0, 0);
this.RCReqItemsControl.MainView = this.RCReqItemsView;
this.RCReqItemsControl.Name = "RCReqItemsControl";
this.RCReqItemsControl.Size = new System.Drawing.Size(876, 274);
this.RCReqItemsControl.TabIndex = 0;
this.RCReqItemsControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.RCReqItemsView});
//
// gridView2
//
this.gridView2.GridControl = this.RCReqItemsControl;
this.gridView2.Name = "gridView2";
//
// RCReqItemsView
//
this.RCReqItemsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn11,
this.gridColumn12,
this.gridColumn13,
this.gridColumn14,
this.gridColumn15,
this.gridColumn16,
this.gridColumn17});
this.RCReqItemsView.GridControl = this.RCReqItemsControl;
this.RCReqItemsView.Name = "RCReqItemsView";
this.RCReqItemsView.OptionsBehavior.Editable = false;
this.RCReqItemsView.RowHeight = 30;
//
// gridColumn11
//
this.gridColumn11.Caption = "医院代码";
this.gridColumn11.FieldName = "HospCode";
this.gridColumn11.Name = "gridColumn11";
this.gridColumn11.Visible = true;
this.gridColumn11.VisibleIndex = 0;
//
// gridColumn12
//
this.gridColumn12.Caption = "医院名称";
this.gridColumn12.FieldName = "HospName";
this.gridColumn12.Name = "gridColumn12";
this.gridColumn12.Visible = true;
this.gridColumn12.VisibleIndex = 1;
//
// gridColumn13
//
this.gridColumn13.Caption = "标准申请代码";
this.gridColumn13.FieldName = "StdReqItemCode";
this.gridColumn13.Name = "gridColumn13";
this.gridColumn13.Visible = true;
this.gridColumn13.VisibleIndex = 2;
//
// gridColumn14
//
this.gridColumn14.Caption = "医院申请代码";
this.gridColumn14.FieldName = "ReqItemCode";
this.gridColumn14.Name = "gridColumn14";
this.gridColumn14.Visible = true;
this.gridColumn14.VisibleIndex = 3;
//
// gridColumn15
//
this.gridColumn15.Caption = "创建时间";
this.gridColumn15.FieldName = "CreateTime";
this.gridColumn15.Name = "gridColumn15";
this.gridColumn15.Visible = true;
this.gridColumn15.VisibleIndex = 4;
//
// gridColumn16
//
this.gridColumn16.Caption = "更新时间";
this.gridColumn16.FieldName = "UpdateTime";
this.gridColumn16.Name = "gridColumn16";
this.gridColumn16.Visible = true;
this.gridColumn16.VisibleIndex = 5;
//
// gridColumn17
//
this.gridColumn17.Caption = "更新人";
this.gridColumn17.FieldName = "Updater";
this.gridColumn17.Name = "gridColumn17";
this.gridColumn17.Visible = true;
this.gridColumn17.VisibleIndex = 6;
//
// panel1
//
this.panel1.BackColor = System.Drawing.SystemColors.Control;
this.panel1.Controls.Add(this.StdReqControl);
this.panel1.Controls.Add(this.panel3);
this.panel1.Controls.Add(this.panel5);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(876, 825);
this.panel1.TabIndex = 0;
//
// StdReqView
//
this.StdReqView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.gridColumn1,
this.gridColumn2,
this.gridColumn3,
this.gridColumn4,
this.gridColumn5,
this.gridColumn6,
this.gridColumn7});
this.StdReqView.GridControl = this.StdReqControl;
this.StdReqView.Name = "StdReqView";
this.StdReqView.OptionsView.ShowGroupPanel = false;
this.StdReqView.RowHeight = 40;
//
// gridColumn1
//
this.gridColumn1.Caption = "项目代码";
this.gridColumn1.FieldName = "StdReqItemCode";
this.gridColumn1.Name = "gridColumn1";
this.gridColumn1.OptionsColumn.AllowEdit = false;
this.gridColumn1.Visible = true;
this.gridColumn1.VisibleIndex = 0;
this.gridColumn1.Width = 100;
//
// gridColumn2
//
this.gridColumn2.Caption = "项目名称";
this.gridColumn2.FieldName = "StdReqItemName";
this.gridColumn2.Name = "gridColumn2";
this.gridColumn2.OptionsColumn.AllowEdit = false;
this.gridColumn2.Visible = true;
this.gridColumn2.VisibleIndex = 1;
this.gridColumn2.Width = 178;
//
// gridColumn3
//
this.gridColumn3.Caption = "创建时间";
this.gridColumn3.FieldName = "CreateTime";
this.gridColumn3.Name = "gridColumn3";
this.gridColumn3.OptionsColumn.AllowEdit = false;
this.gridColumn3.Visible = true;
this.gridColumn3.VisibleIndex = 2;
this.gridColumn3.Width = 80;
//
// gridColumn4
//
this.gridColumn4.Caption = "更新时间";
this.gridColumn4.FieldName = "UpdateTime";
this.gridColumn4.Name = "gridColumn4";
this.gridColumn4.OptionsColumn.AllowEdit = false;
this.gridColumn4.Visible = true;
this.gridColumn4.VisibleIndex = 3;
this.gridColumn4.Width = 80;
//
// gridColumn5
//
this.gridColumn5.Caption = "更新人";
this.gridColumn5.FieldName = "Updater";
this.gridColumn5.Name = "gridColumn5";
this.gridColumn5.OptionsColumn.AllowEdit = false;
this.gridColumn5.Visible = true;
this.gridColumn5.VisibleIndex = 4;
this.gridColumn5.Width = 80;
//
// gridColumn6
//
this.gridColumn6.Caption = "是否停用";
this.gridColumn6.FieldName = "IsStope";
this.gridColumn6.Name = "gridColumn6";
this.gridColumn6.OptionsColumn.AllowEdit = false;
this.gridColumn6.Visible = true;
this.gridColumn6.VisibleIndex = 5;
this.gridColumn6.Width = 80;
//
// gridColumn7
//
this.gridColumn7.Caption = "是否删除";
this.gridColumn7.FieldName = "IsDelete";
this.gridColumn7.Name = "gridColumn7";
this.gridColumn7.OptionsColumn.AllowEdit = false;
this.gridColumn7.Visible = true;
this.gridColumn7.VisibleIndex = 6;
this.gridColumn7.Width = 82;
//
// StdReqControl
//
this.StdReqControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.StdReqControl.Location = new System.Drawing.Point(0, 38);
this.StdReqControl.MainView = this.StdReqView;
this.StdReqControl.Name = "StdReqControl";
this.StdReqControl.Size = new System.Drawing.Size(876, 513);
this.StdReqControl.TabIndex = 3;
this.StdReqControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.StdReqView});
//
// RegionComparisonForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1247, 825);
this.Controls.Add(this.panel1);
this.Controls.Add(this.panel2);
this.Name = "RegionComparisonForm";
this.Text = "区域申请项目对照";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.HospReqItemsView)).EndInit();
this.panel2.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
this.panel3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsControl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RCReqItemsView)).EndInit();
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.StdReqView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.StdReqControl)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.ComboBox HospitalBox;
private DevExpress.XtraGrid.GridControl HospReqItemsControl;
private DevExpress.XtraGrid.Views.Grid.GridView HospReqItemsView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Button SearchBtn;
private System.Windows.Forms.Button RefreshCacheBtn;
private System.Windows.Forms.TextBox SearchTxt;
private System.Windows.Forms.Panel panel3;
private DevExpress.XtraGrid.GridControl RCReqItemsControl;
private DevExpress.XtraGrid.Views.Grid.GridView RCReqItemsView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn14;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
private DevExpress.XtraGrid.Views.Grid.GridView gridView2;
private System.Windows.Forms.Panel panel1;
private DevExpress.XtraGrid.GridControl StdReqControl;
private DevExpress.XtraGrid.Views.Grid.GridView StdReqView;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
}
}

@ -0,0 +1,138 @@
using RegionComparisonTool.Helper;
using RegionComparisonTool.Models;
using RegionComparisonTool.Models.Std;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace RegionComparisonTool.Views
{
public partial class RegionComparisonForm : BaseView
{
private List<DictStdReqItem> _stdReItems = new List<DictStdReqItem>();
private List<DictHospital> _hospitals = new List<DictHospital>();
private DictHospital _hosp = new DictHospital();
public RegionComparisonForm()
{
InitializeComponent();
SearchBtn.Click += new EventHandler(SearchBtn_Click);
RefreshCacheBtn.Click += new EventHandler(RefreshCacheBtn_Click);
HospitalBox.SelectedValueChanged += new EventHandler(HospitalBox_SelectedValueChanged);
StdReqControl.MouseClick += new MouseEventHandler(StdReqControl_MouseClick);
HospReqItemsControl.MouseDoubleClick += new MouseEventHandler(HospReqItemsControl_MouseDoubleClick);
RCReqItemsControl.MouseDoubleClick += new MouseEventHandler(RCReqItemsControl_MouseDoubleClick);
// 初始化缓存数据
this.RefreshCacheBtn_Click(null, null);
this.Shown += new EventHandler(RegionComparisonForm_Shown);
}
private void RegionComparisonForm_Shown(object sender, EventArgs e)
{
// 初始化数据
this.SearchBtn_Click(null, null);
_hospitals = _db.DictHospital.ToList();
HospitalBox.DataSource = _hospitals;
HospitalBox.DisplayMember = "HospName";
HospitalBox.ValueMember = "HospCode";
//Console.WriteLine("sl:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_sl;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("slz:" + MySecurity.SEncryptString("Server=172.16.1.72;Database=lisdb;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("bq:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_bq;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("ch:" + MySecurity.SEncryptString("Server=172.16.200.50;Database=lisdb_ch;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("dk:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_dk;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("gs:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_gs;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("lf:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_lf;User ID=sa;Password=xbdLis!@#77911;"));
//Console.WriteLine("xjk:" + MySecurity.SEncryptString("Server=172.16.200.60;Database=lisdb_xjk;User ID=sa;Password=xbdLis!@#77911;"));
}
private void SearchBtn_Click(object sender, EventArgs e)
{
string searchTxt = SearchTxt.Text;
if (string.IsNullOrEmpty(searchTxt))
{
Invoke(new Action(() => StdReqControl.DataSource = this._stdReItems));
}
else
{
var _items = this._stdReItems.Where(x => x.StdReqItemName.Contains(searchTxt)).ToList();
Invoke(new Action(() => StdReqControl.DataSource = _items));
}
}
private void RefreshCacheBtn_Click(object sender, EventArgs e)
{
this._stdReItems = _db.DictStdReqItem.ToList();
}
private void HospitalBox_SelectedValueChanged(object sender, EventArgs e)
{
_hosp = HospitalBox.SelectedItem as DictHospital;
if (_hosp == null || string.IsNullOrEmpty(_hosp.LISConnection)) return;
DAOHelper.ConnectionString = MySecurity.SDecryptString(_hosp.LISConnection);
List<Models.DictReqItem> _list = DAOHelper.GetDataBySQL<Models.DictReqItem>("select * from Dict_ReqItem");
Invoke(new Action(() => HospReqItemsControl.DataSource = _list));
}
private void StdReqControl_MouseClick(object sender, MouseEventArgs e)
{
GetReqItemRecords();
}
private void GetReqItemRecords()
{
string _stdReqCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
if (string.IsNullOrEmpty(_stdReqCode)) return;
List<ReqItemRecord> _list = _db.ReqItemRecord.Where(x => x.StdReqItemCode == _stdReqCode).ToList();
foreach (var item in _list)
{
item.HospName = _db.DictHospital.FirstOrDefault(p => p.HospCode == item.HospCode)?.HospName;
}
Invoke(new Action(() => RCReqItemsControl.DataSource = _list));
}
private void HospReqItemsControl_MouseDoubleClick(object sender, MouseEventArgs e)
{
string _stdReqCode = StdReqView.GetRowCellValue(StdReqView.GetSelectedRows()[0], "StdReqItemCode").ToString();
if (string.IsNullOrEmpty(_stdReqCode))
{
MessageBox.Show("请先选择标准申请项目!");
return;
}
string _reqIremCode = HospReqItemsView.GetRowCellValue(HospReqItemsView.GetSelectedRows()[0], "ReqItemCode").ToString();
if (_db.ReqItemRecord.Any(x => x.HospCode == _hosp.HospCode && x.StdReqItemCode == _stdReqCode && x.ReqItemCode == _reqIremCode))
{
MessageBox.Show("该医院该申请项目已存在!");
return;
}
ReqItemRecord _record = new ReqItemRecord
{
HospCode = _hosp.HospCode,
StdReqItemCode = _stdReqCode,
ReqItemCode = _reqIremCode,
CreateTime = DateTime.Now,
UpdateTime = DateTime.Now,
Updater = ""
};
_db.ReqItemRecord.Add(_record);
_db.SaveChanges();
GetReqItemRecords();
}
private void RCReqItemsControl_MouseDoubleClick(object sender, MouseEventArgs e)
{
string _hospCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "HospCode").ToString();
string _stdReqItemCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "StdReqItemCode").ToString();
string _reqIremCode = RCReqItemsView.GetRowCellValue(RCReqItemsView.GetSelectedRows()[0], "ReqItemCode").ToString();
_db.ReqItemRecord.Remove(_db.ReqItemRecord.FirstOrDefault(x => x.HospCode == _hospCode && x.StdReqItemCode == _stdReqItemCode && x.ReqItemCode == _reqIremCode));
_db.SaveChanges();
GetReqItemRecords();
}
}
}

@ -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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,814 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>DevExpress.Sparkline.v17.1.Core</name>
</assembly>
<members>
<member name="T:DevExpress.Sparkline.ISparklineViewVisitor">
<summary>
<para>Interface implementing the <b>Visitor</b> pattern.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.ISparklineViewVisitor.Visit(DevExpress.Sparkline.LineSparklineView)">
<summary>
<para>Performs the operation as required by the Visitor and the View, as defined in the Visitor pattern.
</para>
</summary>
<param name="view">
An <see cref="T:DevExpress.Sparkline.LineSparklineView"/> object for which the operation is performed.
</param>
</member>
<member name="M:DevExpress.Sparkline.ISparklineViewVisitor.Visit(DevExpress.Sparkline.AreaSparklineView)">
<summary>
<para>Performs the operation as required by the Visitor and the View, as defined in the Visitor pattern.
</para>
</summary>
<param name="view">
An <see cref="T:DevExpress.Sparkline.AreaSparklineView"/> object for which the operation is performed.
</param>
</member>
<member name="M:DevExpress.Sparkline.ISparklineViewVisitor.Visit(DevExpress.Sparkline.BarSparklineView)">
<summary>
<para>Performs the operation as required by the Visitor and the View, as defined in the Visitor pattern.
</para>
</summary>
<param name="view">
An <see cref="T:DevExpress.Sparkline.BarSparklineView"/> object for which the operation is performed.
</param>
</member>
<member name="M:DevExpress.Sparkline.ISparklineViewVisitor.Visit(DevExpress.Sparkline.WinLossSparklineView)">
<summary>
<para>Performs the operation as required by the Visitor and the View, as defined in the Visitor pattern.
</para>
</summary>
<param name="view">
An <see cref="T:DevExpress.Sparkline.WinLossSparklineView"/> object for which the operation is performed.
</param>
</member>
<member name="T:DevExpress.Sparkline.BarSparklineView">
<summary>
<para>The <b>Bar</b> sparkline view.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.BarSparklineView.#ctor">
<summary>
<para>Initializes a new instance of the BarSparklineView class with default settings.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.BarSparklineView.Assign(DevExpress.Sparkline.SparklineViewBase)">
<summary>
<para>Copies all the settings from the BarSparklineView object passed as the parameter.
</para>
</summary>
<param name="view">
A BarSparklineView object (which is the <see cref="T:DevExpress.Sparkline.SparklineViewBase"/> descendant) whose settings are assigned to the current object. If <b>null</b> (<b>Nothing</b> in Visual Basic), then a <see cref="T:System.ArgumentNullException"/> will be thrown.
</param>
</member>
<member name="P:DevExpress.Sparkline.BarSparklineView.HighlightNegativePoints">
<summary>
<para>Gets or sets a value specifying whether or not to highlight all sparkline points that have negative values (less than 0).
</para>
</summary>
<value><b>true</b>, to highlight points with negative values; otherwise, <b>false</b>.
</value>
</member>
<member name="P:DevExpress.Sparkline.BarSparklineView.Type">
<summary>
<para>Gets the type of the sparkline view.
</para>
</summary>
<value>Always <see cref="F:DevExpress.Sparkline.SparklineViewType.Bar"/>.
</value>
</member>
<member name="M:DevExpress.Sparkline.BarSparklineView.Visit(DevExpress.Sparkline.ISparklineViewVisitor)">
<summary>
<para>Invokes the <b>Visit</b> method of the specified visitor for the current BarSparklineView object.
</para>
</summary>
<param name="visitor">
An object implementing the <see cref="T:DevExpress.Sparkline.ISparklineViewVisitor"/> interface.
</param>
</member>
<member name="T:DevExpress.Sparkline.LineSparklineView">
<summary>
<para>The <b>Line</b> sparkline view.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.LineSparklineView.#ctor">
<summary>
<para>Initializes a new instance of the LineSparklineView class with default settings.
</para>
</summary>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.ActualMarkerColor">
<summary>
<para>Gets the actual color of a sparkline marker.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> value that is the actual marker color.
</value>
</member>
<member name="M:DevExpress.Sparkline.LineSparklineView.Assign(DevExpress.Sparkline.SparklineViewBase)">
<summary>
<para>Copies all the settings from the LineSparklineView object passed as the parameter.
</para>
</summary>
<param name="view">
A LineSparklineView object (which is the <see cref="T:DevExpress.Sparkline.SparklineViewBase"/> descendant) whose settings are assigned to the current object. If <b>null</b> (<b>Nothing</b> in Visual Basic), then a <see cref="T:System.ArgumentNullException"/> will be thrown.
</param>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.EnableAntialiasing">
<summary>
<para>Gets or sets whether anti-aliasing (smoothing) is applied to the line view.
</para>
</summary>
<value><b>True</b> to apply anti-aliasing to the line view; <b>False</b> to disable anti-aliasing.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.EndPointMarkerSize">
<summary>
<para>Gets or sets the size of an end point's marker.
</para>
</summary>
<value>An integer value specifying the marker size, in pixels.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.HighlightNegativePoints">
<summary>
<para>Gets or sets a value specifying whether or not to highlight all sparkline points that have negative values (less than 0).
</para>
</summary>
<value><b>true</b>, to highlight points with negative values; otherwise, <b>false</b>.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.LineWidth">
<summary>
<para>Specifies the width of a line in a LineSparklineView.
</para>
</summary>
<value>An integer value specifying the line width (in pixels).
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.MarkerColor">
<summary>
<para>Gets or sets the color to draw line markers.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> that defines the color to draw line markers.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.MarkerSize">
<summary>
<para>Gets or sets the size of markers for data points in a line sparkline.
</para>
</summary>
<value>An integer value specifying the marker size, in pixels.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.MaxPointMarkerSize">
<summary>
<para>Gets or sets the marker size of a data point that has the maximum value among all data points.
</para>
</summary>
<value>An integer value specifying the marker size, in pixels.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.MinPointMarkerSize">
<summary>
<para>Gets or sets the marker size of a data point that has the minimum value among all data points.
</para>
</summary>
<value>An integer value specifying the marker size, in pixels.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.NegativePointMarkerSize">
<summary>
<para>Gets or sets the marker size of all data points that have negative values (less than 0).
</para>
</summary>
<value>An integer value specifying the marker size, in pixels.
</value>
</member>
<member name="M:DevExpress.Sparkline.LineSparklineView.SetSizeForAllMarkers(System.Int32)">
<summary>
<para>Sets size for all markers of a sparkline.
</para>
</summary>
<param name="markerSize">
An integer value specifying the new size for sparkline markers (in pixels).
</param>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.ShowMarkers">
<summary>
<para>Gets or sets a value specifying the visibility of point markers on a sparkline.
</para>
</summary>
<value><b>true</b> to show markers for each data point; <b>false</b> to hide them.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.StartPointMarkerSize">
<summary>
<para>Gets or sets the size of a start point's marker.
</para>
</summary>
<value>An integer value specifying the marker size, in pixels.
</value>
</member>
<member name="P:DevExpress.Sparkline.LineSparklineView.Type">
<summary>
<para>Gets the type of the sparkline view.
</para>
</summary>
<value>Always <see cref="F:DevExpress.Sparkline.SparklineViewType.Line"/>.
</value>
</member>
<member name="M:DevExpress.Sparkline.LineSparklineView.Visit(DevExpress.Sparkline.ISparklineViewVisitor)">
<summary>
<para>Invokes the <b>Visit</b> method of the specified visitor for the current LineSparklineView object.
</para>
</summary>
<param name="visitor">
An object implementing the <see cref="T:DevExpress.Sparkline.ISparklineViewVisitor"/> interface.
</param>
</member>
<member name="T:DevExpress.Sparkline.SparklineViewType">
<summary>
<para>Lists the values used to specify the available view types of a sparkline.
</para>
</summary>
</member>
<member name="F:DevExpress.Sparkline.SparklineViewType.Area">
<summary>
<para>Sparkline data points are represented as <b>area</b>.
</para>
</summary>
</member>
<member name="F:DevExpress.Sparkline.SparklineViewType.Bar">
<summary>
<para>Sparkline data points are represented as <b>bars</b>.
</para>
</summary>
</member>
<member name="F:DevExpress.Sparkline.SparklineViewType.Line">
<summary>
<para>Sparkline data points are represented as a <b>line</b>.
</para>
</summary>
</member>
<member name="F:DevExpress.Sparkline.SparklineViewType.WinLoss">
<summary>
<para>Sparkline data points are represented as <b>win</b> and <b>loss</b> squares.
</para>
</summary>
</member>
<member name="T:DevExpress.Sparkline.SparklineRange">
<summary>
<para>Represents a range to be used in DevExpress Sparkline controls.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.SparklineRange.#ctor(System.Double,System.Double)">
<summary>
<para>Initializes a new instance of the SparklineRange class with the specified minimum and maximum limits.
</para>
</summary>
<param name="min">
A <see cref="T:System.Double"/> value, specifying the minimum limit. This value is assigned to the <see cref="P:DevExpress.Sparkline.SparklineRange.Limit1"/> property.
</param>
<param name="max">
A <see cref="T:System.Double"/> value, specifying the maximum limit. This value is assigned to the <see cref="P:DevExpress.Sparkline.SparklineRange.Limit2"/> property.
</param>
</member>
<member name="M:DevExpress.Sparkline.SparklineRange.#ctor">
<summary>
<para>Initializes a new instance of the SparklineRange class with default settings.
</para>
</summary>
</member>
<member name="P:DevExpress.Sparkline.SparklineRange.IsAuto">
<summary>
<para>Gets or sets a value indicating whether or not range limits should be calculated automatically.
</para>
</summary>
<value><b>true</b> to calculate range limits automatically; <b>false</b> to use the <see cref="P:DevExpress.Sparkline.SparklineRange.Limit1"/> and <see cref="P:DevExpress.Sparkline.SparklineRange.Limit2"/> property values.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineRange.Limit1">
<summary>
<para>Gets or sets a value specifying the first limit of the range.
</para>
</summary>
<value>A <see cref="T:System.Double"/> value that specifies the first limit.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineRange.Limit2">
<summary>
<para>Gets or sets a value specifying the second limit of the range.
</para>
</summary>
<value>A <see cref="T:System.Double"/> value that specifies the second limit.
</value>
</member>
<member name="E:DevExpress.Sparkline.SparklineRange.PropertiesChanged">
<summary>
<para>This event is hidden, because it is not appropriate for the SparklineRange class.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.SparklineRange.ToString">
<summary>
<para>Returns the textual representation of the SparklineRange.
</para>
</summary>
<returns>A <see cref="T:System.String"/> value which is the textual representation of the SparklineRange.
</returns>
</member>
<member name="T:DevExpress.Sparkline.SparklineViewBase">
<summary>
<para>The base class for sparkline views.
</para>
</summary>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.ActualColor">
<summary>
<para>Gets the actual color of a sparkline.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> value that is the actual sparkline color.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.ActualEndPointColor">
<summary>
<para>Gets the actual color of a sparkline end point.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> value that is the actual point color.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.ActualMaxPointColor">
<summary>
<para>Gets the actual color of a sparkline maximum point.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> value that is the actual point color.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.ActualMinPointColor">
<summary>
<para>Gets the actual color of a sparkline minimum point.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> value that is the actual point color.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.ActualNegativePointColor">
<summary>
<para>Gets the actual color of sparkline negative points.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> value that is the actual point color.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.ActualStartPointColor">
<summary>
<para>Gets the actual color of a sparkline start point.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> value that is the actual point color.
</value>
</member>
<member name="M:DevExpress.Sparkline.SparklineViewBase.Assign(DevExpress.Sparkline.SparklineViewBase)">
<summary>
<para>Copies all the settings from the SparklineViewBase object passed as the parameter.
</para>
</summary>
<param name="view">
A SparklineViewBase object (which is the <see cref="T:DevExpress.Sparkline.SparklineViewBase"/> descendant) whose settings are assigned to the current object. If <b>null</b> (<b>Nothing</b> in Visual Basic), then a <see cref="T:System.ArgumentNullException"/> will be thrown.
</param>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.Color">
<summary>
<para>Gets or sets the color to draw a sparkline.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> that defines the color to draw a sparkline.
</value>
</member>
<member name="M:DevExpress.Sparkline.SparklineViewBase.CreateView(DevExpress.Sparkline.SparklineViewType)">
<summary>
<para>Creates a sparkline view of the specified type.
</para>
</summary>
<param name="viewType">
A <see cref="T:DevExpress.Sparkline.SparklineViewType"/> enumeration value specifying the type of view to create.
</param>
<returns>A <see cref="T:DevExpress.Sparkline.SparklineViewBase"/> class descendant.
</returns>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.EndPointColor">
<summary>
<para>Gets or sets the color to draw the end point of a sparkline.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> that defines the color to draw the end point.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.HighlightEndPoint">
<summary>
<para>Gets or sets a value specifying whether or not to highlight the end point of a sparkline.
</para>
</summary>
<value><b>true</b>, to highlight the end point; otherwise, <b>false</b>.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.HighlightMaxPoint">
<summary>
<para>Gets or sets a value specifying whether or not to highlight a sparkline point that has the highest value among all points.
</para>
</summary>
<value><b>true</b>, to highlight a point with the maximum value; otherwise, <b>false</b>.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.HighlightMinPoint">
<summary>
<para>Gets or sets a value specifying whether or not to highlight a sparkline point that has the lowest value among all points.
</para>
</summary>
<value><b>true</b>, to highlight a point with the minimum value; otherwise, <b>false</b>.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.HighlightStartPoint">
<summary>
<para>Gets or sets a value specifying whether or not to highlight the start point of a sparkline.
</para>
</summary>
<value><b>true</b>, to highlight the start point; otherwise, <b>false</b>.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.MaxPointColor">
<summary>
<para>Gets or sets the color to draw a sparkline point that has the highest value among all data points.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> that defines the color to draw a data point with the maximum value.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.MinPointColor">
<summary>
<para>Gets or sets the color to draw a sparkline point that has the lowest value among all data points.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> that defines the color to draw a data point with the minimum value.
</value>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.NegativePointColor">
<summary>
<para>Gets or sets the color to draw sparkline points that have negative values (less than 0).
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> that defines the color to draw data points with negative values.
</value>
</member>
<member name="E:DevExpress.Sparkline.SparklineViewBase.PropertiesChanged">
<summary>
<para>Occurs when any property of the SparklineViewBase object has changed its value.
</para>
</summary>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.StartPointColor">
<summary>
<para>Gets or sets the color to draw the start point of a sparkline.
</para>
</summary>
<value>A <see cref="T:System.Drawing.Color"/> that defines the color to draw the start point.
</value>
</member>
<member name="M:DevExpress.Sparkline.SparklineViewBase.ToString">
<summary>
<para>Returns a human-readable string that represents the SparklineViewBase object.
</para>
</summary>
<returns>A <see cref="T:System.String"/> value that represents the SparklineViewBase object.
</returns>
</member>
<member name="P:DevExpress.Sparkline.SparklineViewBase.Type">
<summary>
<para>Gets the type of the sparkline view.
</para>
</summary>
<value>A <see cref="T:DevExpress.Sparkline.SparklineViewType"/> enumeration value specifying the view type.
</value>
</member>
<member name="M:DevExpress.Sparkline.SparklineViewBase.Visit(DevExpress.Sparkline.ISparklineViewVisitor)">
<summary>
<para>Invokes the <b>Visit</b> method of the specified visitor for the current SparklineViewBase object.
</para>
</summary>
<param name="visitor">
An object implementing the <see cref="T:DevExpress.Sparkline.ISparklineViewVisitor"/> interface.
</param>
</member>
<member name="T:DevExpress.Sparkline.WinLossSparklineView">
<summary>
<para>The <b>WinLoss</b> sparkline view.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.WinLossSparklineView.#ctor">
<summary>
<para>Initializes a new instance of the WinLossSparklineView class with default settings.
</para>
</summary>
</member>
<member name="P:DevExpress.Sparkline.WinLossSparklineView.Type">
<summary>
<para>Gets the type of the sparkline view.
</para>
</summary>
<value>Always <see cref="F:DevExpress.Sparkline.SparklineViewType.WinLoss"/>.
</value>
</member>
<member name="M:DevExpress.Sparkline.WinLossSparklineView.Visit(DevExpress.Sparkline.ISparklineViewVisitor)">
<summary>
<para>Invokes the <b>Visit</b> method of the specified visitor for the current WinLossSparklineView object.
</para>
</summary>
<param name="visitor">
An object implementing the <see cref="T:DevExpress.Sparkline.ISparklineViewVisitor"/> interface.
</param>
</member>
<member name="T:DevExpress.Sparkline.BarSparklineViewBase">
<summary>
<para>The base for <b>Bar</b> and <b>WinLoss</b> sparkline views.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.BarSparklineViewBase.Assign(DevExpress.Sparkline.SparklineViewBase)">
<summary>
<para>Copies all the settings from the BarSparklineViewBase object passed as the parameter.
</para>
</summary>
<param name="view">
A BarSparklineViewBase object (which is the <see cref="T:DevExpress.Sparkline.SparklineViewBase"/> descendant) whose settings are assigned to the current object. If <b>null</b> (<b>Nothing</b> in Visual Basic), then a <see cref="T:System.ArgumentNullException"/> will be thrown.
</param>
</member>
<member name="P:DevExpress.Sparkline.BarSparklineViewBase.BarDistance">
<summary>
<para>Specifies the distance between two bars of a bar sparkline.
</para>
</summary>
<value>An integer value (in pixels).
</value>
</member>
<member name="T:DevExpress.Sparkline.AreaSparklineView">
<summary>
<para>The <b>Area</b> sparkline view.
</para>
</summary>
</member>
<member name="M:DevExpress.Sparkline.AreaSparklineView.#ctor">
<summary>
<para>Initializes a new instance of the AreaSparklineView class with default settings.
</para>
</summary>
</member>
<member name="P:DevExpress.Sparkline.AreaSparklineView.AreaOpacity">
<summary>
<para>Specifies the opacity (<b>0</b>-<b>255</b>) of the area sparkline.
</para>
</summary>
<value>A <see cref="T:System.Byte"/> value from <b>0</b> (transparent) to <b>255</b> (opaque).
</value>
</member>
<member name="M:DevExpress.Sparkline.AreaSparklineView.Assign(DevExpress.Sparkline.SparklineViewBase)">
<summary>
<para>Copies all the settings from the AreaSparklineView object passed as the parameter.
</para>
</summary>
<param name="view">
A AreaSparklineView object (which is the <see cref="T:DevExpress.Sparkline.SparklineViewBase"/> descendant) whose settings are assigned to the current object. If <b>null</b> (<b>Nothing</b> in Visual Basic), then a <see cref="T:System.ArgumentNullException"/> will be thrown.
</param>
</member>
<member name="P:DevExpress.Sparkline.AreaSparklineView.Type">
<summary>
<para>Gets the type of the sparkline view.
</para>
</summary>
<value>Always <see cref="F:DevExpress.Sparkline.SparklineViewType.Area"/>.
</value>
</member>
<member name="M:DevExpress.Sparkline.AreaSparklineView.Visit(DevExpress.Sparkline.ISparklineViewVisitor)">
<summary>
<para>Invokes the <b>Visit</b> method of the specified visitor for the current AreaSparklineView object.
</para>
</summary>
<param name="visitor">
An object implementing the <see cref="T:DevExpress.Sparkline.ISparklineViewVisitor"/> interface.
</param>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<entityFramework>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<connectionStrings>
<!-- 中央库,标准库 -->
<add name="DtcDbConnectionString"
connectionString="Server=172.16.200.35;Database=dtcdb;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—石林县医院 -->
<add name="LisdbSlConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_sl;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—石林中医院 -->
<add name="LisdbSlzConnectionString"
connectionString="Server=172.16.1.72;Database=lisdb;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—板桥卫生院 -->
<add name="LisdbBqConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_bq;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—长湖卫生院 -->
<add name="LisdbChConnectionString"
connectionString="Server=172.16.200.50;Database=lisdb_ch;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—大可卫生院 -->
<add name="LisdbDkConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_dk;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—圭山卫生院 -->
<add name="LisdbGsConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_gs;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—鹿阜卫生院 -->
<add name="LisdbLfConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_lf;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
<!-- 区域—西街口卫生院 -->
<add name="LisdbXjkConnectionString"
connectionString="Server=172.16.200.60;Database=lisdb_xjk;User ID=sa;Password=xbdLis!@#77911;"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>

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

Loading…
Cancel
Save