新版器械清点单

This commit is contained in:
leomon 2023-03-27 14:31:07 +08:00
parent 8a549e214c
commit 6d7c21bc2d
10 changed files with 547 additions and 2208 deletions

View File

@ -492,12 +492,6 @@
<Compile Include="OremrUserControl\NumTextBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="OremrUserControl\ucDocumentGoodsBill.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="OremrUserControl\ucDocumentGoodsBill.Designer.cs">
<DependentUpon>ucDocumentGoodsBill.cs</DependentUpon>
</Compile>
<Compile Include="OremrUserControl\UCOperationGoodsBill.cs">
<SubType>UserControl</SubType>
</Compile>
@ -1044,9 +1038,6 @@
<EmbeddedResource Include="OperationFront\frmSelectiveOperationsPrint.resx">
<DependentUpon>frmSelectiveOperationsPrint.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OremrUserControl\ucDocumentGoodsBill.resx">
<DependentUpon>ucDocumentGoodsBill.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OremrUserControl\UCOperationGoodsBill.resx">
<DependentUpon>UCOperationGoodsBill.cs</DependentUpon>
</EmbeddedResource>

View File

@ -6,9 +6,11 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
using AIMSBLL;
using AIMSExtension;
using AIMSModel;
using static System.Windows.Forms.AxHost;
namespace AIMS.PublicUI.UI
{
@ -394,5 +396,22 @@ namespace AIMS.PublicUI.UI
}
}
private void buttonX1_Click(object sender, EventArgs e)
{
Appliance app = new Appliance();
app.Name = txtQuery.Text.Trim();
app.HCode = PublicMethod.GetFirstLetter(txtQuery.Text.Trim());
app.ApplianceType = 0;
app.IsValid = 1;
app.OperatorId = PublicMethod.OperatorId;
app.OperatorTime = DateTime.Now;
int num = 0;
app.UseRate = 0;
num = BAppliance.Insert(app);
if (num > 0)
{
MessageBox.Show("保存成功!");
}
}
}
}

View File

@ -49,21 +49,22 @@
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.dgvY = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.ySelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.yId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.yName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplianceNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.dgvD = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.Selectcol = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Select = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.oName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.yId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.yName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplianceNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.oName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.groupBox2.SuspendLayout();
@ -78,6 +79,7 @@
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.txtQuery);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.buttonX1);
this.panel1.Controls.Add(this.btnSave);
this.panel1.Controls.Add(this.cboType);
this.panel1.Controls.Add(this.lblUseName);
@ -118,9 +120,9 @@
// btnSave
//
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnSave.Location = new System.Drawing.Point(636, 13);
this.btnSave.Location = new System.Drawing.Point(672, 13);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 30);
this.btnSave.Size = new System.Drawing.Size(39, 30);
this.btnSave.TabIndex = 2;
this.btnSave.Text = "保存";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
@ -310,6 +312,26 @@
this.ySelect.Name = "ySelect";
this.ySelect.Width = 60;
//
// yId
//
this.yId.DataPropertyName = "Id";
this.yId.HeaderText = "编号";
this.yId.Name = "yId";
this.yId.Visible = false;
//
// yName
//
this.yName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.yName.DataPropertyName = "Name";
this.yName.HeaderText = "器械名称";
this.yName.Name = "yName";
this.yName.ReadOnly = true;
//
// ApplianceNumber
//
this.ApplianceNumber.HeaderText = "使用数量";
this.ApplianceNumber.Name = "ApplianceNumber";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.dgvD);
@ -331,7 +353,7 @@
this.dgvD.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.Index,
this.Selectcol,
this.Select,
this.oName});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
@ -352,11 +374,33 @@
this.dgvD.TabIndex = 0;
this.dgvD.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvD_CellDoubleClick);
//
// Selectcol
// Id
//
this.Selectcol.HeaderText = "选择";
this.Selectcol.Name = "Select";
this.Selectcol.Width = 65;
this.Id.DataPropertyName = "Id";
this.Id.HeaderText = "编号";
this.Id.Name = "Id";
this.Id.Visible = false;
//
// Index
//
this.Index.HeaderText = "序号";
this.Index.Name = "Index";
this.Index.Visible = false;
this.Index.Width = 65;
//
// Select
//
this.Select.HeaderText = "选择";
this.Select.Name = "Select";
this.Select.Width = 65;
//
// oName
//
this.oName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.oName.DataPropertyName = "Name";
this.oName.HeaderText = "器械名称";
this.oName.Name = "oName";
this.oName.ReadOnly = true;
//
// dataGridViewTextBoxColumn1
//
@ -400,47 +444,15 @@
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.ReadOnly = true;
//
// yId
// buttonX1
//
this.yId.DataPropertyName = "Id";
this.yId.HeaderText = "编号";
this.yId.Name = "yId";
this.yId.Visible = false;
//
// yName
//
this.yName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.yName.DataPropertyName = "Name";
this.yName.HeaderText = "器械名称";
this.yName.Name = "yName";
this.yName.ReadOnly = true;
//
// ApplianceNumber
//
this.ApplianceNumber.HeaderText = "使用数量";
this.ApplianceNumber.Name = "ApplianceNumber";
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.HeaderText = "编号";
this.Id.Name = "Id";
this.Id.Visible = false;
//
// Index
//
this.Index.HeaderText = "序号";
this.Index.Name = "Index";
this.Index.Visible = false;
this.Index.Width = 65;
//
// oName
//
this.oName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.oName.DataPropertyName = "Name";
this.oName.HeaderText = "器械名称";
this.oName.Name = "oName";
this.oName.ReadOnly = true;
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX1.Location = new System.Drawing.Point(627, 13);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(39, 30);
this.buttonX1.TabIndex = 2;
this.buttonX1.Text = "新增";
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
//
// frmApplianceSelect
//
@ -502,5 +514,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
private DevComponents.DotNetBar.ButtonX buttonX1;
private System.Windows.Forms.DataGridViewCheckBoxColumn Select;
}
}

View File

@ -135,9 +135,6 @@
<metadata name="Index.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Select.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="oName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View File

@ -72,8 +72,11 @@
this.superTabMain = new DevComponents.DotNetBar.SuperTabControl();
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
this.myEditControl = new DCSoft.Writer.Controls.WriterControl();
this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panel9 = new AIMS.PublicUI.UI.DrawPanel();
this.spTabQXQDD2 = new DevComponents.DotNetBar.SuperTabItem();
this.panel7 = new System.Windows.Forms.Panel();
this.panel21 = new System.Windows.Forms.Panel();
@ -104,45 +107,7 @@
this.txtInRoom1 = new System.Windows.Forms.Button();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
this.panelQX = new System.Windows.Forms.Panel();
this.plBottom = new System.Windows.Forms.Panel();
this.panelButton = new System.Windows.Forms.Panel();
this.panelQXList = new System.Windows.Forms.Panel();
this.plTital = new System.Windows.Forms.Panel();
this.panel15 = new System.Windows.Forms.Panel();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.panel16 = new System.Windows.Forms.Panel();
this.label65 = new System.Windows.Forms.Label();
this.label57 = new System.Windows.Forms.Label();
this.label59 = new System.Windows.Forms.Label();
this.label66 = new System.Windows.Forms.Label();
this.label58 = new System.Windows.Forms.Label();
this.plTop = new System.Windows.Forms.Panel();
this.panel9 = new AIMS.PublicUI.UI.DrawPanel();
this.panelQX2 = new System.Windows.Forms.Panel();
this.panel12 = new System.Windows.Forms.Panel();
this.panel17 = new System.Windows.Forms.Panel();
this.panelQXList2 = new System.Windows.Forms.Panel();
this.panel19 = new System.Windows.Forms.Panel();
this.panel20 = new System.Windows.Forms.Panel();
this.label28 = new System.Windows.Forms.Label();
this.label29 = new System.Windows.Forms.Label();
this.label30 = new System.Windows.Forms.Label();
this.label31 = new System.Windows.Forms.Label();
this.label32 = new System.Windows.Forms.Label();
this.label33 = new System.Windows.Forms.Label();
this.panel22 = new System.Windows.Forms.Panel();
this.label34 = new System.Windows.Forms.Label();
this.label35 = new System.Windows.Forms.Label();
this.label36 = new System.Windows.Forms.Label();
this.label37 = new System.Windows.Forms.Label();
this.label38 = new System.Windows.Forms.Label();
this.label39 = new System.Windows.Forms.Label();
this.writerCommandControler1 = new DCSoft.Writer.Commands.WriterCommandControler(this.components);
this.panel3.SuspendLayout();
this.panel14.SuspendLayout();
this.panel4.SuspendLayout();
@ -152,6 +117,7 @@
this.superTabMain.SuspendLayout();
this.superTabControlPanel1.SuspendLayout();
this.panelExZKZB.SuspendLayout();
this.panel8.SuspendLayout();
this.superTabControlPanel2.SuspendLayout();
this.panel7.SuspendLayout();
this.panel21.SuspendLayout();
@ -168,18 +134,7 @@
this.panel6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.picInRoom)).BeginInit();
this.panel8.SuspendLayout();
this.panelQX.SuspendLayout();
this.plBottom.SuspendLayout();
this.plTital.SuspendLayout();
this.panel15.SuspendLayout();
this.panel16.SuspendLayout();
this.panel9.SuspendLayout();
this.panelQX2.SuspendLayout();
this.panel12.SuspendLayout();
this.panel19.SuspendLayout();
this.panel20.SuspendLayout();
this.panel22.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
this.SuspendLayout();
//
// panel2
@ -264,6 +219,7 @@
this.button1.TabIndex = 16;
this.button1.Text = " 新增器械";
this.button1.UseVisualStyleBackColor = false;
this.button1.Visible = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button8
@ -886,6 +842,26 @@
this.panelExZKZB.Style.GradientAngle = 90;
this.panelExZKZB.TabIndex = 0;
//
// panel8
//
this.panel8.AutoScroll = true;
this.panel8.BackColor = System.Drawing.Color.White;
this.panel8.Controls.Add(this.myEditControl);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 0);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(1389, 803);
this.panel8.TabIndex = 2;
this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
//
// myEditControl
//
this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.myEditControl.Location = new System.Drawing.Point(0, 0);
this.myEditControl.Name = "myEditControl";
this.myEditControl.Size = new System.Drawing.Size(1389, 803);
this.myEditControl.TabIndex = 6;
//
// spTabQXQDD
//
this.spTabQXQDD.AttachedControl = this.superTabControlPanel1;
@ -903,6 +879,16 @@
this.superTabControlPanel2.TabIndex = 0;
this.superTabControlPanel2.TabItem = this.spTabQXQDD2;
//
// panel9
//
this.panel9.AutoScroll = true;
this.panel9.BackColor = System.Drawing.Color.White;
this.panel9.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel9.Location = new System.Drawing.Point(0, 0);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(1389, 803);
this.panel9.TabIndex = 3;
//
// spTabQXQDD2
//
this.spTabQXQDD2.AttachedControl = this.superTabControlPanel2;
@ -947,7 +933,6 @@
this.plPrintBrowse.Size = new System.Drawing.Size(28, 28);
this.plPrintBrowse.TabIndex = 4;
this.toolTip1.SetToolTip(this.plPrintBrowse, "预览");
this.plPrintBrowse.Visible = false;
this.plPrintBrowse.Click += new System.EventHandler(this.plPrintBrowse_Click);
//
// PanelSave
@ -960,7 +945,6 @@
this.PanelSave.Size = new System.Drawing.Size(28, 28);
this.PanelSave.TabIndex = 3;
this.toolTip1.SetToolTip(this.PanelSave, "保存");
this.PanelSave.Visible = false;
this.PanelSave.Click += new System.EventHandler(this.PanelSave_Click);
//
// plPrint
@ -973,7 +957,6 @@
this.plPrint.Size = new System.Drawing.Size(28, 28);
this.plPrint.TabIndex = 3;
this.toolTip1.SetToolTip(this.plPrint, "打印");
this.plPrint.Visible = false;
this.plPrint.Click += new System.EventHandler(this.plPrint_Click);
//
// plRefresh
@ -986,7 +969,6 @@
this.plRefresh.Size = new System.Drawing.Size(28, 28);
this.plRefresh.TabIndex = 2;
this.toolTip1.SetToolTip(this.plRefresh, "刷新");
this.plRefresh.Visible = false;
this.plRefresh.Click += new System.EventHandler(this.plRefresh_Click);
//
// lblRoom
@ -1421,448 +1403,6 @@
this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71);
this.flowLayoutPanel1.TabIndex = 0;
//
// panel8
//
this.panel8.AutoScroll = true;
this.panel8.BackColor = System.Drawing.Color.White;
this.panel8.Controls.Add(this.panelQX);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 0);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(1389, 803);
this.panel8.TabIndex = 2;
this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
//
// panelQX
//
this.panelQX.BackColor = System.Drawing.Color.White;
this.panelQX.Controls.Add(this.plBottom);
this.panelQX.Controls.Add(this.plTop);
this.panelQX.Location = new System.Drawing.Point(217, 213);
this.panelQX.Margin = new System.Windows.Forms.Padding(0);
this.panelQX.Name = "panelQX";
this.panelQX.Size = new System.Drawing.Size(952, 562);
this.panelQX.TabIndex = 12;
this.panelQX.Visible = false;
//
// plBottom
//
this.plBottom.BackColor = System.Drawing.Color.White;
this.plBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.plBottom.Controls.Add(this.panelButton);
this.plBottom.Controls.Add(this.panelQXList);
this.plBottom.Controls.Add(this.plTital);
this.plBottom.Dock = System.Windows.Forms.DockStyle.Fill;
this.plBottom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.plBottom.Location = new System.Drawing.Point(0, 2);
this.plBottom.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.plBottom.Name = "plBottom";
this.plBottom.Size = new System.Drawing.Size(952, 560);
this.plBottom.TabIndex = 1355;
//
// panelButton
//
this.panelButton.Dock = System.Windows.Forms.DockStyle.Top;
this.panelButton.Location = new System.Drawing.Point(0, 425);
this.panelButton.Name = "panelButton";
this.panelButton.Size = new System.Drawing.Size(950, 141);
this.panelButton.TabIndex = 1351;
//
// panelQXList
//
this.panelQXList.Dock = System.Windows.Forms.DockStyle.Top;
this.panelQXList.Location = new System.Drawing.Point(0, 47);
this.panelQXList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panelQXList.Name = "panelQXList";
this.panelQXList.Size = new System.Drawing.Size(950, 378);
this.panelQXList.TabIndex = 1350;
//
// plTital
//
this.plTital.BackColor = System.Drawing.SystemColors.Control;
this.plTital.Controls.Add(this.panel15);
this.plTital.Controls.Add(this.panel16);
this.plTital.Dock = System.Windows.Forms.DockStyle.Top;
this.plTital.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.plTital.Location = new System.Drawing.Point(0, 0);
this.plTital.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.plTital.Name = "plTital";
this.plTital.Size = new System.Drawing.Size(950, 47);
this.plTital.TabIndex = 1349;
//
// panel15
//
this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel15.Controls.Add(this.label11);
this.panel15.Controls.Add(this.label12);
this.panel15.Controls.Add(this.label13);
this.panel15.Controls.Add(this.label14);
this.panel15.Controls.Add(this.label15);
this.panel15.Dock = System.Windows.Forms.DockStyle.Left;
this.panel15.Location = new System.Drawing.Point(410, 0);
this.panel15.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel15.Name = "panel15";
this.panel15.Size = new System.Drawing.Size(410, 47);
this.panel15.TabIndex = 13;
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label11.Location = new System.Drawing.Point(42, 5);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(32, 34);
this.label11.TabIndex = 9;
this.label11.Text = "器械\r\n名称";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label12.Location = new System.Drawing.Point(140, 5);
this.label12.Margin = new System.Windows.Forms.Padding(0);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(32, 34);
this.label12.TabIndex = 10;
this.label12.Text = "术前\r\n清点";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label13.Location = new System.Drawing.Point(208, 5);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(32, 34);
this.label13.TabIndex = 12;
this.label13.Text = "术中\r\n加数";
//
// label14
//
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label14.Location = new System.Drawing.Point(276, 5);
this.label14.Margin = new System.Windows.Forms.Padding(0);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(32, 34);
this.label14.TabIndex = 8;
this.label14.Text = "关体\r\n腔前";
//
// label15
//
this.label15.AutoSize = true;
this.label15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label15.Location = new System.Drawing.Point(344, 5);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(32, 34);
this.label15.TabIndex = 11;
this.label15.Text = "关体\r\n腔后";
//
// panel16
//
this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel16.Controls.Add(this.label65);
this.panel16.Controls.Add(this.label57);
this.panel16.Controls.Add(this.label59);
this.panel16.Controls.Add(this.label66);
this.panel16.Controls.Add(this.label58);
this.panel16.Dock = System.Windows.Forms.DockStyle.Left;
this.panel16.Location = new System.Drawing.Point(0, 0);
this.panel16.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel16.Name = "panel16";
this.panel16.Size = new System.Drawing.Size(410, 47);
this.panel16.TabIndex = 11;
//
// label65
//
this.label65.AutoSize = true;
this.label65.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label65.Location = new System.Drawing.Point(46, 5);
this.label65.Name = "label65";
this.label65.Size = new System.Drawing.Size(32, 34);
this.label65.TabIndex = 9;
this.label65.Text = "器械\r\n名称";
//
// label57
//
this.label57.AutoSize = true;
this.label57.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label57.Location = new System.Drawing.Point(139, 5);
this.label57.Margin = new System.Windows.Forms.Padding(0);
this.label57.Name = "label57";
this.label57.Size = new System.Drawing.Size(32, 34);
this.label57.TabIndex = 10;
this.label57.Text = "术前\r\n清点";
this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label59
//
this.label59.AutoSize = true;
this.label59.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label59.Location = new System.Drawing.Point(277, 5);
this.label59.Margin = new System.Windows.Forms.Padding(0);
this.label59.Name = "label59";
this.label59.Size = new System.Drawing.Size(32, 34);
this.label59.TabIndex = 8;
this.label59.Text = "关体\r\n腔前";
//
// label66
//
this.label66.AutoSize = true;
this.label66.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label66.Location = new System.Drawing.Point(346, 5);
this.label66.Name = "label66";
this.label66.Size = new System.Drawing.Size(32, 34);
this.label66.TabIndex = 11;
this.label66.Text = "关体\r\n腔后";
//
// label58
//
this.label58.AutoSize = true;
this.label58.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label58.Location = new System.Drawing.Point(208, 5);
this.label58.Name = "label58";
this.label58.Size = new System.Drawing.Size(32, 34);
this.label58.TabIndex = 12;
this.label58.Text = "术中\r\n加数";
//
// plTop
//
this.plTop.BackColor = System.Drawing.Color.White;
this.plTop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.plTop.Dock = System.Windows.Forms.DockStyle.Top;
this.plTop.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.plTop.Location = new System.Drawing.Point(0, 0);
this.plTop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.plTop.Name = "plTop";
this.plTop.Size = new System.Drawing.Size(952, 2);
this.plTop.TabIndex = 22;
//
// panel9
//
this.panel9.AutoScroll = true;
this.panel9.BackColor = System.Drawing.Color.White;
this.panel9.Controls.Add(this.panelQX2);
this.panel9.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel9.Location = new System.Drawing.Point(0, 0);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(1389, 803);
this.panel9.TabIndex = 3;
//
// panelQX2
//
this.panelQX2.BackColor = System.Drawing.Color.White;
this.panelQX2.Controls.Add(this.panel12);
this.panelQX2.Location = new System.Drawing.Point(39, 54);
this.panelQX2.Margin = new System.Windows.Forms.Padding(0);
this.panelQX2.Name = "panelQX2";
this.panelQX2.Size = new System.Drawing.Size(952, 650);
this.panelQX2.TabIndex = 12;
this.panelQX2.Visible = false;
//
// panel12
//
this.panel12.BackColor = System.Drawing.Color.White;
this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel12.Controls.Add(this.panel17);
this.panel12.Controls.Add(this.panelQXList2);
this.panel12.Controls.Add(this.panel19);
this.panel12.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel12.Location = new System.Drawing.Point(0, 0);
this.panel12.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel12.Name = "panel12";
this.panel12.Size = new System.Drawing.Size(952, 650);
this.panel12.TabIndex = 1355;
//
// panel17
//
this.panel17.Dock = System.Windows.Forms.DockStyle.Top;
this.panel17.Location = new System.Drawing.Point(0, 425);
this.panel17.Name = "panel17";
this.panel17.Size = new System.Drawing.Size(950, 149);
this.panel17.TabIndex = 1351;
//
// panelQXList2
//
this.panelQXList2.Dock = System.Windows.Forms.DockStyle.Top;
this.panelQXList2.Location = new System.Drawing.Point(0, 47);
this.panelQXList2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panelQXList2.Name = "panelQXList2";
this.panelQXList2.Size = new System.Drawing.Size(950, 378);
this.panelQXList2.TabIndex = 1350;
//
// panel19
//
this.panel19.BackColor = System.Drawing.SystemColors.Control;
this.panel19.Controls.Add(this.panel20);
this.panel19.Controls.Add(this.panel22);
this.panel19.Dock = System.Windows.Forms.DockStyle.Top;
this.panel19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel19.Location = new System.Drawing.Point(0, 0);
this.panel19.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel19.Name = "panel19";
this.panel19.Size = new System.Drawing.Size(950, 47);
this.panel19.TabIndex = 1349;
//
// panel20
//
this.panel20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel20.Controls.Add(this.label28);
this.panel20.Controls.Add(this.label29);
this.panel20.Controls.Add(this.label30);
this.panel20.Controls.Add(this.label31);
this.panel20.Controls.Add(this.label32);
this.panel20.Controls.Add(this.label33);
this.panel20.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel20.Location = new System.Drawing.Point(477, 0);
this.panel20.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel20.Name = "panel20";
this.panel20.Size = new System.Drawing.Size(473, 47);
this.panel20.TabIndex = 13;
//
// label28
//
this.label28.AutoSize = true;
this.label28.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label28.Location = new System.Drawing.Point(42, 5);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(32, 34);
this.label28.TabIndex = 9;
this.label28.Text = "器械\r\n名称";
//
// label29
//
this.label29.AutoSize = true;
this.label29.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label29.Location = new System.Drawing.Point(140, 5);
this.label29.Margin = new System.Windows.Forms.Padding(0);
this.label29.Name = "label29";
this.label29.Size = new System.Drawing.Size(32, 34);
this.label29.TabIndex = 10;
this.label29.Text = "术前\r\n清点";
this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label30
//
this.label30.AutoSize = true;
this.label30.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label30.Location = new System.Drawing.Point(208, 5);
this.label30.Name = "label30";
this.label30.Size = new System.Drawing.Size(32, 34);
this.label30.TabIndex = 12;
this.label30.Text = "术中\r\n加数";
//
// label31
//
this.label31.AutoSize = true;
this.label31.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label31.Location = new System.Drawing.Point(276, 5);
this.label31.Margin = new System.Windows.Forms.Padding(0);
this.label31.Name = "label31";
this.label31.Size = new System.Drawing.Size(32, 34);
this.label31.TabIndex = 8;
this.label31.Text = "关体\r\n腔前";
//
// label32
//
this.label32.AutoSize = true;
this.label32.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label32.Location = new System.Drawing.Point(412, 5);
this.label32.Name = "label32";
this.label32.Size = new System.Drawing.Size(32, 34);
this.label32.TabIndex = 11;
this.label32.Text = "缝合\r\n皮后";
//
// label33
//
this.label33.AutoSize = true;
this.label33.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label33.Location = new System.Drawing.Point(344, 5);
this.label33.Name = "label33";
this.label33.Size = new System.Drawing.Size(32, 34);
this.label33.TabIndex = 11;
this.label33.Text = "关体\r\n腔后";
//
// panel22
//
this.panel22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel22.Controls.Add(this.label34);
this.panel22.Controls.Add(this.label35);
this.panel22.Controls.Add(this.label36);
this.panel22.Controls.Add(this.label37);
this.panel22.Controls.Add(this.label38);
this.panel22.Controls.Add(this.label39);
this.panel22.Dock = System.Windows.Forms.DockStyle.Left;
this.panel22.Location = new System.Drawing.Point(0, 0);
this.panel22.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel22.Name = "panel22";
this.panel22.Size = new System.Drawing.Size(477, 47);
this.panel22.TabIndex = 11;
//
// label34
//
this.label34.AutoSize = true;
this.label34.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label34.Location = new System.Drawing.Point(46, 5);
this.label34.Name = "label34";
this.label34.Size = new System.Drawing.Size(32, 34);
this.label34.TabIndex = 9;
this.label34.Text = "器械\r\n名称";
//
// label35
//
this.label35.AutoSize = true;
this.label35.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label35.Location = new System.Drawing.Point(139, 5);
this.label35.Margin = new System.Windows.Forms.Padding(0);
this.label35.Name = "label35";
this.label35.Size = new System.Drawing.Size(32, 34);
this.label35.TabIndex = 10;
this.label35.Text = "术前\r\n清点";
this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label36
//
this.label36.AutoSize = true;
this.label36.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label36.Location = new System.Drawing.Point(277, 5);
this.label36.Margin = new System.Windows.Forms.Padding(0);
this.label36.Name = "label36";
this.label36.Size = new System.Drawing.Size(32, 34);
this.label36.TabIndex = 8;
this.label36.Text = "关体\r\n腔前";
//
// label37
//
this.label37.AutoSize = true;
this.label37.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label37.Location = new System.Drawing.Point(415, 5);
this.label37.Name = "label37";
this.label37.Size = new System.Drawing.Size(32, 34);
this.label37.TabIndex = 11;
this.label37.Text = "缝合\r\n皮后";
//
// label38
//
this.label38.AutoSize = true;
this.label38.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label38.Location = new System.Drawing.Point(346, 5);
this.label38.Name = "label38";
this.label38.Size = new System.Drawing.Size(32, 34);
this.label38.TabIndex = 11;
this.label38.Text = "关体\r\n腔后";
//
// label39
//
this.label39.AutoSize = true;
this.label39.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label39.Location = new System.Drawing.Point(208, 5);
this.label39.Name = "label39";
this.label39.Size = new System.Drawing.Size(32, 34);
this.label39.TabIndex = 12;
this.label39.Text = "术中\r\n加数";
//
// frmInstrumentRecord2
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@ -1885,6 +1425,7 @@
this.superTabMain.ResumeLayout(false);
this.superTabControlPanel1.ResumeLayout(false);
this.panelExZKZB.ResumeLayout(false);
this.panel8.ResumeLayout(false);
this.superTabControlPanel2.ResumeLayout(false);
this.panel7.ResumeLayout(false);
this.panel7.PerformLayout();
@ -1902,22 +1443,7 @@
this.panel6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.picInRoom)).EndInit();
this.panel8.ResumeLayout(false);
this.panelQX.ResumeLayout(false);
this.plBottom.ResumeLayout(false);
this.plTital.ResumeLayout(false);
this.panel15.ResumeLayout(false);
this.panel15.PerformLayout();
this.panel16.ResumeLayout(false);
this.panel16.PerformLayout();
this.panel9.ResumeLayout(false);
this.panelQX2.ResumeLayout(false);
this.panel12.ResumeLayout(false);
this.panel19.ResumeLayout(false);
this.panel20.ResumeLayout(false);
this.panel20.PerformLayout();
this.panel22.ResumeLayout(false);
this.panel22.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
this.ResumeLayout(false);
}
@ -1973,54 +1499,17 @@
private System.Windows.Forms.Button btnsbwh;
private System.Windows.Forms.Button btndptz;
private System.Windows.Forms.Button btnsjzx;
private System.Windows.Forms.Panel panelQX;
private System.Windows.Forms.Panel plBottom;
private System.Windows.Forms.Panel panelQXList;
private System.Windows.Forms.Panel plTital;
private System.Windows.Forms.Panel panel15;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Panel panel16;
private System.Windows.Forms.Label label65;
private System.Windows.Forms.Label label57;
private System.Windows.Forms.Label label59;
private System.Windows.Forms.Label label66;
private System.Windows.Forms.Label label58;
private System.Windows.Forms.Panel plTop;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Panel PanelSave;
private DevComponents.DotNetBar.SuperTabControl superTabMain;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1;
private DevComponents.DotNetBar.PanelEx panelExZKZB;
private DevComponents.DotNetBar.SuperTabItem spTabQXQDD;
private System.Windows.Forms.Panel panelButton;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.ToolTip toolTip1;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2;
private DevComponents.DotNetBar.SuperTabItem spTabQXQDD2;
private PublicUI.UI.DrawPanel panel9;
private System.Windows.Forms.Panel panelQX2;
private System.Windows.Forms.Panel panel12;
private System.Windows.Forms.Panel panel17;
private System.Windows.Forms.Panel panelQXList2;
private System.Windows.Forms.Panel panel19;
private System.Windows.Forms.Panel panel20;
private System.Windows.Forms.Label label28;
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Label label30;
private System.Windows.Forms.Label label31;
private System.Windows.Forms.Label label32;
private System.Windows.Forms.Label label33;
private System.Windows.Forms.Panel panel22;
private System.Windows.Forms.Label label34;
private System.Windows.Forms.Label label35;
private System.Windows.Forms.Label label36;
private System.Windows.Forms.Label label37;
private System.Windows.Forms.Label label38;
private System.Windows.Forms.Label label39;
private System.Windows.Forms.Button btnChage;
private System.Windows.Forms.Label lblSpo2;
private System.Windows.Forms.Label lblRESP;
@ -2037,5 +1526,7 @@
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label1;
private DCSoft.Writer.Controls.WriterControl myEditControl;
private DCSoft.Writer.Commands.WriterCommandControler writerCommandControler1;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -120,6 +120,9 @@
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="writerCommandControler1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>353, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>62</value>
</metadata>

View File

@ -1,315 +0,0 @@
namespace AIMS.OremrUserControl
{
partial class ucDocumentGoodsBill
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucDocumentGoodsBill));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSaveAndPrint = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.tsbPreview = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCheckout = new System.Windows.Forms.ToolStripButton();
this.myEditControl = new DCSoft.Writer.Controls.WriterControl();
this.writerCommandControler1 = new DCSoft.Writer.Commands.WriterCommandControler(this.components);
this.cmRedo = new System.Windows.Forms.ToolStripMenuItem();
this.cmUndo = new System.Windows.Forms.ToolStripMenuItem();
this.cmCut = new System.Windows.Forms.ToolStripMenuItem();
this.cmCopy = new System.Windows.Forms.ToolStripMenuItem();
this.cmPaste = new System.Windows.Forms.ToolStripMenuItem();
this.cmColor = new System.Windows.Forms.ToolStripMenuItem();
this.cmFont = new System.Windows.Forms.ToolStripMenuItem();
this.cmAlignLeft = new System.Windows.Forms.ToolStripMenuItem();
this.cmAlignCenter = new System.Windows.Forms.ToolStripMenuItem();
this.cmAlignRight = new System.Windows.Forms.ToolStripMenuItem();
this.cmEdit = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripSeparator();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
this.cmEdit.SuspendLayout();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue;
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbSave,
this.toolStripSeparator1,
this.tsbSaveAndPrint,
this.toolStripSeparator5,
this.tsbPreview,
this.toolStripSeparator2,
this.tsbCheckout});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(865, 49);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// tsbSave
//
this.tsbSave.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSave.Image = global::AIMS.Properties.Resources._手术申请;
this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSave.Name = "tsbSave";
this.tsbSave.Size = new System.Drawing.Size(48, 46);
this.tsbSave.Text = " 保存 ";
this.tsbSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// tsbSaveAndPrint
//
this.tsbSaveAndPrint.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSaveAndPrint.Image = global::AIMS.Properties.Resources._打印;
this.tsbSaveAndPrint.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSaveAndPrint.Name = "tsbSaveAndPrint";
this.tsbSaveAndPrint.Size = new System.Drawing.Size(88, 46);
this.tsbSaveAndPrint.Text = " 保存并打印 ";
this.tsbSaveAndPrint.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSaveAndPrint.Click += new System.EventHandler(this.tsbSaveAndPrint_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 49);
//
// tsbPreview
//
this.tsbPreview.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbPreview.Image = global::AIMS.Properties.Resources._预览;
this.tsbPreview.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbPreview.Name = "tsbPreview";
this.tsbPreview.Size = new System.Drawing.Size(40, 46);
this.tsbPreview.Text = " 预览";
this.tsbPreview.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbPreview.Click += new System.EventHandler(this.tsbPreview_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbCheckout
//
this.tsbCheckout.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCheckout.Image = global::AIMS.Properties.Resources._回顾手术;
this.tsbCheckout.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbCheckout.Name = "tsbCheckout";
this.tsbCheckout.Size = new System.Drawing.Size(64, 46);
this.tsbCheckout.Text = " 查看痕迹";
this.tsbCheckout.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCheckout.Click += new System.EventHandler(this.tsbCheckout_Click);
//
// myEditControl
//
this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.myEditControl.Location = new System.Drawing.Point(0, 49);
this.myEditControl.Name = "myEditControl";
this.myEditControl.Size = new System.Drawing.Size(865, 399);
this.myEditControl.TabIndex = 5;
//
// cmRedo
//
this.writerCommandControler1.SetCommandName(this.cmRedo, "Redo");
this.cmRedo.Image = ((System.Drawing.Image)(resources.GetObject("cmRedo.Image")));
this.cmRedo.Name = "cmRedo";
this.cmRedo.Size = new System.Drawing.Size(124, 22);
this.cmRedo.Text = "重复";
//
// cmUndo
//
this.writerCommandControler1.SetCommandName(this.cmUndo, "Undo");
this.cmUndo.Image = ((System.Drawing.Image)(resources.GetObject("cmUndo.Image")));
this.cmUndo.Name = "cmUndo";
this.cmUndo.Size = new System.Drawing.Size(124, 22);
this.cmUndo.Text = "撤销";
//
// cmCut
//
this.writerCommandControler1.SetCommandName(this.cmCut, "Cut");
this.cmCut.Image = ((System.Drawing.Image)(resources.GetObject("cmCut.Image")));
this.cmCut.Name = "cmCut";
this.cmCut.Size = new System.Drawing.Size(124, 22);
this.cmCut.Text = "剪切";
//
// cmCopy
//
this.writerCommandControler1.SetCommandName(this.cmCopy, "Copy");
this.cmCopy.Image = ((System.Drawing.Image)(resources.GetObject("cmCopy.Image")));
this.cmCopy.Name = "cmCopy";
this.cmCopy.Size = new System.Drawing.Size(124, 22);
this.cmCopy.Text = "复制";
//
// cmPaste
//
this.writerCommandControler1.SetCommandName(this.cmPaste, "Paste");
this.cmPaste.Image = ((System.Drawing.Image)(resources.GetObject("cmPaste.Image")));
this.cmPaste.Name = "cmPaste";
this.cmPaste.Size = new System.Drawing.Size(124, 22);
this.cmPaste.Text = "粘贴";
//
// cmColor
//
this.writerCommandControler1.SetCommandName(this.cmColor, "Color");
this.cmColor.Image = ((System.Drawing.Image)(resources.GetObject("cmColor.Image")));
this.cmColor.Name = "cmColor";
this.cmColor.Size = new System.Drawing.Size(124, 22);
this.cmColor.Text = "颜色";
//
// cmFont
//
this.writerCommandControler1.SetCommandName(this.cmFont, "Font");
this.cmFont.Image = ((System.Drawing.Image)(resources.GetObject("cmFont.Image")));
this.cmFont.Name = "cmFont";
this.cmFont.Size = new System.Drawing.Size(124, 22);
this.cmFont.Text = "字体...";
//
// cmAlignLeft
//
this.writerCommandControler1.SetCommandName(this.cmAlignLeft, "AlignLeft");
this.cmAlignLeft.Image = ((System.Drawing.Image)(resources.GetObject("cmAlignLeft.Image")));
this.cmAlignLeft.Name = "cmAlignLeft";
this.cmAlignLeft.Size = new System.Drawing.Size(124, 22);
this.cmAlignLeft.Text = "左对齐";
//
// cmAlignCenter
//
this.writerCommandControler1.SetCommandName(this.cmAlignCenter, "AlignCenter");
this.cmAlignCenter.Image = ((System.Drawing.Image)(resources.GetObject("cmAlignCenter.Image")));
this.cmAlignCenter.Name = "cmAlignCenter";
this.cmAlignCenter.Size = new System.Drawing.Size(124, 22);
this.cmAlignCenter.Text = "居中对齐";
//
// cmAlignRight
//
this.writerCommandControler1.SetCommandName(this.cmAlignRight, "AlignRight");
this.cmAlignRight.Image = ((System.Drawing.Image)(resources.GetObject("cmAlignRight.Image")));
this.cmAlignRight.Name = "cmAlignRight";
this.cmAlignRight.Size = new System.Drawing.Size(124, 22);
this.cmAlignRight.Text = "右对齐";
//
// cmEdit
//
this.cmEdit.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.cmRedo,
this.cmUndo,
this.toolStripMenuItem4,
this.cmCut,
this.cmCopy,
this.cmPaste,
this.toolStripMenuItem5,
this.cmColor,
this.cmFont,
this.toolStripMenuItem6,
this.cmAlignLeft,
this.cmAlignCenter,
this.cmAlignRight,
this.toolStripMenuItem8});
this.cmEdit.Name = "cmEdit";
this.cmEdit.Size = new System.Drawing.Size(125, 248);
//
// toolStripMenuItem4
//
this.toolStripMenuItem4.Name = "toolStripMenuItem4";
this.toolStripMenuItem4.Size = new System.Drawing.Size(121, 6);
//
// toolStripMenuItem5
//
this.toolStripMenuItem5.Name = "toolStripMenuItem5";
this.toolStripMenuItem5.Size = new System.Drawing.Size(121, 6);
//
// toolStripMenuItem6
//
this.toolStripMenuItem6.Name = "toolStripMenuItem6";
this.toolStripMenuItem6.Size = new System.Drawing.Size(121, 6);
//
// toolStripMenuItem8
//
this.toolStripMenuItem8.Name = "toolStripMenuItem8";
this.toolStripMenuItem8.Size = new System.Drawing.Size(121, 6);
//
// ucDocumentGoodsBill
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.myEditControl);
this.Controls.Add(this.toolStrip1);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "ucDocumentGoodsBill";
this.Size = new System.Drawing.Size(865, 448);
this.Load += new System.EventHandler(this.ucDocumentGoodsBill_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
this.cmEdit.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStripButton tsbSave;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbSaveAndPrint;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripButton tsbPreview;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCheckout;
private DCSoft.Writer.Controls.WriterControl myEditControl;
private DCSoft.Writer.Commands.WriterCommandControler writerCommandControler1;
private System.Windows.Forms.ContextMenuStrip cmEdit;
private System.Windows.Forms.ToolStripMenuItem cmRedo;
private System.Windows.Forms.ToolStripMenuItem cmUndo;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
private System.Windows.Forms.ToolStripMenuItem cmCut;
private System.Windows.Forms.ToolStripMenuItem cmCopy;
private System.Windows.Forms.ToolStripMenuItem cmPaste;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem5;
private System.Windows.Forms.ToolStripMenuItem cmColor;
private System.Windows.Forms.ToolStripMenuItem cmFont;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem6;
private System.Windows.Forms.ToolStripMenuItem cmAlignLeft;
private System.Windows.Forms.ToolStripMenuItem cmAlignCenter;
private System.Windows.Forms.ToolStripMenuItem cmAlignRight;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem8;
public System.Windows.Forms.ToolStrip toolStrip1;
}
}

View File

@ -1,397 +0,0 @@
using AIMS.PublicUI.UI;
using DCSoft.Writer;
using DCSoft.Writer.Data;
using DCSoft.Writer.Dom;
using DocumentManagement;
using DrawGraph;
using System;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
using System.Xml;
namespace AIMS.OremrUserControl
{
public partial class ucDocumentGoodsBill : UserControl
{
//模板Model
private PrintTemplate TModel = new PrintTemplate();
//文档Model
private PrintDocument DModel = new PrintDocument();
//患者Id
public PatientRecord Patient = new PatientRecord();
//刷新文档目录
public delegate void RefreshUcClassify(int patientId);
public RefreshUcClassify RefreshUc;
//文档标题
public delegate void ModifyTitle();
public ModifyTitle ModifyT;
public delegate void ClearTitle();
public ClearTitle ClearT;
//关闭
public delegate void CloseParent();
public CloseParent CloseP;
//容器tab
//public TabItem Tb;
//文档事件
private EventCodeCompiler codeCompiler;
private string strClick, strContentChanged;
public ucDocumentGoodsBill(int tempId, int docId, PatientRecord patient)
{
InitializeComponent();
Patient = patient;
TModel.Id = tempId;
DModel.Id = docId;
DModel.TemplateId = tempId;
}
public ucDocumentGoodsBill(PrintDocument model, PatientRecord patient)
{
InitializeComponent();
Patient = patient;
DModel = model;
}
private void ucDocumentGoodsBill_Load(object sender, EventArgs e)
{
//myEditControl初始化
myEditControl.MoveFocusHotKey = MoveFocusHotKeys.Tab;
myEditControl.HeaderFooterReadonly = true;
myEditControl.CommandControler = this.writerCommandControler1;
writerCommandControler1.Start();
//表单视图模式
myEditControl.FormView = DCSoft.Writer.Controls.FormViewMode.Strict;
//加载知识库
//DocumentDAL.LoadKBLibaray();
myEditControl.ExecuteCommand("LoadKBLibrary", false, DocumentDAL.Lib);
// 注册自定义的输入域下拉列表提供者
myEditControl.AppHost.Services.AddService(
typeof(IListItemsProvider),
new MyListItemsProvider());
//// 设置文档处于调试模式
//myEditControl.DocumentOptions.BehaviorOptions.DebugMode = true;
//myEditControl.DocumentOptions.BehaviorOptions.InsertCommentBindingUserTrack = true;
//启用逻辑删除、权限控制
myEditControl.Document.Options.SecurityOptions.EnablePermission = true;
myEditControl.Document.Options.SecurityOptions.EnableLogicDelete = true;
myEditControl.Document.Options.SecurityOptions.ShowLogicDeletedContent = true;
myEditControl.Document.Options.SecurityOptions.ShowPermissionMark = true;
myEditControl.Document.Options.SecurityOptions.ShowPermissionTip = true;
//文档事件
myEditControl.DocumentContentChanged += new WriterEventHandler(myEditControl_DocumentContentChanged);
myEditControl.AfterExecuteCommand += new DCSoft.Writer.Commands.WriterCommandEventHandler(myEditControl_AfterExecuteCommand);
if (DModel.Id > 0)
{
//加载文档
DModel = DocumentDAL.GetDocumentbyId(DModel.Id);
myEditControl.LoadDocumentFromString(DModel.XmlFile, "xml");
//患者基本信息二次赋值
var query = from XTextElement in myEditControl.Document.Fields.ToArray()
where XTextElement is XTextInputFieldElement
&& (XTextElement as XTextInputFieldElement).FieldSettings != null
&& (XTextElement as XTextInputFieldElement).FieldSettings.EditStyle != InputFieldEditStyle.Date
&& (XTextElement as XTextInputFieldElement).FieldSettings.ListSource != null
select XTextElement as XTextInputFieldElement;
DataRow[] dr = DocumentDAL.GetReflectionList("V_OperationRecordALL").Select("KB_SEQ <> '' and Reload=1");
var p = typeof(PatientRecord).GetProperties();
for (int i = 0; i < dr.Count(); i++)
{
var name = dr[i].ItemArray[0].ToString();
var value = dr[i].ItemArray[1].ToString();
XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault();
PropertyInfo info = p.Where(px => px.Name == name).FirstOrDefault();
if (element != null && info != null)
{
element.Text = info.GetValue(Patient, null).ToString();
}
}
}
else
{
//无文档则加载模板
TModel = DocumentDAL.GetTemplatebyId(DModel.TemplateId);
if (TModel.XmlFile == null || TModel.XmlFile.Trim().Equals(string.Empty))
{
myEditControl.ExecuteCommand("FileNew", true, null);
}
else
{
myEditControl.LoadDocumentFromString(TModel.XmlFile, "xml");
}
DModel.XmlFileName = TModel.XmlFileName;
DModel.TemplateId = TModel.Id;
//患者基本信息赋值
var query = from XTextElement in myEditControl.Document.Fields.ToArray()
where XTextElement is XTextInputFieldElement
&& (XTextElement as XTextInputFieldElement).FieldSettings != null
&& (XTextElement as XTextInputFieldElement).FieldSettings.EditStyle != InputFieldEditStyle.Date
&& (XTextElement as XTextInputFieldElement).FieldSettings.ListSource != null
select XTextElement as XTextInputFieldElement;
DataRow[] dr = DocumentDAL.GetReflectionList("V_OperationRecordALL").Select("KB_SEQ <> ''");
var p = typeof(PatientRecord).GetProperties();
for (int i = 0; i < dr.Count(); i++)
{
var name = dr[i].ItemArray[0].ToString();
var value = dr[i].ItemArray[1].ToString();
XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault();
PropertyInfo info = p.Where(px => px.Name == name).FirstOrDefault();
if (element != null && info != null)
{
element.Text = info.GetValue(Patient, null).ToString();
}
}
if (Patient.LisResult != null && Patient.LisResult.PATIENT_ID != null)
{
DataRow[] drr = DocumentDAL.GetReflectionList("V_LisResult").Select("KB_SEQ <> ''");
var lis = typeof(PatientLisResult).GetProperties();
for (int i = 0; i < drr.Count(); i++)
{
var name = drr[i].ItemArray[0].ToString();
var value = drr[i].ItemArray[1].ToString();
XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault();
PropertyInfo info = lis.Where(px => px.Name == name).FirstOrDefault();
if (element != null && info != null)
{
element.Text = info.GetValue(Patient.LisResult, null).ToString();
}
}
}
DocumentExtension.SetDocumentDefaultValue(TModel.XmlFileName, myEditControl.Document, Patient);
}
string xmlStatic = DocumentDAL.GetEventXml(DModel.TemplateId);
if (xmlStatic != string.Empty)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlStatic);
strClick = doc.GetElementsByTagName("ClickEvent")[0].InnerText;
strContentChanged = doc.GetElementsByTagName("ContentChangedEnvent")[0].InnerText;
}
codeCompiler = new EventCodeCompiler(ref this.myEditControl, strClick, strContentChanged);
//文档用户信息
myEditControl.UserLoginByParameter(
AIMSExtension.PublicMethod.OperatorNo,
AIMSExtension.PublicMethod.OperatorName,
AIMSExtension.PublicMethod.PermissionLevel);
//隐藏痕迹先
myEditControl.ExecuteCommand(StandardCommandNames.CleanViewMode, false, true);
if (Patient.MedicalRecord != null && Patient.MedicalRecord != "")
{
tsbSave.Visible = false;
tsbSaveAndPrint.Text = "打印";
}
}
void myEditControl_AfterExecuteCommand(object eventSender, DCSoft.Writer.Commands.WriterCommandEventArgs args)
{
if (args.Name == "Undo" && !myEditControl.Document.Modified && ClearT != null)
{
ClearT();
}
}
void myEditControl_DocumentContentChanged(object eventSender, WriterEventArgs args)
{
if (myEditControl.Document.Modified && ModifyT != null)
{
ModifyT();
}
}
private void tsbSave_Click(object sender, EventArgs e)
{
try
{
SaveDocument();
}
catch (Exception exp)
{
MessageBox.Show(exp.Message, "提示");
}
}
/// <summary>
/// 关闭文档
/// </summary>
/// <param name="text">文档标题</param>
/// <param name="isCancel">是否取消关闭</param>
public void CloseMsg(string text, ref bool isCancel)
{
if (text.EndsWith("*"))
{
DialogResult result = MessageBox.Show("文档【"
+ DModel.XmlFileName +
"】已经修改,尚未保存,是否保存文件?", "系统提示", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1);
switch (result)
{
case DialogResult.Yes:
try
{
SaveDocument();
}
catch (Exception exp)
{
MessageBox.Show(exp.Message, "提示");
isCancel = true;
}
break;
case DialogResult.No:
break;
case DialogResult.Cancel:
isCancel = true;
return;
//break;
default:
break;
}
}
}
/// <summary>
/// 保存文档
/// </summary>
public void SaveDocument()
{
try
{
//输入域校验
ValueValidateResultList listR = myEditControl.Document.ValueValidate();
string vMsg = "";
foreach (var item in listR)
{
vMsg += item.Message + System.Environment.NewLine;
}
if (vMsg.Length > 0)
{
throw new Exception(vMsg);
}
//model赋值
DModel.XmlFile = myEditControl.Document.XMLText;
DModel.PatientId = this.Patient.PatientId;
DModel.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
XmlDocument doc = new XmlDocument();
XmlElement rootNode = doc.CreateElement("Root");
doc.AppendChild(rootNode);
var query = from XTextElement in myEditControl.Document.Fields.ToArray()
where (XTextElement is XTextInputFieldElement && (XTextElement as XTextInputFieldElement).ToolTip != "")
|| XTextElement is XTextCheckBoxElement && ((XTextElement as XTextCheckBoxElement).ToolTip != "")
select XTextElement;
foreach (var element in query)
{
XmlElement itemNode = doc.CreateElement("Item");
if (element is XTextInputFieldElement)
{
itemNode.SetAttribute("Name", (element as XTextInputFieldElement).ToolTip);
itemNode.InnerText = element.Text;
rootNode.AppendChild(itemNode);
}
else if (element is XTextCheckBoxElement)
{
itemNode.SetAttribute("Name", (element as XTextCheckBoxElement).ToolTip);
itemNode.SetAttribute("Checked", ((XTextCheckBoxElement)element).Checked == true ? "1" : "0");
itemNode.InnerText = (element as XTextCheckBoxElement).Value;
rootNode.AppendChild(itemNode);
}
}
DModel.XmlStatic = doc.OuterXml;
if (DModel.Id > 0)
{
DocumentDAL.UpdatePrintDocument(this.DModel);
//MessageBox.Show("修改成功!");
}
else
{
DocumentDAL.InsertPrintDocument(this.DModel);
//new frmMessageBox().Show();
}
if (RefreshUc != null)
{
RefreshUc(this.Patient.PatientId);
}
if (ClearT != null)
{
ClearT();
}
myEditControl.Document.Modified = false;
////更新ASA分级与心功能分级
//if (DModel.XmlFileName == "麻醉术前访视单")
//{
// var asa = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
// && (x as XTextInputFieldElement).ToolTip == "ASA分级").FirstOrDefault();
// string strASA = asa == null ? "" : asa.Text;
// var hf = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
// && (x as XTextInputFieldElement).ToolTip == "心功能分级").FirstOrDefault();
// string strH = hf == null ? "" : hf.Text;
// BOperationApply.UpdateASA(Patient.ApplyId, strASA, strH);
//}
new frmMessageBox().Show();
}
catch
{
//MessageBox.Show(ex.Message, "错误");
throw;
}
}
public void tsbSaveAndPrint_Click(object sender, EventArgs e)
{
if (tsbCheckout.Text == " 隐藏痕迹")
{
tsbCheckout_Click(null, null);
}
if (tsbSaveAndPrint.Text == "打印")
{
myEditControl.ExecuteCommand("FilePrint", true, null);
}
else
{
tsbSave_Click(null, null);
myEditControl.ExecuteCommand("FilePrint", true, null);
}
}
private void tsbPreview_Click(object sender, EventArgs e)
{
if (tsbCheckout.Text == " 隐藏痕迹")
{
tsbCheckout_Click(null, null);
}
myEditControl.ExecuteCommand("FilePrintPreview", true, null);
}
private void tsbExit_Click(object sender, EventArgs e)
{
CloseP();
}
private void tsbCheckout_Click(object sender, EventArgs e)
{
if (tsbCheckout.Text == " 查看痕迹")
{
myEditControl.ExecuteCommand(StandardCommandNames.ComplexViewMode, false, true);
myEditControl.RefreshDocument();
tsbCheckout.Text = " 隐藏痕迹";
}
else
{
myEditControl.ExecuteCommand(StandardCommandNames.CleanViewMode, false, true);
myEditControl.RefreshDocument();
tsbCheckout.Text = " 查看痕迹";
}
}
}
}

View File

@ -1,231 +0,0 @@
<?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="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="writerCommandControler1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>143, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="cmRedo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAAVpJREFUOE/Fk7FLAlEcx+8/6U+4PQfHwuU2wyEkCXI7iOBGheDavBZpiRw8Glzs
EEwiOLjBxMG8EAcLlGhIkd7rrEgMvr331CwUUgn6wC3v/X6f3/f94KQ/xW28Il/xkLEpaq13jI7nI+cQ
0ZiwJp9uElQac4gKRQrzgiAQa8EXzcG/k0VAcxBNEmhM4rb6QtLtDeBXr6eFGSZQDgjkjRSC8QIiuiNE
cjiLsEGwm6YosSRn5Wcmt6cFJ5eemL66eYzHpxdRkC7cwrdlQlZS2E5SqCkC9YgNYVLR9J2xILiX+XFZ
rnegxi3RzJMosWHK0fWEU6eHkE6wzhKMjgRtOoBxPpwsmtUmS2RMC+zqeAdZUO/tq4AvjL+Zx+aTefPK
2gwBh0f0a00Uq/ezC37DKrZFish+eTkBJxRzhSRf6qJDP5YTqYcPCCUIbu4mu1iYq3ofTm3Bf+GfkKRP
YYMA39/ezxQAAAAASUVORK5CYII=
</value>
</data>
<data name="cmUndo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAAVJJREFUOE+1kD9Lw1AUxfuN8gE6ZHfJpnQKdrFbxo4pCHUzk3SRdrAoZKmhUEJR
AxmKBLF/KA4qtlgtWoovbWOpWjjmvgZBUpUIPXCXd+/5nXtfbKVq92bQ7TF0y0Xlcozm9Su86RxB+3eR
USsx7Jsudo1FEahss+UQ7YhhOPngDfPC4+bUHoOo1CFulRBPlbGmdlGsMpg1NwxQfcCxM8JZa8rNstbx
zZZvtpDM2ljPmBDlAqQdBn0ZQMl1oOQYlEKQLJd4HZg3fPjpxUN8s8i3yJ+MwwBKlFRKXkCUjAHnavBt
kLb5ESCpHQjKAkKbEPCu/x4CJLJdHNqTMEBM0830YRYEf3Vhwy9J+xp8GHi8R39gNZb8wV+qNe5BIXRi
8BRNyW2Hpxu152iAgTtH5XzIzQm1GT29dTvlZildx6nzGB1gt2fIV/sYeW//u33FisU+AR7kFq4i1td2
AAAAAElFTkSuQmCC
</value>
</data>
<data name="cmCut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAAVZJREFUOE+tkMFLAkEUxv2DBO952EMX8TLnPS2B4EKHOQpdtsvacZcgvAgSSpAY
22KIB0EYqCQqsUsgiMNCm0W0UHTq8LVvCqGDq4IfDMO8+b7fezOpjWs0GqPpd/F3VJJS4qTl/6st1Mtb
BKdSw3v0MQ94Xh9icL8agORUPHTFrQrI5wgGt0BTqMtV1G4LOE4NYRiifz0EM/h6gJ54UM9onnfALQe6
bq4eJgVBqII0OnXf27fXA5DMUlmFWdFCT6zxgXL2Dbf1CWZNYR9PwEpD6NYI7qmEGL4mgyhsHkXQyxL5
nQZyhSryJaEgWrGPw8YgGWC3ZmAH09jsIcMccNtXYbrrXEpVU8ZFojDt4yCamwkwefpC8+IOGY0vAcTv
JnNHUDdLmbl7A82IJ9IMpNPZZAB3H3/NcfctVlBmGj27bSIdr7p/lQwgc263qgL1syXmzSiV+gGVpfCL
dUj0HgAAAABJRU5ErkJggg==
</value>
</data>
<data name="cmCopy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAAT5JREFUOE+9kSFPxEAQhftT+hPuJ1RWViIrkSuRK5ErK1eeXFm5ssmZNYSSQNgL
CSFBsA7cY2b27not5CpIeMkzzc733kyLP8v5iOyQ3QdYF/D4/IrDk8vi4aWs82i1xfi0X4dw6lJm6+GH
gFaZdQhXZvkRoOYIMcFYBzckWinb9vTNZd+/fM6BXPekLyAlIL7RIAGW0tuEzbXH7uFjgliqy7IDVack
7SKUjbCUvJTqMnhz5bC7e88Q3peVJD1JOq9h+3xc47LDmNCaKMPssrEHAO3Lw8dkcRfokPO/w28Y7gPB
6VhzALXl1DBGekAeIjSBWLy36qKkNzqIBVCfATZ1+8PKTL/3GMDp8lfo8GVtpkP+pvY2A86TTw3obquA
5sbL3lx3spdhPnxZrQAq5WcXF1OqmIbLSl8G/JOK4hs42OceHB7wsAAAAABJRU5ErkJggg==
</value>
</data>
<data name="cmPaste.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAAZRJREFUOE+1kqFuHDEURecP9hP2ExYWGgYaLjQMNAw0CFgVGQ40XGi40HBQZThS
qtRRChYals3tfXYm2aQbVapUS0eWZuae5/c8w39ZKToIMTj8fHrEy+Pr6/v8DfHoXwneoJ5Do8we9lbB
HyxxbX9+engvlFCtEQupNSCMtu1f7y3y5OCshjM71ETxaQtr9J8CCQv+YBii8OxZ3aFMBnHUMHuF4LbI
foDdfxSEVRDgnWFFQfPoL7CipcDbLjA36r0grALpu7B65tHD5o2RMLiivuw+CEbXh1a4z+w/a9S4gQ9s
aYxwnhwCrAswdx7G+isCqTxzSBPDiQMTAcPLsnR+LRxsRTlX6FsHbdybJHipTCbVw6cNShhaZQmHmDrH
hFwoYDhNGUqbLpH7lb7XcD0OXcBjX1bOc0XKBXpvW1jdaCjFgcrPUSciYR69UJBHXhd7lvDlCWQuMeU+
H6J2WwqchPsVXSIDu6ycptLC8dR5FTz/eGj3L/dttIJWu/ZCpi09r9Wu0QSfLZm2fPA3+tf/vIbhN/oU
/B2SVSR4AAAAAElFTkSuQmCC
</value>
</data>
<data name="cmColor.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAAT9JREFUOE9jwAcu3Xr1v2rSof9QLukgv33/f//89f+vPXhPuiGfv/4EawZhr4wl
pBvQNv/M/7ZZh/7bx8//r+/f/3/v8dukGQKy9dOXH/9DyxaDDfBImUO8AduO3vqfVLMBrOHUlWf/9cP7
wYacuvSIOENAmm/dfwNXbJ04FWxAUsk8wgY8e/Xpv334/P+h+Yv/h2ZOA9PWkUAD3Ov/y5vn/3/0FGEw
VlA1Yc//pIZV/6/cevz/2Llb/0+du/f/+h2gN0AG2Of/TymdjdsAUKCBnPvx0zcMRQ2TtoFdoONcjt2A
Zy8//M9v3fjfOqjtv1ciqqJV204ANceDXQDCOs4Z/z98+oJq0MfP38FOvXLzMRA/QJH88OkrWOzKtbv/
LwLxlet3/3/4iGYAheA/0DRyMBxgkyQGwwE2SWIwAwMA+v4jx0CWuW8AAAAASUVORK5CYII=
</value>
</data>
<data name="cmFont.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAALZJREFUOE9jGEZgQseE/7jw9P7p/6HKcAOQwnOnz/1//PDx/yXzloA1gvggDGJD
leEGIIVQJsPqpavBmkCGgfjIckQBkAEGGgb/vby8/js4BGBgfn5+/AbOnz8fpOB/Y2Pj//379//X19cH
8/v7+//D5EDqcAKQooSMBLgX7O3twZpAhoH4IINANE6AHgboBuAEHz98/A/TDMKg2ACJEW0ALjBwBty/
fx/ufBAGxQbZrqARYGAAAIsJsq+EVytAAAAAAElFTkSuQmCC
</value>
</data>
<data name="cmAlignLeft.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAADFJREFUOE9jGDTgPxGYtgCbjYQwdQE2G9AxbQE2Gwlh6gJsNqBj2gJsNhLCwwMw
MAAA3ddBv2ARh7EAAAAASUVORK5CYII=
</value>
</data>
<data name="cmAlignCenter.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAAD1JREFUOE/djTEKACAMxAr2/1/WJWOGIgeCgWx3pN7TvfaN3INYxWQexCoTuQex
isk8iFUmcg9iFZP5P1Qdb5tK0V1/owgAAAAASUVORK5CYII=
</value>
</data>
<data name="cmAlignRight.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
cQAAEnEB89x6jgAAACtJREFUOE9jGBTgP5mYdgCbbdgw9QA204nBwwlg8x8xmHYAm23Y8PAADAwA4MY9
w+4nm/MAAAAASUVORK5CYII=
</value>
</data>
<metadata name="cmEdit.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>394, 17</value>
</metadata>
</root>