diff --git a/AIMS/DataDictionary/frmDrugs.Designer.cs b/AIMS/DataDictionary/frmDrugs.Designer.cs
index 06c152f..2f483ba 100644
--- a/AIMS/DataDictionary/frmDrugs.Designer.cs
+++ b/AIMS/DataDictionary/frmDrugs.Designer.cs
@@ -28,11 +28,11 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("麻醉药");
- System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("精神I类");
- System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("精神II类");
- System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("普通药");
- System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("血液制品");
+ System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("麻醉药");
+ System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("精神I类");
+ System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("精神II类");
+ System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("普通药");
+ System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("血液制品");
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
@@ -49,6 +49,8 @@
this.label4 = new System.Windows.Forms.Label();
this.txtUnit = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
+ this.txtChannel = new System.Windows.Forms.ComboBox();
+ this.label5 = new System.Windows.Forms.Label();
this.cboDosageUnit = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.txtStand = new System.Windows.Forms.TextBox();
@@ -57,7 +59,9 @@
this.label12 = new System.Windows.Forms.Label();
this.cboDrugKind = new System.Windows.Forms.ComboBox();
this.chkIsValid = new System.Windows.Forms.CheckBox();
+ this.txtRemark = new System.Windows.Forms.TextBox();
this.txtName = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
@@ -67,10 +71,12 @@
this.treeView1 = new System.Windows.Forms.TreeView();
this.panel2 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
- this.label3 = new System.Windows.Forms.Label();
- this.txtRemark = new System.Windows.Forms.TextBox();
- this.label5 = new System.Windows.Forms.Label();
- this.txtChannel = new System.Windows.Forms.ComboBox();
+ this.txtUseDose1 = new AIMS.OremrUserControl.NumTextBox();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.txtUseDose2 = new AIMS.OremrUserControl.NumTextBox();
+ this.label9 = new System.Windows.Forms.Label();
+ this.txtUseDose3 = new AIMS.OremrUserControl.NumTextBox();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -78,6 +84,9 @@
this.DrugKindColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StandColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DosageUnitColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.UseDose1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.UseDose2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.UseDose3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.UnitColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.UseRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -190,14 +199,20 @@
//
// panel4
//
+ this.panel4.Controls.Add(this.txtUseDose3);
+ this.panel4.Controls.Add(this.txtUseDose2);
+ this.panel4.Controls.Add(this.txtUseDose1);
this.panel4.Controls.Add(this.txtUseRate);
this.panel4.Controls.Add(this.label6);
this.panel4.Controls.Add(this.label4);
this.panel4.Controls.Add(this.txtUnit);
this.panel4.Controls.Add(this.label2);
this.panel4.Controls.Add(this.txtChannel);
+ this.panel4.Controls.Add(this.label9);
this.panel4.Controls.Add(this.label5);
+ this.panel4.Controls.Add(this.label8);
this.panel4.Controls.Add(this.cboDosageUnit);
+ this.panel4.Controls.Add(this.label7);
this.panel4.Controls.Add(this.label1);
this.panel4.Controls.Add(this.txtStand);
this.panel4.Controls.Add(this.label11);
@@ -214,12 +229,12 @@
this.panel4.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(691, 185);
+ this.panel4.Size = new System.Drawing.Size(691, 179);
this.panel4.TabIndex = 0;
//
// txtUseRate
//
- this.txtUseRate.Location = new System.Drawing.Point(484, 106);
+ this.txtUseRate.Location = new System.Drawing.Point(484, 129);
this.txtUseRate.Name = "txtUseRate";
this.txtUseRate.Size = new System.Drawing.Size(45, 23);
this.txtUseRate.TabIndex = 563;
@@ -227,7 +242,7 @@
// label6
//
this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(431, 108);
+ this.label6.Location = new System.Drawing.Point(431, 132);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(35, 14);
this.label6.TabIndex = 562;
@@ -236,14 +251,14 @@
// label4
//
this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(485, 104);
+ this.label4.Location = new System.Drawing.Point(485, 129);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(0, 14);
this.label4.TabIndex = 561;
//
// txtUnit
//
- this.txtUnit.Location = new System.Drawing.Point(287, 76);
+ this.txtUnit.Location = new System.Drawing.Point(287, 73);
this.txtUnit.Name = "txtUnit";
this.txtUnit.Size = new System.Drawing.Size(123, 23);
this.txtUnit.TabIndex = 560;
@@ -251,16 +266,33 @@
// label2
//
this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(246, 80);
+ this.label2.Location = new System.Drawing.Point(246, 77);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(35, 14);
this.label2.TabIndex = 559;
this.label2.Text = "单位";
//
+ // txtChannel
+ //
+ this.txtChannel.FormattingEnabled = true;
+ this.txtChannel.Location = new System.Drawing.Point(484, 73);
+ this.txtChannel.Name = "txtChannel";
+ this.txtChannel.Size = new System.Drawing.Size(121, 22);
+ this.txtChannel.TabIndex = 558;
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(431, 77);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(35, 14);
+ this.label5.TabIndex = 557;
+ this.label5.Text = "途径";
+ //
// cboDosageUnit
//
this.cboDosageUnit.FormattingEnabled = true;
- this.cboDosageUnit.Location = new System.Drawing.Point(102, 76);
+ this.cboDosageUnit.Location = new System.Drawing.Point(102, 72);
this.cboDosageUnit.Name = "cboDosageUnit";
this.cboDosageUnit.Size = new System.Drawing.Size(121, 22);
this.cboDosageUnit.TabIndex = 558;
@@ -268,7 +300,7 @@
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(31, 80);
+ this.label1.Location = new System.Drawing.Point(31, 78);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(63, 14);
this.label1.TabIndex = 557;
@@ -276,7 +308,7 @@
//
// txtStand
//
- this.txtStand.Location = new System.Drawing.Point(287, 46);
+ this.txtStand.Location = new System.Drawing.Point(287, 43);
this.txtStand.Name = "txtStand";
this.txtStand.Size = new System.Drawing.Size(123, 23);
this.txtStand.TabIndex = 554;
@@ -284,7 +316,7 @@
// label11
//
this.label11.AutoSize = true;
- this.label11.Location = new System.Drawing.Point(246, 52);
+ this.label11.Location = new System.Drawing.Point(246, 49);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(35, 14);
this.label11.TabIndex = 553;
@@ -316,7 +348,7 @@
"精神II类",
"普通药",
"血液制品"});
- this.cboDrugKind.Location = new System.Drawing.Point(102, 46);
+ this.cboDrugKind.Location = new System.Drawing.Point(102, 44);
this.cboDrugKind.Name = "cboDrugKind";
this.cboDrugKind.Size = new System.Drawing.Size(121, 22);
this.cboDrugKind.TabIndex = 550;
@@ -324,13 +356,21 @@
// chkIsValid
//
this.chkIsValid.AutoSize = true;
- this.chkIsValid.Location = new System.Drawing.Point(549, 106);
+ this.chkIsValid.Location = new System.Drawing.Point(549, 132);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 549;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
+ // txtRemark
+ //
+ this.txtRemark.Location = new System.Drawing.Point(102, 129);
+ this.txtRemark.Name = "txtRemark";
+ this.txtRemark.Size = new System.Drawing.Size(308, 23);
+ this.txtRemark.TabIndex = 548;
+ this.txtRemark.TextChanged += new System.EventHandler(this.txtName_TextChanged);
+ //
// txtName
//
this.txtName.Location = new System.Drawing.Point(102, 15);
@@ -339,10 +379,19 @@
this.txtName.TabIndex = 548;
this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged);
//
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(31, 132);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(63, 14);
+ this.label3.TabIndex = 546;
+ this.label3.Text = "药品备注";
+ //
// label13
//
this.label13.AutoSize = true;
- this.label13.Location = new System.Drawing.Point(31, 52);
+ this.label13.Location = new System.Drawing.Point(31, 51);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(63, 14);
this.label13.TabIndex = 547;
@@ -369,9 +418,9 @@
//
this.panel5.Controls.Add(this.dgv);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel5.Location = new System.Drawing.Point(0, 185);
+ this.panel5.Location = new System.Drawing.Point(0, 179);
this.panel5.Name = "panel5";
- this.panel5.Size = new System.Drawing.Size(691, 242);
+ this.panel5.Size = new System.Drawing.Size(691, 248);
this.panel5.TabIndex = 1;
//
// dgv
@@ -387,6 +436,9 @@
this.DrugKindColumn,
this.StandColumn,
this.DosageUnitColumn,
+ this.UseDose1,
+ this.UseDose2,
+ this.UseDose3,
this.UnitColumn,
this.UseRate,
this.Remark,
@@ -398,7 +450,7 @@
this.dgv.RowHeadersVisible = false;
this.dgv.RowTemplate.Height = 23;
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dgv.Size = new System.Drawing.Size(691, 242);
+ this.dgv.Size = new System.Drawing.Size(691, 248);
this.dgv.TabIndex = 1;
//
// panel3
@@ -417,27 +469,27 @@
this.treeView1.Font = new System.Drawing.Font("宋体", 11F);
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
- treeNode1.Name = "麻醉药";
- treeNode1.Text = "麻醉药";
- treeNode1.ToolTipText = "麻醉药";
- treeNode2.Name = "精神I类";
- treeNode2.Text = "精神I类";
- treeNode2.ToolTipText = "精神I类";
- treeNode3.Name = "精神II类";
- treeNode3.Text = "精神II类";
- treeNode3.ToolTipText = "精神II类";
- treeNode4.Name = "普通药";
- treeNode4.Text = "普通药";
- treeNode4.ToolTipText = "普通药";
- treeNode5.Name = "血液制品";
- treeNode5.Text = "血液制品";
- treeNode5.ToolTipText = "血液制品";
+ treeNode6.Name = "麻醉药";
+ treeNode6.Text = "麻醉药";
+ treeNode6.ToolTipText = "麻醉药";
+ treeNode7.Name = "精神I类";
+ treeNode7.Text = "精神I类";
+ treeNode7.ToolTipText = "精神I类";
+ treeNode8.Name = "精神II类";
+ treeNode8.Text = "精神II类";
+ treeNode8.ToolTipText = "精神II类";
+ treeNode9.Name = "普通药";
+ treeNode9.Text = "普通药";
+ treeNode9.ToolTipText = "普通药";
+ treeNode10.Name = "血液制品";
+ treeNode10.Text = "血液制品";
+ treeNode10.ToolTipText = "血液制品";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
- treeNode1,
- treeNode2,
- treeNode3,
- treeNode4,
- treeNode5});
+ treeNode6,
+ treeNode7,
+ treeNode8,
+ treeNode9,
+ treeNode10});
this.treeView1.Size = new System.Drawing.Size(181, 427);
this.treeView1.TabIndex = 0;
this.treeView1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.treeView1_MouseDoubleClick);
@@ -460,39 +512,53 @@
this.panel6.Size = new System.Drawing.Size(872, 47);
this.panel6.TabIndex = 9;
//
- // label3
+ // txtUseDose1
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(31, 108);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(63, 14);
- this.label3.TabIndex = 546;
- this.label3.Text = "药品备注";
+ this.txtUseDose1.Location = new System.Drawing.Point(102, 100);
+ this.txtUseDose1.Name = "txtUseDose1";
+ this.txtUseDose1.Size = new System.Drawing.Size(80, 23);
+ this.txtUseDose1.TabIndex = 564;
//
- // txtRemark
+ // label7
//
- this.txtRemark.Location = new System.Drawing.Point(102, 106);
- this.txtRemark.Name = "txtRemark";
- this.txtRemark.Size = new System.Drawing.Size(308, 23);
- this.txtRemark.TabIndex = 548;
- this.txtRemark.TextChanged += new System.EventHandler(this.txtName_TextChanged);
+ this.label7.AutoSize = true;
+ this.label7.Location = new System.Drawing.Point(31, 105);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(63, 14);
+ this.label7.TabIndex = 557;
+ this.label7.Text = "常用剂量";
//
- // label5
+ // label8
//
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(431, 80);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(35, 14);
- this.label5.TabIndex = 557;
- this.label5.Text = "途径";
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(215, 105);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(70, 14);
+ this.label8.TabIndex = 557;
+ this.label8.Text = "常用剂量2";
//
- // txtChannel
+ // txtUseDose2
//
- this.txtChannel.FormattingEnabled = true;
- this.txtChannel.Location = new System.Drawing.Point(484, 76);
- this.txtChannel.Name = "txtChannel";
- this.txtChannel.Size = new System.Drawing.Size(121, 22);
- this.txtChannel.TabIndex = 558;
+ this.txtUseDose2.Location = new System.Drawing.Point(290, 100);
+ this.txtUseDose2.Name = "txtUseDose2";
+ this.txtUseDose2.Size = new System.Drawing.Size(80, 23);
+ this.txtUseDose2.TabIndex = 564;
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Location = new System.Drawing.Point(408, 105);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(70, 14);
+ this.label9.TabIndex = 557;
+ this.label9.Text = "常用剂量3";
+ //
+ // txtUseDose3
+ //
+ this.txtUseDose3.Location = new System.Drawing.Point(485, 100);
+ this.txtUseDose3.Name = "txtUseDose3";
+ this.txtUseDose3.Size = new System.Drawing.Size(80, 23);
+ this.txtUseDose3.TabIndex = 564;
//
// Id
//
@@ -508,6 +574,7 @@
this.Code.DataPropertyName = "Code";
this.Code.HeaderText = "编码";
this.Code.Name = "Code";
+ this.Code.Width = 80;
//
// NameColumn
//
@@ -544,18 +611,41 @@
this.DosageUnitColumn.HeaderText = "剂量单位";
this.DosageUnitColumn.Name = "DosageUnitColumn";
//
+ // UseDose1
+ //
+ this.UseDose1.DataPropertyName = "UseDose1";
+ this.UseDose1.HeaderText = "常用剂量1";
+ this.UseDose1.Name = "UseDose1";
+ this.UseDose1.Width = 70;
+ //
+ // UseDose2
+ //
+ this.UseDose2.DataPropertyName = "UseDose2";
+ this.UseDose2.HeaderText = "常用剂量2";
+ this.UseDose2.Name = "UseDose2";
+ this.UseDose2.Width = 70;
+ //
+ // UseDose3
+ //
+ this.UseDose3.DataPropertyName = "UseDose3";
+ this.UseDose3.HeaderText = "常用剂量3";
+ this.UseDose3.Name = "UseDose3";
+ this.UseDose3.Width = 70;
+ //
// UnitColumn
//
this.UnitColumn.DataPropertyName = "Unit";
this.UnitColumn.HeaderText = "单位";
this.UnitColumn.Name = "UnitColumn";
this.UnitColumn.ReadOnly = true;
+ this.UnitColumn.Width = 80;
//
// UseRate
//
this.UseRate.DataPropertyName = "UseRate";
this.UseRate.HeaderText = "频次";
this.UseRate.Name = "UseRate";
+ this.UseRate.Width = 80;
//
// Remark
//
@@ -644,6 +734,12 @@
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtRemark;
private System.Windows.Forms.Label label3;
+ private AIMS.OremrUserControl.NumTextBox txtUseDose3;
+ private AIMS.OremrUserControl.NumTextBox txtUseDose2;
+ private AIMS.OremrUserControl.NumTextBox txtUseDose1;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label7;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn Code;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
@@ -651,6 +747,9 @@
private System.Windows.Forms.DataGridViewTextBoxColumn DrugKindColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn StandColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DosageUnitColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn UseDose1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn UseDose2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn UseDose3;
private System.Windows.Forms.DataGridViewTextBoxColumn UnitColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn UseRate;
private System.Windows.Forms.DataGridViewTextBoxColumn Remark;
diff --git a/AIMS/DataDictionary/frmDrugs.cs b/AIMS/DataDictionary/frmDrugs.cs
index 4e40194..f67d21d 100644
--- a/AIMS/DataDictionary/frmDrugs.cs
+++ b/AIMS/DataDictionary/frmDrugs.cs
@@ -65,6 +65,9 @@ namespace DataDictionary.UI
txtUseRate.Text = dgv.CurrentRow.Cells["UseRate"].Value.ToString();
txtRemark.Text = dgv.CurrentRow.Cells["Remark"].Value.ToString();
txtChannel.Text = dgv.CurrentRow.Cells["Channel"].Value.ToString();
+ txtUseDose1.Text = dgv.CurrentRow.Cells["UseDose1"].Value.ToString();
+ txtUseDose2.Text = dgv.CurrentRow.Cells["UseDose2"].Value.ToString();
+ txtUseDose3.Text = dgv.CurrentRow.Cells["UseDose3"].Value.ToString();
if (dgv.CurrentRow.Cells["IsValidColumn"].Value.ToString() == "有效")
{
@@ -108,6 +111,9 @@ namespace DataDictionary.UI
DrugsObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
DrugsObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
+ DrugsObj.UseDose1 = txtUseDose1.Text.Trim();
+ DrugsObj.UseDose2 = txtUseDose2.Text.Trim();
+ DrugsObj.UseDose3 = txtUseDose3.Text.Trim();
if (chkIsValid.Checked)
{
DrugsObj.IsValid = 1;
@@ -135,6 +141,9 @@ namespace DataDictionary.UI
dgv.CurrentRow.Cells["HelpCodeColumn"].Value = txtHelpCode.Text;
dgv.CurrentRow.Cells["UseRate"].Value = txtUseRate.Text;
dgv.CurrentRow.Cells["Remark"].Value = txtRemark.Text;
+ dgv.CurrentRow.Cells["UseDose1"].Value = txtUseDose1.Text;
+ dgv.CurrentRow.Cells["UseDose2"].Value = txtUseDose2.Text;
+ dgv.CurrentRow.Cells["UseDose3"].Value = txtUseDose3.Text;
dgv.CurrentRow.Cells["Channel"].Value = txtChannel.Text;
dgv.CurrentRow.Cells["IsValidColumn"].Value = chkIsValid.Checked == true ? "有效" : "无效";
AIMSExtension.PublicMethod.EnabledControl(panel4, false);
@@ -168,6 +177,9 @@ namespace DataDictionary.UI
dt.Rows[i]["DrugKind"].ToString(),
dt.Rows[i]["Stand"].ToString(),
dt.Rows[i]["DosageUnit"].ToString(),
+ dt.Rows[i]["UseDose1"].ToString(),
+ dt.Rows[i]["UseDose2"].ToString(),
+ dt.Rows[i]["UseDose3"].ToString(),
dt.Rows[i]["Unit"].ToString(),
dt.Rows[i]["UseRate"].ToString(),
dt.Rows[i]["Remark"].ToString(),
diff --git a/AIMS/DataDictionary/frmDrugs.resx b/AIMS/DataDictionary/frmDrugs.resx
index 3f48197..ec652ef 100644
--- a/AIMS/DataDictionary/frmDrugs.resx
+++ b/AIMS/DataDictionary/frmDrugs.resx
@@ -141,6 +141,15 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
True
diff --git a/AIMS/DataDictionary/frmOperationRoom.cs b/AIMS/DataDictionary/frmOperationRoom.cs
index ba81820..8fd5ad3 100644
--- a/AIMS/DataDictionary/frmOperationRoom.cs
+++ b/AIMS/DataDictionary/frmOperationRoom.cs
@@ -175,7 +175,7 @@ namespace DataDictionary.UI
}
if (num > 0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
PublicMethod.EnabledControl(panel1, false);
PublicMethod.ClearControl(panel1);
list = BOperationRoom.Select(" order by Site,[RoomOrder] asc", new ParameterList(), RecursiveType.None, 0); ;
diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs
index 8e8530f..320b262 100644
--- a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs
+++ b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs
@@ -852,6 +852,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
if (templateManage != null)
templateManage.SetPYL();
}
+ int lastpanel82VerticalScrollValue = -1;//为鼠标滚动事件提供一个静态变量,用来存储上次滚动后的VerticalScroll.Value
private void panel82_MouseWheel(object sender, MouseEventArgs e)
{
if (templateManage2 != null)
@@ -1096,7 +1097,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private void FrmFactDrug_DrugsParam()
{
- plRefresh_Click(null, null);
+ plRefresh_Click(null, null);
}
private void btnAddEvents_Click(object sender, EventArgs e)
{
@@ -1122,7 +1123,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
frmFactOutputLiquids._record = _record;
frmFactOutputLiquids.zgcAnaesRecord = zgcAnaesRecord;
frmFactOutputLiquids.OutputLiquidTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
- frmFactOutputLiquids.OutParam += FrmFactOutputLiquids_OutParam;
+ frmFactOutputLiquids.OutParam += FrmFactOutputLiquids_OutParam;
frmFactOutputLiquids.ShowDialog();
}
else
@@ -1132,7 +1133,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
}
private void FrmFactOutputLiquids_OutParam()
- {
+ {
plRefresh_Click(null, null);
}
@@ -1305,7 +1306,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
if (LastMonitorDataTime != null && LastMonitorDataTime.Value.ToString("yyyy-MM-dd HH:mm") == dtTime.ToString("yyyy-MM-dd HH:mm")) return;
if (LastMonitorDataTime != null && LastMonitorDataTime.Value > dtTime) return;
try
- {
+ {
LastMonitorDataTime = dtTime;
DateTime InsertTime = Convert.ToDateTime(dtTime.ToString("yyyy-MM-dd HH:mm:00.000"));
int date = 0;
@@ -1315,7 +1316,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
{
string key = addPP.Name;
string value = addPP.Enname;
- if (addPP.IsValid == false) continue;
+ if (addPP.IsValid == false) continue;
if (key == "机械通气") continue;
if (value == null || value == "") continue;
@@ -1568,7 +1569,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
timerGetTextCollectorData.Stop();
}
}
-
+
#endregion
@@ -1844,6 +1845,11 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
templateManage2.OpeRecord = templateManage.OpeRecord;
templateManage.BindOperationRecordValueAll(templateManage.OpeRecord);
templateManage2.BindOperationRecordValueAll(templateManage2.OpeRecord);
+
+ foreach (AreaManageBase area in templateManage2.ManageList)
+ {
+ area.MouseWheelParam += Area_MouseWheelParam;
+ }
reDrawEvent();
templateManage.Bind();
templateManage2.Bind();
@@ -1854,6 +1860,30 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
}
}
+ private void Area_MouseWheelParam(object sender, MouseEventArgs e)
+ {
+ //if (!(panel82.VerticalScroll.Visible == false || (panel82.VerticalScroll.Value == 0 && e.Delta > 0) || (panel82.VerticalScroll.Value == lastpanel82VerticalScrollValue && e.Delta < 0)))
+ //{
+ string value = e.Delta.ToString();
+ if (value.Contains("-"))
+ {
+ value = value.Replace("-", "");
+ panel82.VerticalScroll.Value += int.Parse(value);
+ }
+ else
+ {
+ if (panel82.VerticalScroll.Value - e.Delta < 0)
+ panel82.VerticalScroll.Value = 0;
+ else
+ panel82.VerticalScroll.Value -= e.Delta;
+ }
+
+ panel82.Refresh();
+ panel82.Invalidate();
+ panel82.Update();
+ //}
+ }
+
private void DrawEvent()
{
reDrawEvent();
diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnaseDataQualityRecord.cs b/AIMS/OperationDoing/AnasRecordBill/frmAnaseDataQualityRecord.cs
index 151a341..cef8f7b 100644
--- a/AIMS/OperationDoing/AnasRecordBill/frmAnaseDataQualityRecord.cs
+++ b/AIMS/OperationDoing/AnasRecordBill/frmAnaseDataQualityRecord.cs
@@ -1,4 +1,5 @@
using AIMSBLL;
+using AIMSExtension;
using DrawGraph;
using System;
using System.Collections.Generic;
@@ -397,7 +398,7 @@ namespace AIMS.PublicUI.UI
}
}
BAnaseDataQualityRecord.UpdateAnaseDataQualityRecord(_record.AnaseDataQualityRecordList, Convert.ToInt32(_record.Id));
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
this.Close();
}
public void SetDefultNo()
diff --git a/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.Designer.cs b/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.Designer.cs
index 5dd7504..b650557 100644
--- a/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.Designer.cs
+++ b/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.Designer.cs
@@ -46,105 +46,11 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFactDrugNew));
this.panel1 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.tabDrugs = new DevComponents.DotNetBar.SuperTabControl();
- this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
- this.dgvDrugsKJ = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.dataGridViewImageColumn4 = new System.Windows.Forms.DataGridViewImageColumn();
- this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn36 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn13 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.DensityUnit = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column10 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Column13 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn14 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn15 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn16 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn32 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn34 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn35 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.P5 = new DevComponents.DotNetBar.SuperTabItem();
- this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel();
- this.dgvDrugsSZ = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
- this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboEditBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn4 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn23 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn24 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewDateTimeInputColumn3 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewDateTimeInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.P2 = new DevComponents.DotNetBar.SuperTabItem();
- this.superTabControlPanel7 = new DevComponents.DotNetBar.SuperTabControlPanel();
- this.dgvDrugsYD = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.dataGridViewImageColumn3 = new System.Windows.Forms.DataGridViewImageColumn();
- this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboEditBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn9 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn10 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn11 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn12 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn27 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn28 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewDateTimeInputColumn7 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewDateTimeInputColumn8 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.P4 = new DevComponents.DotNetBar.SuperTabItem();
- this.superTabControlPanel6 = new DevComponents.DotNetBar.SuperTabControlPanel();
- this.dgvDrugsSH = new DevComponents.DotNetBar.Controls.DataGridViewX();
- this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
- this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboEditBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn5 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn6 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn7 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewComboBoxColumn8 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn25 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewComboBoxColumn26 = new System.Windows.Forms.DataGridViewComboBoxColumn();
- this.dataGridViewDateTimeInputColumn5 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewDateTimeInputColumn6 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
- this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.P3 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvDrugsSQ = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewImageColumn5 = new System.Windows.Forms.DataGridViewImageColumn();
@@ -166,6 +72,48 @@
this.dataGridViewDateTimeInputColumn2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.P1 = new DevComponents.DotNetBar.SuperTabItem();
+ this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.dgvDrugsSZ = new DevComponents.DotNetBar.Controls.DataGridViewX();
+ this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboEditBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn4 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewComboBoxColumn23 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewComboBoxColumn24 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewDateTimeInputColumn3 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
+ this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewDateTimeInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
+ this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.P2 = new DevComponents.DotNetBar.SuperTabItem();
+ this.superTabControlPanel6 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.dgvDrugsSH = new DevComponents.DotNetBar.Controls.DataGridViewX();
+ this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
+ this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboEditBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn5 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn6 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn7 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewComboBoxColumn8 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewComboBoxColumn25 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewComboBoxColumn26 = new System.Windows.Forms.DataGridViewComboBoxColumn();
+ this.dataGridViewDateTimeInputColumn5 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
+ this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewDateTimeInputColumn6 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
+ this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.P3 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panelleft = new System.Windows.Forms.Panel();
@@ -187,9 +135,6 @@
this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem();
this.dgvYP = new System.Windows.Forms.DataGridView();
- this.dgvDosage = new System.Windows.Forms.DataGridView();
- this.Dosage = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TypeId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -202,20 +147,19 @@
this.Factroy = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Channel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dgvDosage = new System.Windows.Forms.DataGridView();
+ this.Dosage = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.panel1.SuspendLayout();
this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).BeginInit();
this.tabDrugs.SuspendLayout();
- this.superTabControlPanel3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsKJ)).BeginInit();
- this.superTabControlPanel5.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).BeginInit();
- this.superTabControlPanel7.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).BeginInit();
- this.superTabControlPanel6.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).BeginInit();
this.superTabControlPanel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).BeginInit();
+ this.superTabControlPanel5.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).BeginInit();
+ this.superTabControlPanel6.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).BeginInit();
this.panelleft.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TabSelDrugs)).BeginInit();
this.TabSelDrugs.SuspendLayout();
@@ -241,9 +185,9 @@
//
this.panel5.Controls.Add(this.tabDrugs);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel5.Location = new System.Drawing.Point(267, 42);
+ this.panel5.Location = new System.Drawing.Point(330, 42);
this.panel5.Name = "panel5";
- this.panel5.Size = new System.Drawing.Size(1091, 635);
+ this.panel5.Size = new System.Drawing.Size(1028, 635);
this.panel5.TabIndex = 2;
//
// tabDrugs
@@ -264,11 +208,9 @@
this.tabDrugs.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.tabDrugs.ControlBox.MenuBox,
this.tabDrugs.ControlBox.CloseBox});
- this.tabDrugs.Controls.Add(this.superTabControlPanel3);
- this.tabDrugs.Controls.Add(this.superTabControlPanel5);
- this.tabDrugs.Controls.Add(this.superTabControlPanel7);
- this.tabDrugs.Controls.Add(this.superTabControlPanel6);
this.tabDrugs.Controls.Add(this.superTabControlPanel4);
+ this.tabDrugs.Controls.Add(this.superTabControlPanel5);
+ this.tabDrugs.Controls.Add(this.superTabControlPanel6);
this.tabDrugs.Controls.Add(this.superTabControlPanel1);
this.tabDrugs.Controls.Add(this.superTabControlPanel2);
this.tabDrugs.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -278,37 +220,36 @@
this.tabDrugs.ReorderTabsEnabled = true;
this.tabDrugs.SelectedTabFont = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.tabDrugs.SelectedTabIndex = 0;
- this.tabDrugs.Size = new System.Drawing.Size(1091, 635);
+ this.tabDrugs.Size = new System.Drawing.Size(1028, 635);
this.tabDrugs.TabFont = new System.Drawing.Font("微软雅黑", 10.5F);
this.tabDrugs.TabIndex = 464;
this.tabDrugs.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
- this.P5,
this.P1,
this.P2,
- this.P3,
- this.P4});
+ this.P3});
this.tabDrugs.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.Office2010BackstageBlue;
this.tabDrugs.SelectedTabChanged += new System.EventHandler(this.tabDrugs_SelectedTabChanged);
//
- // superTabControlPanel3
+ // superTabControlPanel4
//
- this.superTabControlPanel3.Controls.Add(this.dgvDrugsKJ);
- this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.superTabControlPanel3.Location = new System.Drawing.Point(0, 31);
- this.superTabControlPanel3.Name = "superTabControlPanel3";
- this.superTabControlPanel3.Size = new System.Drawing.Size(1091, 604);
- this.superTabControlPanel3.TabIndex = 0;
- this.superTabControlPanel3.TabItem = this.P5;
+ this.superTabControlPanel4.Controls.Add(this.dgvDrugsSQ);
+ this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel4.Location = new System.Drawing.Point(0, 31);
+ this.superTabControlPanel4.Name = "superTabControlPanel4";
+ this.superTabControlPanel4.Size = new System.Drawing.Size(1028, 604);
+ this.superTabControlPanel4.TabIndex = 0;
+ this.superTabControlPanel4.TabItem = this.P1;
+ this.superTabControlPanel4.Visible = false;
//
- // dgvDrugsKJ
+ // dgvDrugsSQ
//
- this.dgvDrugsKJ.AllowUserToAddRows = false;
- this.dgvDrugsKJ.AllowUserToResizeColumns = false;
- this.dgvDrugsKJ.AllowUserToResizeRows = false;
+ this.dgvDrugsSQ.AllowUserToAddRows = false;
+ this.dgvDrugsSQ.AllowUserToResizeColumns = false;
+ this.dgvDrugsSQ.AllowUserToResizeRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
- this.dgvDrugsKJ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
- this.dgvDrugsKJ.BackgroundColor = System.Drawing.Color.White;
- this.dgvDrugsKJ.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.dgvDrugsSQ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+ this.dgvDrugsSQ.BackgroundColor = System.Drawing.Color.White;
+ this.dgvDrugsSQ.BorderStyle = System.Windows.Forms.BorderStyle.None;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -316,27 +257,27 @@
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsKJ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
- this.dgvDrugsKJ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvDrugsKJ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.dataGridViewImageColumn4,
- this.dataGridViewTextBoxColumn28,
- this.dataGridViewTextBoxColumn29,
- this.dataGridViewTextBoxColumn30,
- this.dataGridViewTextBoxColumn36,
- this.dataGridViewComboBoxColumn13,
- this.DensityUnit,
- this.Column10,
- this.Column1,
- this.Column13,
- this.dataGridViewTextBoxColumn31,
- this.dataGridViewComboBoxColumn14,
- this.dataGridViewComboBoxColumn15,
- this.dataGridViewComboBoxColumn16,
- this.dataGridViewTextBoxColumn32,
- this.dataGridViewTextBoxColumn33,
- this.dataGridViewTextBoxColumn34,
- this.dataGridViewTextBoxColumn35});
+ this.dgvDrugsSQ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+ this.dgvDrugsSQ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvDrugsSQ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.dataGridViewImageColumn5,
+ this.dataGridViewTextBoxColumn37,
+ this.dataGridViewTextBoxColumn38,
+ this.dataGridViewTextBoxColumn39,
+ this.dataGridViewComboEditBoxColumn1,
+ this.dataGridViewComboBoxColumn17,
+ this.dataGridViewTextBoxColumn40,
+ this.dataGridViewComboBoxColumn18,
+ this.dataGridViewTextBoxColumn41,
+ this.dataGridViewComboBoxColumn19,
+ this.dataGridViewTextBoxColumn42,
+ this.dataGridViewComboBoxColumn20,
+ this.dataGridViewComboBoxColumn21,
+ this.dataGridViewComboBoxColumn22,
+ this.dataGridViewDateTimeInputColumn1,
+ this.dataGridViewTextBoxColumn43,
+ this.dataGridViewDateTimeInputColumn2,
+ this.dataGridViewTextBoxColumn44});
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -344,14 +285,15 @@
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvDrugsKJ.DefaultCellStyle = dataGridViewCellStyle4;
- this.dgvDrugsKJ.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvDrugsKJ.EnableHeadersVisualStyles = false;
- this.dgvDrugsKJ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dgvDrugsKJ.Location = new System.Drawing.Point(0, 0);
- this.dgvDrugsKJ.Margin = new System.Windows.Forms.Padding(0);
- this.dgvDrugsKJ.MultiSelect = false;
- this.dgvDrugsKJ.Name = "dgvDrugsKJ";
+ this.dgvDrugsSQ.DefaultCellStyle = dataGridViewCellStyle4;
+ this.dgvDrugsSQ.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvDrugsSQ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+ this.dgvDrugsSQ.EnableHeadersVisualStyles = false;
+ this.dgvDrugsSQ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
+ this.dgvDrugsSQ.Location = new System.Drawing.Point(0, 0);
+ this.dgvDrugsSQ.Margin = new System.Windows.Forms.Padding(0);
+ this.dgvDrugsSQ.MultiSelect = false;
+ this.dgvDrugsSQ.Name = "dgvDrugsSQ";
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -359,230 +301,230 @@
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsKJ.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
- this.dgvDrugsKJ.RowHeadersVisible = false;
- this.dgvDrugsKJ.RowTemplate.Height = 25;
- this.dgvDrugsKJ.ShowCellErrors = false;
- this.dgvDrugsKJ.ShowCellToolTips = false;
- this.dgvDrugsKJ.Size = new System.Drawing.Size(1091, 604);
- this.dgvDrugsKJ.TabIndex = 15;
- this.dgvDrugsKJ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
+ this.dgvDrugsSQ.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
+ this.dgvDrugsSQ.RowHeadersVisible = false;
+ this.dgvDrugsSQ.RowTemplate.Height = 25;
+ this.dgvDrugsSQ.ShowCellErrors = false;
+ this.dgvDrugsSQ.ShowCellToolTips = false;
+ this.dgvDrugsSQ.Size = new System.Drawing.Size(1028, 604);
+ this.dgvDrugsSQ.TabIndex = 16;
+ this.dgvDrugsSQ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
//
- // dataGridViewImageColumn4
+ // dataGridViewImageColumn5
//
- this.dataGridViewImageColumn4.HeaderText = " ";
- this.dataGridViewImageColumn4.Image = global::AIMS.Properties.Resources.SYSCRL;
- this.dataGridViewImageColumn4.Name = "dataGridViewImageColumn4";
- this.dataGridViewImageColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewImageColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
- this.dataGridViewImageColumn4.Width = 30;
+ this.dataGridViewImageColumn5.HeaderText = " ";
+ this.dataGridViewImageColumn5.Image = global::AIMS.Properties.Resources.SYSCRL;
+ this.dataGridViewImageColumn5.Name = "dataGridViewImageColumn5";
+ this.dataGridViewImageColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewImageColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
+ this.dataGridViewImageColumn5.Width = 30;
//
- // dataGridViewTextBoxColumn28
+ // dataGridViewTextBoxColumn37
//
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red;
- this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle3;
- this.dataGridViewTextBoxColumn28.HeaderText = "组";
- this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
- this.dataGridViewTextBoxColumn28.Width = 30;
+ this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle3;
+ this.dataGridViewTextBoxColumn37.HeaderText = "组";
+ this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37";
+ this.dataGridViewTextBoxColumn37.Width = 30;
//
- // dataGridViewTextBoxColumn29
+ // dataGridViewTextBoxColumn38
//
- this.dataGridViewTextBoxColumn29.HeaderText = "类型";
- this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29";
- this.dataGridViewTextBoxColumn29.Visible = false;
- this.dataGridViewTextBoxColumn29.Width = 60;
+ this.dataGridViewTextBoxColumn38.HeaderText = "类型";
+ this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38";
+ this.dataGridViewTextBoxColumn38.Visible = false;
+ this.dataGridViewTextBoxColumn38.Width = 60;
//
- // dataGridViewTextBoxColumn30
+ // dataGridViewTextBoxColumn39
//
- this.dataGridViewTextBoxColumn30.HeaderText = "名称";
- this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30";
- this.dataGridViewTextBoxColumn30.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn30.Width = 160;
+ this.dataGridViewTextBoxColumn39.HeaderText = "名称";
+ this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39";
+ this.dataGridViewTextBoxColumn39.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn39.Width = 160;
//
- // dataGridViewTextBoxColumn36
+ // dataGridViewComboEditBoxColumn1
//
- this.dataGridViewTextBoxColumn36.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.dataGridViewTextBoxColumn36.HeaderText = "备注";
- this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36";
- this.dataGridViewTextBoxColumn36.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewComboEditBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.dataGridViewComboEditBoxColumn1.HeaderText = "备注";
+ this.dataGridViewComboEditBoxColumn1.Name = "dataGridViewComboEditBoxColumn1";
+ this.dataGridViewComboEditBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
- // dataGridViewComboBoxColumn13
+ // dataGridViewComboBoxColumn17
//
- this.dataGridViewComboBoxColumn13.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn13.HeaderText = "途径";
- this.dataGridViewComboBoxColumn13.Name = "dataGridViewComboBoxColumn13";
- this.dataGridViewComboBoxColumn13.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn13.Width = 85;
+ this.dataGridViewComboBoxColumn17.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
+ this.dataGridViewComboBoxColumn17.HeaderText = "途径";
+ this.dataGridViewComboBoxColumn17.Name = "dataGridViewComboBoxColumn17";
+ this.dataGridViewComboBoxColumn17.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewComboBoxColumn17.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewComboBoxColumn17.Width = 85;
//
- // DensityUnit
+ // dataGridViewTextBoxColumn40
//
- this.DensityUnit.HeaderText = "浓度";
- this.DensityUnit.Name = "DensityUnit";
- this.DensityUnit.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.DensityUnit.Width = 45;
+ this.dataGridViewTextBoxColumn40.HeaderText = "浓度";
+ this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40";
+ this.dataGridViewTextBoxColumn40.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn40.Width = 45;
//
- // Column10
+ // dataGridViewComboBoxColumn18
//
- this.Column10.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.Column10.HeaderText = "浓度单位";
- this.Column10.Name = "Column10";
- this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.Column10.Width = 75;
+ this.dataGridViewComboBoxColumn18.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
+ this.dataGridViewComboBoxColumn18.HeaderText = "浓度单位";
+ this.dataGridViewComboBoxColumn18.Name = "dataGridViewComboBoxColumn18";
+ this.dataGridViewComboBoxColumn18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewComboBoxColumn18.Width = 75;
//
- // Column1
+ // dataGridViewTextBoxColumn41
//
- this.Column1.HeaderText = "速度";
- this.Column1.Name = "Column1";
- this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.Column1.Width = 45;
+ this.dataGridViewTextBoxColumn41.HeaderText = "速度";
+ this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41";
+ this.dataGridViewTextBoxColumn41.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewTextBoxColumn41.Width = 45;
//
- // Column13
+ // dataGridViewComboBoxColumn19
//
- this.Column13.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.Column13.HeaderText = "速度单位";
- this.Column13.Name = "Column13";
- this.Column13.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.Column13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.Column13.Width = 85;
+ this.dataGridViewComboBoxColumn19.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
+ this.dataGridViewComboBoxColumn19.HeaderText = "速度单位";
+ this.dataGridViewComboBoxColumn19.Name = "dataGridViewComboBoxColumn19";
+ this.dataGridViewComboBoxColumn19.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewComboBoxColumn19.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewComboBoxColumn19.Width = 85;
//
- // dataGridViewTextBoxColumn31
+ // dataGridViewTextBoxColumn42
//
- this.dataGridViewTextBoxColumn31.HeaderText = "用量";
- this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
- this.dataGridViewTextBoxColumn31.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewTextBoxColumn31.Width = 60;
+ this.dataGridViewTextBoxColumn42.HeaderText = "用量";
+ this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42";
+ this.dataGridViewTextBoxColumn42.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ this.dataGridViewTextBoxColumn42.Width = 60;
//
- // dataGridViewComboBoxColumn14
+ // dataGridViewComboBoxColumn20
//
- this.dataGridViewComboBoxColumn14.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn14.HeaderText = "单位";
- this.dataGridViewComboBoxColumn14.Name = "dataGridViewComboBoxColumn14";
- this.dataGridViewComboBoxColumn14.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn14.Width = 60;
+ this.dataGridViewComboBoxColumn20.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
+ this.dataGridViewComboBoxColumn20.HeaderText = "单位";
+ this.dataGridViewComboBoxColumn20.Name = "dataGridViewComboBoxColumn20";
+ this.dataGridViewComboBoxColumn20.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewComboBoxColumn20.Width = 60;
//
- // dataGridViewComboBoxColumn15
+ // dataGridViewComboBoxColumn21
//
- this.dataGridViewComboBoxColumn15.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn15.HeaderText = "血型";
- this.dataGridViewComboBoxColumn15.Name = "dataGridViewComboBoxColumn15";
- this.dataGridViewComboBoxColumn15.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn15.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn15.Width = 45;
+ this.dataGridViewComboBoxColumn21.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
+ this.dataGridViewComboBoxColumn21.HeaderText = "血型";
+ this.dataGridViewComboBoxColumn21.Name = "dataGridViewComboBoxColumn21";
+ this.dataGridViewComboBoxColumn21.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewComboBoxColumn21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewComboBoxColumn21.Width = 45;
//
- // dataGridViewComboBoxColumn16
+ // dataGridViewComboBoxColumn22
//
- this.dataGridViewComboBoxColumn16.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn16.HeaderText = "加药方式";
- this.dataGridViewComboBoxColumn16.Name = "dataGridViewComboBoxColumn16";
- this.dataGridViewComboBoxColumn16.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn16.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn16.Visible = false;
- this.dataGridViewComboBoxColumn16.Width = 80;
+ this.dataGridViewComboBoxColumn22.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
+ this.dataGridViewComboBoxColumn22.HeaderText = "加药方式";
+ this.dataGridViewComboBoxColumn22.Name = "dataGridViewComboBoxColumn22";
+ this.dataGridViewComboBoxColumn22.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewComboBoxColumn22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.dataGridViewComboBoxColumn22.Visible = false;
+ this.dataGridViewComboBoxColumn22.Width = 80;
//
- // dataGridViewTextBoxColumn32
+ // dataGridViewDateTimeInputColumn1
//
- this.dataGridViewTextBoxColumn32.AutoAdvance = true;
+ this.dataGridViewDateTimeInputColumn1.AutoAdvance = true;
//
//
//
- this.dataGridViewTextBoxColumn32.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
- this.dataGridViewTextBoxColumn32.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
- this.dataGridViewTextBoxColumn32.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn32.BackgroundStyle.TextColor = System.Drawing.Color.Black;
- this.dataGridViewTextBoxColumn32.ButtonDropDown.Visible = true;
- this.dataGridViewTextBoxColumn32.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
- this.dataGridViewTextBoxColumn32.HeaderText = "开始时间";
- this.dataGridViewTextBoxColumn32.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
+ this.dataGridViewDateTimeInputColumn1.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
+ this.dataGridViewDateTimeInputColumn1.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
+ this.dataGridViewDateTimeInputColumn1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn1.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
+ this.dataGridViewDateTimeInputColumn1.ButtonDropDown.Visible = true;
+ this.dataGridViewDateTimeInputColumn1.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
+ this.dataGridViewDateTimeInputColumn1.HeaderText = "开始时间";
+ this.dataGridViewDateTimeInputColumn1.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
//
//
//
//
//
//
- this.dataGridViewTextBoxColumn32.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn32.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
+ this.dataGridViewDateTimeInputColumn1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
//
//
//
- this.dataGridViewTextBoxColumn32.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn32.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
- this.dataGridViewTextBoxColumn32.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
+ this.dataGridViewDateTimeInputColumn1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn1.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
+ this.dataGridViewDateTimeInputColumn1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
- this.dataGridViewTextBoxColumn32.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn32.MonthCalendar.Visible = false;
- this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32";
- this.dataGridViewTextBoxColumn32.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn32.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewTextBoxColumn32.Width = 80;
+ this.dataGridViewDateTimeInputColumn1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn1.MonthCalendar.Visible = false;
+ this.dataGridViewDateTimeInputColumn1.Name = "dataGridViewDateTimeInputColumn1";
+ this.dataGridViewDateTimeInputColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewDateTimeInputColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ this.dataGridViewDateTimeInputColumn1.Width = 80;
//
- // dataGridViewTextBoxColumn33
+ // dataGridViewTextBoxColumn43
//
- this.dataGridViewTextBoxColumn33.HeaderText = "持续";
- this.dataGridViewTextBoxColumn33.Name = "dataGridViewTextBoxColumn33";
- this.dataGridViewTextBoxColumn33.Width = 45;
+ this.dataGridViewTextBoxColumn43.HeaderText = "持续";
+ this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43";
+ this.dataGridViewTextBoxColumn43.Width = 45;
//
- // dataGridViewTextBoxColumn34
+ // dataGridViewDateTimeInputColumn2
//
- this.dataGridViewTextBoxColumn34.AutoAdvance = true;
+ this.dataGridViewDateTimeInputColumn2.AutoAdvance = true;
//
//
//
- this.dataGridViewTextBoxColumn34.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
- this.dataGridViewTextBoxColumn34.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
- this.dataGridViewTextBoxColumn34.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn34.BackgroundStyle.TextColor = System.Drawing.Color.Black;
- this.dataGridViewTextBoxColumn34.ButtonDropDown.Visible = true;
- this.dataGridViewTextBoxColumn34.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
- this.dataGridViewTextBoxColumn34.HeaderText = "结束时间";
- this.dataGridViewTextBoxColumn34.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
+ this.dataGridViewDateTimeInputColumn2.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
+ this.dataGridViewDateTimeInputColumn2.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
+ this.dataGridViewDateTimeInputColumn2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn2.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
+ this.dataGridViewDateTimeInputColumn2.ButtonDropDown.Visible = true;
+ this.dataGridViewDateTimeInputColumn2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
+ this.dataGridViewDateTimeInputColumn2.HeaderText = "结束时间";
+ this.dataGridViewDateTimeInputColumn2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
//
//
//
//
//
//
- this.dataGridViewTextBoxColumn34.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn34.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
+ this.dataGridViewDateTimeInputColumn2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
//
//
//
- this.dataGridViewTextBoxColumn34.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn34.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
- this.dataGridViewTextBoxColumn34.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
+ this.dataGridViewDateTimeInputColumn2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn2.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
+ this.dataGridViewDateTimeInputColumn2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
//
//
//
- this.dataGridViewTextBoxColumn34.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewTextBoxColumn34.MonthCalendar.Visible = false;
- this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34";
- this.dataGridViewTextBoxColumn34.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn34.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewTextBoxColumn34.Width = 80;
+ this.dataGridViewDateTimeInputColumn2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dataGridViewDateTimeInputColumn2.MonthCalendar.Visible = false;
+ this.dataGridViewDateTimeInputColumn2.Name = "dataGridViewDateTimeInputColumn2";
+ this.dataGridViewDateTimeInputColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewDateTimeInputColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ this.dataGridViewDateTimeInputColumn2.Width = 80;
//
- // dataGridViewTextBoxColumn35
+ // dataGridViewTextBoxColumn44
//
- this.dataGridViewTextBoxColumn35.HeaderText = "种类";
- this.dataGridViewTextBoxColumn35.Name = "dataGridViewTextBoxColumn35";
- this.dataGridViewTextBoxColumn35.Visible = false;
- this.dataGridViewTextBoxColumn35.Width = 50;
+ this.dataGridViewTextBoxColumn44.HeaderText = "种类";
+ this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44";
+ this.dataGridViewTextBoxColumn44.Visible = false;
+ this.dataGridViewTextBoxColumn44.Width = 50;
//
- // P5
+ // P1
//
- this.P5.AttachedControl = this.superTabControlPanel3;
- this.P5.GlobalItem = false;
- this.P5.Name = "P5";
- this.P5.Text = "术前抗菌药";
+ this.P1.AttachedControl = this.superTabControlPanel4;
+ this.P1.GlobalItem = false;
+ this.P1.Name = "P1";
+ this.P1.Text = "麻醉前用药";
//
// superTabControlPanel5
//
this.superTabControlPanel5.Controls.Add(this.dgvDrugsSZ);
this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.superTabControlPanel5.Location = new System.Drawing.Point(0, 41);
+ this.superTabControlPanel5.Location = new System.Drawing.Point(0, 31);
this.superTabControlPanel5.Name = "superTabControlPanel5";
- this.superTabControlPanel5.Size = new System.Drawing.Size(1018, 594);
+ this.superTabControlPanel5.Size = new System.Drawing.Size(1091, 604);
this.superTabControlPanel5.TabIndex = 0;
this.superTabControlPanel5.TabItem = this.P2;
this.superTabControlPanel5.Visible = false;
@@ -652,7 +594,7 @@
this.dgvDrugsSZ.RowTemplate.Height = 25;
this.dgvDrugsSZ.ShowCellErrors = false;
this.dgvDrugsSZ.ShowCellToolTips = false;
- this.dgvDrugsSZ.Size = new System.Drawing.Size(1018, 594);
+ this.dgvDrugsSZ.Size = new System.Drawing.Size(1091, 604);
this.dgvDrugsSZ.TabIndex = 16;
this.dgvDrugsSZ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
//
@@ -862,303 +804,15 @@
this.P2.AttachedControl = this.superTabControlPanel5;
this.P2.GlobalItem = false;
this.P2.Name = "P2";
- this.P2.Text = "术中用药";
- //
- // superTabControlPanel7
- //
- this.superTabControlPanel7.Controls.Add(this.dgvDrugsYD);
- this.superTabControlPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.superTabControlPanel7.Location = new System.Drawing.Point(0, 41);
- this.superTabControlPanel7.Name = "superTabControlPanel7";
- this.superTabControlPanel7.Size = new System.Drawing.Size(1018, 594);
- this.superTabControlPanel7.TabIndex = 0;
- this.superTabControlPanel7.TabItem = this.P4;
- this.superTabControlPanel7.Visible = false;
- //
- // dgvDrugsYD
- //
- this.dgvDrugsYD.AllowUserToAddRows = false;
- this.dgvDrugsYD.AllowUserToResizeColumns = false;
- this.dgvDrugsYD.AllowUserToResizeRows = false;
- dataGridViewCellStyle11.BackColor = System.Drawing.Color.MintCream;
- this.dgvDrugsYD.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
- this.dgvDrugsYD.BackgroundColor = System.Drawing.Color.White;
- this.dgvDrugsYD.BorderStyle = System.Windows.Forms.BorderStyle.None;
- dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsYD.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
- this.dgvDrugsYD.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvDrugsYD.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.dataGridViewImageColumn3,
- this.dataGridViewTextBoxColumn17,
- this.dataGridViewTextBoxColumn18,
- this.dataGridViewTextBoxColumn19,
- this.dataGridViewComboEditBoxColumn4,
- this.dataGridViewComboBoxColumn9,
- this.dataGridViewTextBoxColumn20,
- this.dataGridViewComboBoxColumn10,
- this.dataGridViewTextBoxColumn21,
- this.dataGridViewComboBoxColumn11,
- this.dataGridViewTextBoxColumn22,
- this.dataGridViewComboBoxColumn12,
- this.dataGridViewComboBoxColumn27,
- this.dataGridViewComboBoxColumn28,
- this.dataGridViewDateTimeInputColumn7,
- this.dataGridViewTextBoxColumn23,
- this.dataGridViewDateTimeInputColumn8,
- this.dataGridViewTextBoxColumn24});
- dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvDrugsYD.DefaultCellStyle = dataGridViewCellStyle14;
- this.dgvDrugsYD.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvDrugsYD.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
- this.dgvDrugsYD.EnableHeadersVisualStyles = false;
- this.dgvDrugsYD.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dgvDrugsYD.Location = new System.Drawing.Point(0, 0);
- this.dgvDrugsYD.Margin = new System.Windows.Forms.Padding(0);
- this.dgvDrugsYD.MultiSelect = false;
- this.dgvDrugsYD.Name = "dgvDrugsYD";
- dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsYD.RowHeadersDefaultCellStyle = dataGridViewCellStyle15;
- this.dgvDrugsYD.RowHeadersVisible = false;
- this.dgvDrugsYD.RowTemplate.Height = 25;
- this.dgvDrugsYD.ShowCellErrors = false;
- this.dgvDrugsYD.ShowCellToolTips = false;
- this.dgvDrugsYD.Size = new System.Drawing.Size(1018, 594);
- this.dgvDrugsYD.TabIndex = 17;
- this.dgvDrugsYD.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
- //
- // dataGridViewImageColumn3
- //
- this.dataGridViewImageColumn3.HeaderText = " ";
- this.dataGridViewImageColumn3.Image = global::AIMS.Properties.Resources.SYSCRL;
- this.dataGridViewImageColumn3.Name = "dataGridViewImageColumn3";
- this.dataGridViewImageColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewImageColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
- this.dataGridViewImageColumn3.Width = 30;
- //
- // dataGridViewTextBoxColumn17
- //
- dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Red;
- this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle13;
- this.dataGridViewTextBoxColumn17.HeaderText = "组";
- this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
- this.dataGridViewTextBoxColumn17.Width = 30;
- //
- // dataGridViewTextBoxColumn18
- //
- this.dataGridViewTextBoxColumn18.HeaderText = "类型";
- this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
- this.dataGridViewTextBoxColumn18.Visible = false;
- this.dataGridViewTextBoxColumn18.Width = 60;
- //
- // dataGridViewTextBoxColumn19
- //
- this.dataGridViewTextBoxColumn19.HeaderText = "名称";
- this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
- this.dataGridViewTextBoxColumn19.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn19.Width = 160;
- //
- // dataGridViewComboEditBoxColumn4
- //
- this.dataGridViewComboEditBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.dataGridViewComboEditBoxColumn4.HeaderText = "备注";
- this.dataGridViewComboEditBoxColumn4.Name = "dataGridViewComboEditBoxColumn4";
- this.dataGridViewComboEditBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- //
- // dataGridViewComboBoxColumn9
- //
- this.dataGridViewComboBoxColumn9.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn9.HeaderText = "途径";
- this.dataGridViewComboBoxColumn9.Name = "dataGridViewComboBoxColumn9";
- this.dataGridViewComboBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn9.Width = 85;
- //
- // dataGridViewTextBoxColumn20
- //
- this.dataGridViewTextBoxColumn20.HeaderText = "浓度";
- this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
- this.dataGridViewTextBoxColumn20.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn20.Width = 45;
- //
- // dataGridViewComboBoxColumn10
- //
- this.dataGridViewComboBoxColumn10.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn10.HeaderText = "浓度单位";
- this.dataGridViewComboBoxColumn10.Name = "dataGridViewComboBoxColumn10";
- this.dataGridViewComboBoxColumn10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn10.Width = 75;
- //
- // dataGridViewTextBoxColumn21
- //
- this.dataGridViewTextBoxColumn21.HeaderText = "速度";
- this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
- this.dataGridViewTextBoxColumn21.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn21.Width = 45;
- //
- // dataGridViewComboBoxColumn11
- //
- this.dataGridViewComboBoxColumn11.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn11.HeaderText = "速度单位";
- this.dataGridViewComboBoxColumn11.Name = "dataGridViewComboBoxColumn11";
- this.dataGridViewComboBoxColumn11.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn11.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn11.Width = 85;
- //
- // dataGridViewTextBoxColumn22
- //
- this.dataGridViewTextBoxColumn22.HeaderText = "用量";
- this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
- this.dataGridViewTextBoxColumn22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewTextBoxColumn22.Width = 60;
- //
- // dataGridViewComboBoxColumn12
- //
- this.dataGridViewComboBoxColumn12.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn12.HeaderText = "单位";
- this.dataGridViewComboBoxColumn12.Name = "dataGridViewComboBoxColumn12";
- this.dataGridViewComboBoxColumn12.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn12.Width = 60;
- //
- // dataGridViewComboBoxColumn27
- //
- this.dataGridViewComboBoxColumn27.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn27.HeaderText = "血型";
- this.dataGridViewComboBoxColumn27.Name = "dataGridViewComboBoxColumn27";
- this.dataGridViewComboBoxColumn27.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn27.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn27.Width = 45;
- //
- // dataGridViewComboBoxColumn28
- //
- this.dataGridViewComboBoxColumn28.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn28.HeaderText = "加药方式";
- this.dataGridViewComboBoxColumn28.Name = "dataGridViewComboBoxColumn28";
- this.dataGridViewComboBoxColumn28.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn28.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn28.Visible = false;
- this.dataGridViewComboBoxColumn28.Width = 80;
- //
- // dataGridViewDateTimeInputColumn7
- //
- this.dataGridViewDateTimeInputColumn7.AutoAdvance = true;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn7.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
- this.dataGridViewDateTimeInputColumn7.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
- this.dataGridViewDateTimeInputColumn7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn7.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
- this.dataGridViewDateTimeInputColumn7.ButtonDropDown.Visible = true;
- this.dataGridViewDateTimeInputColumn7.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
- this.dataGridViewDateTimeInputColumn7.HeaderText = "开始时间";
- this.dataGridViewDateTimeInputColumn7.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
- //
- //
- //
- //
- //
- //
- this.dataGridViewDateTimeInputColumn7.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn7.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
- //
- //
- //
- this.dataGridViewDateTimeInputColumn7.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn7.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
- this.dataGridViewDateTimeInputColumn7.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn7.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn7.MonthCalendar.Visible = false;
- this.dataGridViewDateTimeInputColumn7.Name = "dataGridViewDateTimeInputColumn7";
- this.dataGridViewDateTimeInputColumn7.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewDateTimeInputColumn7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewDateTimeInputColumn7.Width = 80;
- //
- // dataGridViewTextBoxColumn23
- //
- this.dataGridViewTextBoxColumn23.HeaderText = "持续";
- this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
- this.dataGridViewTextBoxColumn23.Width = 45;
- //
- // dataGridViewDateTimeInputColumn8
- //
- this.dataGridViewDateTimeInputColumn8.AutoAdvance = true;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn8.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
- this.dataGridViewDateTimeInputColumn8.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
- this.dataGridViewDateTimeInputColumn8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn8.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
- this.dataGridViewDateTimeInputColumn8.ButtonDropDown.Visible = true;
- this.dataGridViewDateTimeInputColumn8.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
- this.dataGridViewDateTimeInputColumn8.HeaderText = "结束时间";
- this.dataGridViewDateTimeInputColumn8.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
- //
- //
- //
- //
- //
- //
- this.dataGridViewDateTimeInputColumn8.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn8.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
- //
- //
- //
- this.dataGridViewDateTimeInputColumn8.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn8.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
- this.dataGridViewDateTimeInputColumn8.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn8.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn8.MonthCalendar.Visible = false;
- this.dataGridViewDateTimeInputColumn8.Name = "dataGridViewDateTimeInputColumn8";
- this.dataGridViewDateTimeInputColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewDateTimeInputColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewDateTimeInputColumn8.Width = 80;
- //
- // dataGridViewTextBoxColumn24
- //
- this.dataGridViewTextBoxColumn24.HeaderText = "种类";
- this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
- this.dataGridViewTextBoxColumn24.Visible = false;
- this.dataGridViewTextBoxColumn24.Width = 50;
- //
- // P4
- //
- this.P4.AttachedControl = this.superTabControlPanel7;
- this.P4.GlobalItem = false;
- this.P4.Name = "P4";
- this.P4.Text = "麻醉诱导用药";
+ this.P2.Text = "手术用药";
//
// superTabControlPanel6
//
this.superTabControlPanel6.Controls.Add(this.dgvDrugsSH);
this.superTabControlPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.superTabControlPanel6.Location = new System.Drawing.Point(0, 41);
+ this.superTabControlPanel6.Location = new System.Drawing.Point(0, 31);
this.superTabControlPanel6.Name = "superTabControlPanel6";
- this.superTabControlPanel6.Size = new System.Drawing.Size(1018, 594);
+ this.superTabControlPanel6.Size = new System.Drawing.Size(1091, 604);
this.superTabControlPanel6.TabIndex = 0;
this.superTabControlPanel6.TabItem = this.P3;
this.superTabControlPanel6.Visible = false;
@@ -1168,18 +822,18 @@
this.dgvDrugsSH.AllowUserToAddRows = false;
this.dgvDrugsSH.AllowUserToResizeColumns = false;
this.dgvDrugsSH.AllowUserToResizeRows = false;
- dataGridViewCellStyle16.BackColor = System.Drawing.Color.MintCream;
- this.dgvDrugsSH.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16;
+ dataGridViewCellStyle11.BackColor = System.Drawing.Color.MintCream;
+ this.dgvDrugsSH.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
this.dgvDrugsSH.BackgroundColor = System.Drawing.Color.White;
this.dgvDrugsSH.BorderStyle = System.Windows.Forms.BorderStyle.None;
- dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsSH.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17;
+ dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvDrugsSH.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
this.dgvDrugsSH.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDrugsSH.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewImageColumn2,
@@ -1200,14 +854,14 @@
this.dataGridViewTextBoxColumn15,
this.dataGridViewDateTimeInputColumn6,
this.dataGridViewTextBoxColumn16});
- dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle19.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvDrugsSH.DefaultCellStyle = dataGridViewCellStyle19;
+ dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvDrugsSH.DefaultCellStyle = dataGridViewCellStyle14;
this.dgvDrugsSH.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvDrugsSH.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvDrugsSH.EnableHeadersVisualStyles = false;
@@ -1216,19 +870,19 @@
this.dgvDrugsSH.Margin = new System.Windows.Forms.Padding(0);
this.dgvDrugsSH.MultiSelect = false;
this.dgvDrugsSH.Name = "dgvDrugsSH";
- dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsSH.RowHeadersDefaultCellStyle = dataGridViewCellStyle20;
+ dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvDrugsSH.RowHeadersDefaultCellStyle = dataGridViewCellStyle15;
this.dgvDrugsSH.RowHeadersVisible = false;
this.dgvDrugsSH.RowTemplate.Height = 25;
this.dgvDrugsSH.ShowCellErrors = false;
this.dgvDrugsSH.ShowCellToolTips = false;
- this.dgvDrugsSH.Size = new System.Drawing.Size(1018, 594);
+ this.dgvDrugsSH.Size = new System.Drawing.Size(1091, 604);
this.dgvDrugsSH.TabIndex = 17;
this.dgvDrugsSH.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
//
@@ -1243,8 +897,8 @@
//
// dataGridViewTextBoxColumn9
//
- dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Red;
- this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle18;
+ dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Red;
+ this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle13;
this.dataGridViewTextBoxColumn9.HeaderText = "组";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.Width = 30;
@@ -1440,300 +1094,12 @@
this.P3.Name = "P3";
this.P3.Text = "术后镇痛药";
//
- // superTabControlPanel4
- //
- this.superTabControlPanel4.Controls.Add(this.dgvDrugsSQ);
- this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.superTabControlPanel4.Location = new System.Drawing.Point(0, 41);
- this.superTabControlPanel4.Name = "superTabControlPanel4";
- this.superTabControlPanel4.Size = new System.Drawing.Size(1018, 594);
- this.superTabControlPanel4.TabIndex = 0;
- this.superTabControlPanel4.TabItem = this.P1;
- this.superTabControlPanel4.Visible = false;
- //
- // dgvDrugsSQ
- //
- this.dgvDrugsSQ.AllowUserToAddRows = false;
- this.dgvDrugsSQ.AllowUserToResizeColumns = false;
- this.dgvDrugsSQ.AllowUserToResizeRows = false;
- dataGridViewCellStyle21.BackColor = System.Drawing.Color.MintCream;
- this.dgvDrugsSQ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21;
- this.dgvDrugsSQ.BackgroundColor = System.Drawing.Color.White;
- this.dgvDrugsSQ.BorderStyle = System.Windows.Forms.BorderStyle.None;
- dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsSQ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22;
- this.dgvDrugsSQ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvDrugsSQ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.dataGridViewImageColumn5,
- this.dataGridViewTextBoxColumn37,
- this.dataGridViewTextBoxColumn38,
- this.dataGridViewTextBoxColumn39,
- this.dataGridViewComboEditBoxColumn1,
- this.dataGridViewComboBoxColumn17,
- this.dataGridViewTextBoxColumn40,
- this.dataGridViewComboBoxColumn18,
- this.dataGridViewTextBoxColumn41,
- this.dataGridViewComboBoxColumn19,
- this.dataGridViewTextBoxColumn42,
- this.dataGridViewComboBoxColumn20,
- this.dataGridViewComboBoxColumn21,
- this.dataGridViewComboBoxColumn22,
- this.dataGridViewDateTimeInputColumn1,
- this.dataGridViewTextBoxColumn43,
- this.dataGridViewDateTimeInputColumn2,
- this.dataGridViewTextBoxColumn44});
- dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle24.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle24.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle24.SelectionForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvDrugsSQ.DefaultCellStyle = dataGridViewCellStyle24;
- this.dgvDrugsSQ.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvDrugsSQ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
- this.dgvDrugsSQ.EnableHeadersVisualStyles = false;
- this.dgvDrugsSQ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
- this.dgvDrugsSQ.Location = new System.Drawing.Point(0, 0);
- this.dgvDrugsSQ.Margin = new System.Windows.Forms.Padding(0);
- this.dgvDrugsSQ.MultiSelect = false;
- this.dgvDrugsSQ.Name = "dgvDrugsSQ";
- dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle25.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugsSQ.RowHeadersDefaultCellStyle = dataGridViewCellStyle25;
- this.dgvDrugsSQ.RowHeadersVisible = false;
- this.dgvDrugsSQ.RowTemplate.Height = 25;
- this.dgvDrugsSQ.ShowCellErrors = false;
- this.dgvDrugsSQ.ShowCellToolTips = false;
- this.dgvDrugsSQ.Size = new System.Drawing.Size(1018, 594);
- this.dgvDrugsSQ.TabIndex = 16;
- this.dgvDrugsSQ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
- //
- // dataGridViewImageColumn5
- //
- this.dataGridViewImageColumn5.HeaderText = " ";
- this.dataGridViewImageColumn5.Image = global::AIMS.Properties.Resources.SYSCRL;
- this.dataGridViewImageColumn5.Name = "dataGridViewImageColumn5";
- this.dataGridViewImageColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewImageColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
- this.dataGridViewImageColumn5.Width = 30;
- //
- // dataGridViewTextBoxColumn37
- //
- dataGridViewCellStyle23.ForeColor = System.Drawing.Color.Red;
- this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle23;
- this.dataGridViewTextBoxColumn37.HeaderText = "组";
- this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37";
- this.dataGridViewTextBoxColumn37.Width = 30;
- //
- // dataGridViewTextBoxColumn38
- //
- this.dataGridViewTextBoxColumn38.HeaderText = "类型";
- this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38";
- this.dataGridViewTextBoxColumn38.Visible = false;
- this.dataGridViewTextBoxColumn38.Width = 60;
- //
- // dataGridViewTextBoxColumn39
- //
- this.dataGridViewTextBoxColumn39.HeaderText = "名称";
- this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39";
- this.dataGridViewTextBoxColumn39.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn39.Width = 160;
- //
- // dataGridViewComboEditBoxColumn1
- //
- this.dataGridViewComboEditBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.dataGridViewComboEditBoxColumn1.HeaderText = "备注";
- this.dataGridViewComboEditBoxColumn1.Name = "dataGridViewComboEditBoxColumn1";
- this.dataGridViewComboEditBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- //
- // dataGridViewComboBoxColumn17
- //
- this.dataGridViewComboBoxColumn17.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn17.HeaderText = "途径";
- this.dataGridViewComboBoxColumn17.Name = "dataGridViewComboBoxColumn17";
- this.dataGridViewComboBoxColumn17.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn17.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn17.Width = 85;
- //
- // dataGridViewTextBoxColumn40
- //
- this.dataGridViewTextBoxColumn40.HeaderText = "浓度";
- this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40";
- this.dataGridViewTextBoxColumn40.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn40.Width = 45;
- //
- // dataGridViewComboBoxColumn18
- //
- this.dataGridViewComboBoxColumn18.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn18.HeaderText = "浓度单位";
- this.dataGridViewComboBoxColumn18.Name = "dataGridViewComboBoxColumn18";
- this.dataGridViewComboBoxColumn18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn18.Width = 75;
- //
- // dataGridViewTextBoxColumn41
- //
- this.dataGridViewTextBoxColumn41.HeaderText = "速度";
- this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41";
- this.dataGridViewTextBoxColumn41.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewTextBoxColumn41.Width = 45;
- //
- // dataGridViewComboBoxColumn19
- //
- this.dataGridViewComboBoxColumn19.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn19.HeaderText = "速度单位";
- this.dataGridViewComboBoxColumn19.Name = "dataGridViewComboBoxColumn19";
- this.dataGridViewComboBoxColumn19.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn19.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn19.Width = 85;
- //
- // dataGridViewTextBoxColumn42
- //
- this.dataGridViewTextBoxColumn42.HeaderText = "用量";
- this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42";
- this.dataGridViewTextBoxColumn42.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewTextBoxColumn42.Width = 60;
- //
- // dataGridViewComboBoxColumn20
- //
- this.dataGridViewComboBoxColumn20.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn20.HeaderText = "单位";
- this.dataGridViewComboBoxColumn20.Name = "dataGridViewComboBoxColumn20";
- this.dataGridViewComboBoxColumn20.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn20.Width = 60;
- //
- // dataGridViewComboBoxColumn21
- //
- this.dataGridViewComboBoxColumn21.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn21.HeaderText = "血型";
- this.dataGridViewComboBoxColumn21.Name = "dataGridViewComboBoxColumn21";
- this.dataGridViewComboBoxColumn21.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn21.Width = 45;
- //
- // dataGridViewComboBoxColumn22
- //
- this.dataGridViewComboBoxColumn22.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
- this.dataGridViewComboBoxColumn22.HeaderText = "加药方式";
- this.dataGridViewComboBoxColumn22.Name = "dataGridViewComboBoxColumn22";
- this.dataGridViewComboBoxColumn22.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewComboBoxColumn22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
- this.dataGridViewComboBoxColumn22.Visible = false;
- this.dataGridViewComboBoxColumn22.Width = 80;
- //
- // dataGridViewDateTimeInputColumn1
- //
- this.dataGridViewDateTimeInputColumn1.AutoAdvance = true;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn1.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
- this.dataGridViewDateTimeInputColumn1.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
- this.dataGridViewDateTimeInputColumn1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn1.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
- this.dataGridViewDateTimeInputColumn1.ButtonDropDown.Visible = true;
- this.dataGridViewDateTimeInputColumn1.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
- this.dataGridViewDateTimeInputColumn1.HeaderText = "开始时间";
- this.dataGridViewDateTimeInputColumn1.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
- //
- //
- //
- //
- //
- //
- this.dataGridViewDateTimeInputColumn1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
- //
- //
- //
- this.dataGridViewDateTimeInputColumn1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn1.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
- this.dataGridViewDateTimeInputColumn1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn1.MonthCalendar.Visible = false;
- this.dataGridViewDateTimeInputColumn1.Name = "dataGridViewDateTimeInputColumn1";
- this.dataGridViewDateTimeInputColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewDateTimeInputColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewDateTimeInputColumn1.Width = 80;
- //
- // dataGridViewTextBoxColumn43
- //
- this.dataGridViewTextBoxColumn43.HeaderText = "持续";
- this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43";
- this.dataGridViewTextBoxColumn43.Width = 45;
- //
- // dataGridViewDateTimeInputColumn2
- //
- this.dataGridViewDateTimeInputColumn2.AutoAdvance = true;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn2.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
- this.dataGridViewDateTimeInputColumn2.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
- this.dataGridViewDateTimeInputColumn2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn2.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
- this.dataGridViewDateTimeInputColumn2.ButtonDropDown.Visible = true;
- this.dataGridViewDateTimeInputColumn2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
- this.dataGridViewDateTimeInputColumn2.HeaderText = "结束时间";
- this.dataGridViewDateTimeInputColumn2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
- //
- //
- //
- //
- //
- //
- this.dataGridViewDateTimeInputColumn2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
- //
- //
- //
- this.dataGridViewDateTimeInputColumn2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn2.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
- this.dataGridViewDateTimeInputColumn2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
- //
- //
- //
- this.dataGridViewDateTimeInputColumn2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dataGridViewDateTimeInputColumn2.MonthCalendar.Visible = false;
- this.dataGridViewDateTimeInputColumn2.Name = "dataGridViewDateTimeInputColumn2";
- this.dataGridViewDateTimeInputColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridViewDateTimeInputColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.dataGridViewDateTimeInputColumn2.Width = 80;
- //
- // dataGridViewTextBoxColumn44
- //
- this.dataGridViewTextBoxColumn44.HeaderText = "种类";
- this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44";
- this.dataGridViewTextBoxColumn44.Visible = false;
- this.dataGridViewTextBoxColumn44.Width = 50;
- //
- // P1
- //
- this.P1.AttachedControl = this.superTabControlPanel4;
- this.P1.GlobalItem = false;
- this.P1.Name = "P1";
- this.P1.Text = "麻醉前用药";
- //
// superTabControlPanel1
//
this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel1.Location = new System.Drawing.Point(0, 0);
this.superTabControlPanel1.Name = "superTabControlPanel1";
- this.superTabControlPanel1.Size = new System.Drawing.Size(1091, 635);
+ this.superTabControlPanel1.Size = new System.Drawing.Size(1028, 635);
this.superTabControlPanel1.TabIndex = 0;
//
// superTabControlPanel2
@@ -1741,7 +1107,7 @@
this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel2.Location = new System.Drawing.Point(0, 0);
this.superTabControlPanel2.Name = "superTabControlPanel2";
- this.superTabControlPanel2.Size = new System.Drawing.Size(1091, 635);
+ this.superTabControlPanel2.Size = new System.Drawing.Size(1028, 635);
this.superTabControlPanel2.TabIndex = 0;
//
// panelleft
@@ -1750,7 +1116,7 @@
this.panelleft.Dock = System.Windows.Forms.DockStyle.Left;
this.panelleft.Location = new System.Drawing.Point(0, 42);
this.panelleft.Name = "panelleft";
- this.panelleft.Size = new System.Drawing.Size(267, 635);
+ this.panelleft.Size = new System.Drawing.Size(330, 635);
this.panelleft.TabIndex = 1;
//
// TabSelDrugs
@@ -1781,7 +1147,7 @@
this.TabSelDrugs.ReorderTabsEnabled = true;
this.TabSelDrugs.SelectedTabFont = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.TabSelDrugs.SelectedTabIndex = 0;
- this.TabSelDrugs.Size = new System.Drawing.Size(267, 635);
+ this.TabSelDrugs.Size = new System.Drawing.Size(330, 635);
this.TabSelDrugs.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Left;
this.TabSelDrugs.TabFont = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.TabSelDrugs.TabIndex = 0;
@@ -1796,7 +1162,7 @@
this.AnesPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.AnesPanel.Location = new System.Drawing.Point(30, 0);
this.AnesPanel.Name = "AnesPanel";
- this.AnesPanel.Size = new System.Drawing.Size(237, 635);
+ this.AnesPanel.Size = new System.Drawing.Size(300, 635);
this.AnesPanel.TabIndex = 0;
this.AnesPanel.TabItem = this.AnesTab;
//
@@ -1812,7 +1178,7 @@
this.XuePanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.XuePanel.Location = new System.Drawing.Point(30, 0);
this.XuePanel.Name = "XuePanel";
- this.XuePanel.Size = new System.Drawing.Size(237, 635);
+ this.XuePanel.Size = new System.Drawing.Size(300, 635);
this.XuePanel.TabIndex = 0;
this.XuePanel.Text = " ";
//
@@ -1821,7 +1187,7 @@
this.SapPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.SapPanel.Location = new System.Drawing.Point(30, 0);
this.SapPanel.Name = "SapPanel";
- this.SapPanel.Size = new System.Drawing.Size(237, 635);
+ this.SapPanel.Size = new System.Drawing.Size(300, 635);
this.SapPanel.TabIndex = 0;
this.SapPanel.Text = " ";
//
@@ -1830,7 +1196,7 @@
this.DrugsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.DrugsPanel.Location = new System.Drawing.Point(30, 0);
this.DrugsPanel.Name = "DrugsPanel";
- this.DrugsPanel.Size = new System.Drawing.Size(237, 635);
+ this.DrugsPanel.Size = new System.Drawing.Size(300, 635);
this.DrugsPanel.TabIndex = 1;
this.DrugsPanel.Text = " ";
//
@@ -1852,7 +1218,7 @@
// btnTypeManager
//
this.btnTypeManager.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnTypeManager.Location = new System.Drawing.Point(732, 9);
+ this.btnTypeManager.Location = new System.Drawing.Point(732, 7);
this.btnTypeManager.Name = "btnTypeManager";
this.btnTypeManager.Size = new System.Drawing.Size(132, 30);
this.btnTypeManager.TabIndex = 11;
@@ -1863,7 +1229,7 @@
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.Location = new System.Drawing.Point(879, 9);
+ this.buttonX1.Location = new System.Drawing.Point(879, 7);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(94, 30);
this.buttonX1.TabIndex = 9;
@@ -1905,7 +1271,7 @@
// btnDelete
//
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnDelete.Location = new System.Drawing.Point(980, 9);
+ this.btnDelete.Location = new System.Drawing.Point(980, 7);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(86, 30);
this.btnDelete.TabIndex = 2;
@@ -1915,7 +1281,7 @@
// btnSave
//
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnSave.Location = new System.Drawing.Point(1072, 9);
+ this.btnSave.Location = new System.Drawing.Point(1072, 7);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(86, 30);
this.btnSave.TabIndex = 1;
@@ -1945,14 +1311,14 @@
this.dgvYP.AllowUserToAddRows = false;
this.dgvYP.AllowUserToDeleteRows = false;
this.dgvYP.BackgroundColor = System.Drawing.Color.White;
- dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle26.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle26.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvYP.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle26;
+ dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle16.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvYP.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
this.dgvYP.ColumnHeadersHeight = 30;
this.dgvYP.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.id,
@@ -1967,14 +1333,14 @@
this.Factroy,
this.Channel,
this.Remark});
- dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle27.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvYP.DefaultCellStyle = dataGridViewCellStyle27;
+ dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvYP.DefaultCellStyle = dataGridViewCellStyle17;
this.dgvYP.EnableHeadersVisualStyles = false;
this.dgvYP.Location = new System.Drawing.Point(208, 203);
this.dgvYP.Name = "dgvYP";
@@ -1989,53 +1355,6 @@
this.dgvYP.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgvYP_KeyPress);
this.dgvYP.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.dgvYP_PreviewKeyDown);
//
- // dgvDosage
- //
- this.dgvDosage.AllowUserToAddRows = false;
- this.dgvDosage.AllowUserToDeleteRows = false;
- this.dgvDosage.BackgroundColor = System.Drawing.Color.White;
- this.dgvDosage.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
- dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle28.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle28.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle28.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle28.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle28.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDosage.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28;
- this.dgvDosage.ColumnHeadersHeight = 30;
- this.dgvDosage.ColumnHeadersVisible = false;
- this.dgvDosage.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Dosage});
- this.dgvDosage.EnableHeadersVisualStyles = false;
- this.dgvDosage.Location = new System.Drawing.Point(317, 148);
- this.dgvDosage.Name = "dgvDosage";
- this.dgvDosage.ReadOnly = true;
- this.dgvDosage.RowHeadersVisible = false;
- this.dgvDosage.RowTemplate.Height = 30;
- this.dgvDosage.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dgvDosage.Size = new System.Drawing.Size(60, 90);
- this.dgvDosage.TabIndex = 18;
- this.dgvDosage.Visible = false;
- this.dgvDosage.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDosage_CellClick);
- this.dgvDosage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvDosage_KeyDown);
- this.dgvDosage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgvDosage_KeyPress);
- this.dgvDosage.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.dgvDosage_PreviewKeyDown);
- //
- // Dosage
- //
- this.Dosage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.Dosage.HeaderText = "剂量";
- this.Dosage.Name = "Dosage";
- this.Dosage.ReadOnly = true;
- //
- // imageList1
- //
- this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
- this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
- this.imageList1.Images.SetKeyName(0, "插入列.png");
- this.imageList1.Images.SetKeyName(1, "未插入列 .png");
- //
// id
//
this.id.DataPropertyName = "Id";
@@ -2133,6 +1452,53 @@
this.Remark.ReadOnly = true;
this.Remark.Visible = false;
//
+ // dgvDosage
+ //
+ this.dgvDosage.AllowUserToAddRows = false;
+ this.dgvDosage.AllowUserToDeleteRows = false;
+ this.dgvDosage.BackgroundColor = System.Drawing.Color.White;
+ this.dgvDosage.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
+ dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle18.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvDosage.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18;
+ this.dgvDosage.ColumnHeadersHeight = 30;
+ this.dgvDosage.ColumnHeadersVisible = false;
+ this.dgvDosage.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.Dosage});
+ this.dgvDosage.EnableHeadersVisualStyles = false;
+ this.dgvDosage.Location = new System.Drawing.Point(317, 148);
+ this.dgvDosage.Name = "dgvDosage";
+ this.dgvDosage.ReadOnly = true;
+ this.dgvDosage.RowHeadersVisible = false;
+ this.dgvDosage.RowTemplate.Height = 30;
+ this.dgvDosage.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+ this.dgvDosage.Size = new System.Drawing.Size(60, 90);
+ this.dgvDosage.TabIndex = 18;
+ this.dgvDosage.Visible = false;
+ this.dgvDosage.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDosage_CellClick);
+ this.dgvDosage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvDosage_KeyDown);
+ this.dgvDosage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgvDosage_KeyPress);
+ this.dgvDosage.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.dgvDosage_PreviewKeyDown);
+ //
+ // Dosage
+ //
+ this.Dosage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.Dosage.HeaderText = "剂量";
+ this.Dosage.Name = "Dosage";
+ this.Dosage.ReadOnly = true;
+ //
+ // imageList1
+ //
+ this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
+ this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
+ this.imageList1.Images.SetKeyName(0, "插入列.png");
+ this.imageList1.Images.SetKeyName(1, "未插入列 .png");
+ //
// frmFactDrugNew
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -2156,16 +1522,12 @@
this.panel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).EndInit();
this.tabDrugs.ResumeLayout(false);
- this.superTabControlPanel3.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsKJ)).EndInit();
- this.superTabControlPanel5.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).EndInit();
- this.superTabControlPanel7.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).EndInit();
- this.superTabControlPanel6.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).EndInit();
this.superTabControlPanel4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).EndInit();
+ this.superTabControlPanel5.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).EndInit();
+ this.superTabControlPanel6.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).EndInit();
this.panelleft.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.TabSelDrugs)).EndInit();
this.TabSelDrugs.ResumeLayout(false);
@@ -2184,7 +1546,6 @@
private DevComponents.DotNetBar.ButtonX btnDelete;
private DevComponents.DotNetBar.ButtonX btnSave;
private System.Windows.Forms.Panel panel5;
- private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugsKJ;
private System.Windows.Forms.ToolTip toolTip1;
private DevComponents.DotNetBar.Controls.TextBoxX txtQuery;
private DevComponents.DotNetBar.LabelX labelX2;
@@ -2193,14 +1554,10 @@
private DevComponents.DotNetBar.SuperTabItem superTabItem4;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2;
- private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel3;
- private DevComponents.DotNetBar.SuperTabItem P5;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel5;
private DevComponents.DotNetBar.SuperTabItem P2;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel4;
private DevComponents.DotNetBar.SuperTabItem P1;
- private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel7;
- private DevComponents.DotNetBar.SuperTabItem P4;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel6;
private DevComponents.DotNetBar.SuperTabItem P3;
private DevComponents.DotNetBar.SuperTabControl TabSelDrugs;
@@ -2214,7 +1571,6 @@
private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugsSQ;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugsSZ;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugsSH;
- private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugsYD;
private System.Windows.Forms.DataGridView dgvYP;
private System.Windows.Forms.DataGridView dgvDosage;
private System.Windows.Forms.DataGridViewTextBoxColumn Dosage;
@@ -2236,24 +1592,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
- private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn3;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewComboEditBoxColumn4;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn9;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn10;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn11;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn12;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn27;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn28;
- private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn7;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
- private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn8;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
@@ -2290,24 +1628,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn43;
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn44;
- private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn4;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn28;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn36;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn13;
- private System.Windows.Forms.DataGridViewTextBoxColumn DensityUnit;
- private System.Windows.Forms.DataGridViewComboBoxColumn Column10;
- private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
- private System.Windows.Forms.DataGridViewComboBoxColumn Column13;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn14;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn15;
- private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn16;
- private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewTextBoxColumn32;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn33;
- private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewTextBoxColumn34;
- private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn35;
private System.Windows.Forms.ImageList imageList1;
private DevComponents.DotNetBar.ButtonX btnTypeManager;
private System.Windows.Forms.DataGridViewTextBoxColumn id;
diff --git a/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.cs b/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.cs
index 0514325..d06643a 100644
--- a/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.cs
+++ b/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.cs
@@ -16,9 +16,8 @@ namespace AIMS.PublicUI.UI
{
public partial class frmFactDrugNew : OfficeForm
{
- public static int rightcount = 0;
public static object valueTime;
- public int currentTabIndex = 2;
+ public int currentTabIndex = 1;
public bool isCVhageAllSapDose = false;
public int DrugTypeId;
@@ -84,7 +83,6 @@ namespace AIMS.PublicUI.UI
SetDGVNotSort();
Initial();
FullALLDGV();
- rightcount = 3;
tabDrugs.SelectedTabIndex = currentTabIndex;
_dataGridView = dgvDrugsSZ;
BindAnaesthesiaEvents();
@@ -111,14 +109,6 @@ namespace AIMS.PublicUI.UI
{
dgvDrugsSH.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
}
- for (int i = 0; i < dgvDrugsKJ.Columns.Count; i++)
- {
- dgvDrugsKJ.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
- }
- for (int i = 0; i < dgvDrugsYD.Columns.Count; i++)
- {
- dgvDrugsYD.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
- }
}
private void SetDGVEvent(DataGridView dgv)
{
@@ -176,7 +166,11 @@ namespace AIMS.PublicUI.UI
private void FullCommonlyDrugs(DataTable dt, Panel panelleft)
{
if (panelleft.Controls != null) panelleft.Controls.Clear();
- page = (dt.Rows.Count / 18) + 1;
+ if ((dt.Rows.Count / 18) == 1 || (dt.Rows.Count / 18) == 2 || (dt.Rows.Count / 18) == 3)
+ page = (dt.Rows.Count / 18);
+ else
+ page = (dt.Rows.Count / 18) + 1;
+
currpage = 1;
drugdt = dt;
int y = -28;
@@ -244,12 +238,20 @@ namespace AIMS.PublicUI.UI
for (int i = 0; i < 18; i++)
{
if (row + i >= drugdt.Rows.Count) break;
+ int usedose = 0;
ButtonX lb = new ButtonX();
- lb.Text = drugdt.Rows[row + i]["Name"].ToString().Trim() + " " +drugdt.Rows[row + i]["Stand"].ToString().Trim();
+ lb.Text = drugdt.Rows[row + i]["Name"].ToString().Trim() + " " + drugdt.Rows[row + i]["Stand"].ToString().Trim();
lb.Tag = drugdt.Rows[row + i]["Id"].ToString();
- //设定位置
- lb.Size = new System.Drawing.Size(panelleftsel.Width - 10, 30);
- lb.Font = new System.Drawing.Font("微软雅黑", 10f, FontStyle.Bold);
+ lb.Font = new System.Drawing.Font("微软雅黑", 9.5f, FontStyle.Bold);
+
+ if (drugdt.Rows[row + i]["UseDose1"].ToString() != "")
+ usedose++;
+ if (drugdt.Rows[row + i]["UseDose2"].ToString() != "")
+ usedose++;
+ if (drugdt.Rows[row + i]["UseDose3"].ToString() != "")
+ usedose++;
+
+ lb.Size = new System.Drawing.Size(panelleftsel.Width - (usedose * 43) - 8, 30);
lb.Cursor = Cursors.Hand;
lb.ColorTable = eButtonColor.Orange;// Flat;
lb.BackColor = Color.SkyBlue;
@@ -259,8 +261,68 @@ namespace AIMS.PublicUI.UI
y += 32;
lb.Location = new Point(4, y);
lb.Click += new EventHandler(lb_Click);
+ int count = 0;
+ if (drugdt.Rows[row + i]["UseDose1"].ToString() != "")
+ {
+ ButtonX lb1 = new ButtonX();
+ lb1.Text = drugdt.Rows[row + i]["UseDose1"].ToString().Trim();
+ lb1.Tag = drugdt.Rows[row + i]["Id"].ToString();
+ //设定位置
+ lb1.Size = new System.Drawing.Size(38, 30);
+ lb1.Location = new Point(lb.Width + 8, y);
+ lb1.Font = new System.Drawing.Font("微软雅黑", 9f);
+ lb1.Cursor = Cursors.Hand;
+ lb1.ColorTable = eButtonColor.Orange;
+ lb1.BackColor = Color.SkyBlue;
+ lb1.TextAlignment = eButtonTextAlignment.Left;
+ lb1.Parent = panelleftsel;
+ lb1.TextColor = System.Drawing.Color.Black;
+ lb1.Click += new EventHandler(lb_Click);
+ panelleftsel.Controls.Add(lb1);
+ count++;
+ }
+
+ if (drugdt.Rows[row + i]["UseDose2"].ToString() != "")
+ {
+ ButtonX lb2 = new ButtonX();
+ lb2.Text = drugdt.Rows[row + i]["UseDose2"].ToString().Trim();
+ lb2.Tag = drugdt.Rows[row + i]["Id"].ToString();
+ //设定位置
+ lb2.Size = new System.Drawing.Size(38, 30);
+ lb2.Location = new Point((43 * count) + 8 + lb.Width, y);
+ lb2.Font = new System.Drawing.Font("微软雅黑", 9f);
+ lb2.Cursor = Cursors.Hand;
+ lb2.ColorTable = eButtonColor.Orange;
+ lb2.BackColor = Color.SkyBlue;
+ lb2.TextAlignment = eButtonTextAlignment.Left;
+ lb2.Parent = panelleftsel;
+ lb2.TextColor = System.Drawing.Color.Black;
+ lb2.Click += new EventHandler(lb_Click);
+ panelleftsel.Controls.Add(lb2);
+ count++;
+ }
+
+ if (drugdt.Rows[row + i]["UseDose3"].ToString() != "")
+ {
+ ButtonX lb3 = new ButtonX();
+ lb3.Text = drugdt.Rows[row + i]["UseDose3"].ToString().Trim();
+ lb3.Tag = drugdt.Rows[row + i]["Id"].ToString();
+ //设定位置
+ lb3.Size = new System.Drawing.Size(38, 30);
+ lb3.Location = new Point((43 * count) + 8 + lb.Width, y);
+ lb3.Font = new System.Drawing.Font("微软雅黑", 9f);
+ lb3.Cursor = Cursors.Hand;
+ lb3.ColorTable = eButtonColor.Orange;
+ lb3.BackColor = Color.SkyBlue;
+ lb3.TextAlignment = eButtonTextAlignment.Left;
+ lb3.Parent = panelleftsel;
+ lb3.TextColor = System.Drawing.Color.Black;
+ lb3.Click += new EventHandler(lb_Click);
+ panelleftsel.Controls.Add(lb3);
+ }
panelleftsel.Controls.Add(lb);
+
}
}
@@ -274,8 +336,8 @@ namespace AIMS.PublicUI.UI
dr.Cells[2].Value = drug.DrugKind;
dr.Cells[3].Tag = drug.Id;
dr.Cells[3].Value = drug.Name;
- dr.Cells[4].Value = drug.Remark;
- dr.Cells[5].Value = drug.Channel;
+ dr.Cells[4].Value = drug.Remark;
+ dr.Cells[5].Value = drug.Channel;
if (tabDrugs.SelectedTab.Name == "P3") dr.Cells[5].Value = "泵入";
if (dr.Cells[2].Value.ToString() == "血液制品")
{
@@ -294,26 +356,15 @@ namespace AIMS.PublicUI.UI
{
dr.Cells[10].Value = outValue;
}
- //if (char.IsNumber(Convert.ToChar(send.Text.Substring(0, 1))))
- //{
- // dr.Cells[10].Value = Convert.ToDouble(send.Text);
- //}
}
dr.Cells[11].Value = drug.DosageUnit.Trim();
- if (_dataGridView != null && _dataGridView == dgvDrugsYD && _record.AnesthesiaBeginTime != null)
+ //开始时间默认手术当天日期
+ dr.Cells[14].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘
+ TimeSpan tsp = DateTime.Now - _record.InRoomTime.Value;
+ if (tsp.TotalHours > 12)
{
- dr.Cells[14].Value = _record.AnesthesiaBeginTime;
- }
- else
- {
- //开始时间默认手术当天日期
- dr.Cells[14].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘
- TimeSpan tsp = DateTime.Now - _record.InRoomTime.Value;
- if (tsp.TotalHours > 12)
- {
- DateTime begindate = new DateTime(_record.InRoomTime.Value.Year, _record.InRoomTime.Value.Month, _record.InRoomTime.Value.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
- dr.Cells[14].Value = begindate;
- }
+ DateTime begindate = new DateTime(_record.InRoomTime.Value.Year, _record.InRoomTime.Value.Month, _record.InRoomTime.Value.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
+ dr.Cells[14].Value = begindate;
}
if (_lineNumber > 0)
@@ -1019,19 +1070,15 @@ namespace AIMS.PublicUI.UI
try
{
btnSave.Focus();
- if (SaveValid(dgvDrugsKJ, 0)) Save(dgvDrugsKJ, 0);
- else return;
if (SaveValid(dgvDrugsSQ, 1)) Save(dgvDrugsSQ, 1);
else return;
if (SaveValid(dgvDrugsSZ, 2)) Save(dgvDrugsSZ, 2);
else return;
if (SaveValid(dgvDrugsSH, 3)) Save(dgvDrugsSH, 3);
else return;
- if (SaveValid(dgvDrugsYD, 4)) Save(dgvDrugsYD, 4);
- else return;
+ new frmMessageBox().Show();
if (DrugsParam != null) DrugsParam();
- MessageBox.Show("保存成功!");
}
catch (Exception exp)
{
@@ -1145,22 +1192,6 @@ namespace AIMS.PublicUI.UI
//dgvDrugs_RowsAdded(null, null);
FullDrugsData(sList);
}
- if (bd.Name == "麻醉诱导用药")
- {
- List sList = _record.FactDrugList.Where(p => p.GiveDrugType == bd.Name).ToList();
- _dataGridView = dgvDrugsYD;
- SetDGVEvent(_dataGridView);
- //dgvDrugs_RowsAdded(null, null);
- FullDrugsData(sList);
- }
- if (bd.Name == "术前加抗菌药")
- {
- List sList = _record.FactDrugList.Where(p => p.GiveDrugType == bd.Name).ToList();
- _dataGridView = dgvDrugsKJ;
- SetDGVEvent(_dataGridView);
- //dgvDrugs_RowsAdded(null, null);
- FullDrugsData(sList);
- }
}
}
private void frmFactDrugNew_Paint(object sender, PaintEventArgs e)
@@ -1203,14 +1234,6 @@ namespace AIMS.PublicUI.UI
{
_dataGridView = dgvDrugsSH;
}
- else if (tabDrugs.SelectedTab.Name == "P4")
- {
- _dataGridView = dgvDrugsYD;
- }
- else if (tabDrugs.SelectedTab.Name == "P5")
- {
- _dataGridView = dgvDrugsKJ;
- }
_dataGridView.Columns[1].ReadOnly = true;
_dataGridView.Columns[2].ReadOnly = true;
@@ -1330,8 +1353,8 @@ namespace AIMS.PublicUI.UI
superTabControlPanel.TabItem = spt;
spt.AttachedControl = superTabControlPanel;
}
- TabSelDrugs.SelectedTab = TabSelDrugs.Tabs[1] as SuperTabItem;
- TabSelDrugs.SelectedTab = TabSelDrugs.Tabs[0] as SuperTabItem;
+ TabSelDrugs.SelectedTab = TabSelDrugs.Tabs[1] as SuperTabItem;
+ TabSelDrugs.SelectedTab = TabSelDrugs.Tabs[0] as SuperTabItem;
}
catch (Exception ex)
{
@@ -1547,8 +1570,8 @@ namespace AIMS.PublicUI.UI
_dataGridView.CurrentRow.Cells[3].Value = dgvYP.Rows[index].Cells["DrugName"].Value.ToString();//药品名称
_dataGridView.CurrentRow.Cells[11].Value = dgvYP.Rows[index].Cells["DoseUnit"].Value.ToString().Trim(); ;//备注名称
- _dataGridView.CurrentRow.Cells[4].Value = dgvYP.Rows[index].Cells["Remark"].Value.ToString();
- _dataGridView.CurrentRow.Cells[5].Value = dgvYP.Rows[index].Cells["Channel"].Value.ToString();
+ _dataGridView.CurrentRow.Cells[4].Value = dgvYP.Rows[index].Cells["Remark"].Value.ToString();
+ _dataGridView.CurrentRow.Cells[5].Value = dgvYP.Rows[index].Cells["Channel"].Value.ToString();
if (_dataGridView.CurrentRow.Cells[2].Value.ToString() == "血液制品")
{
_dataGridView.CurrentRow.Cells[12].ReadOnly = false;//血型
@@ -1560,21 +1583,14 @@ namespace AIMS.PublicUI.UI
// if (dgvYP.Rows[index].Cells["DosageUnit"].Value.ToString() != "")
//{
// _dataGridView.CurrentRow.Cells[11].Value = BBasicDictionary.GetDrugsUntiIdByUnitName(dgvYP.Rows[index].Cells["DosageUnit"].Value.ToString().Trim());
- //}
- if (_dataGridView != null && _dataGridView == dgvDrugsYD && _record.AnesthesiaBeginTime != null)
+ //}
+ //开始时间默认手术当天日期
+ _dataGridView.CurrentRow.Cells[14].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘
+ TimeSpan tsp = DateTime.Now - _record.InRoomTime.Value;
+ if (tsp.TotalHours > 12)
{
- _dataGridView.CurrentRow.Cells[14].Value = _record.AnesthesiaBeginTime;
- }
- else
- {
- //开始时间默认手术当天日期
- _dataGridView.CurrentRow.Cells[14].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘
- TimeSpan tsp = DateTime.Now - _record.InRoomTime.Value;
- if (tsp.TotalHours > 12)
- {
- DateTime begindate = new DateTime(_record.InRoomTime.Value.Year, _record.InRoomTime.Value.Month, _record.InRoomTime.Value.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
- _dataGridView.CurrentRow.Cells[14].Value = begindate;
- }
+ DateTime begindate = new DateTime(_record.InRoomTime.Value.Year, _record.InRoomTime.Value.Month, _record.InRoomTime.Value.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
+ _dataGridView.CurrentRow.Cells[14].Value = begindate;
}
index = 0;
dgvYP.Visible = false;
diff --git a/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.resx b/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.resx
index 9a500dc..04d10a0 100644
--- a/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.resx
+++ b/AIMS/OperationDoing/AnasRecordBill/frmFactDrugNew.resx
@@ -136,9 +136,9 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
- ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAA0
- CAAAAk1TRnQBSQFMAgEBAgEAARgBBgEYAQYBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ
- AwABFAMAAQEBAAEgBgABGS4AA1UBrwKAAXIB/gMrAfwDKwH8AZkBiwFAAf0BoQGSAQAB/wGTAYIBAAH/
+ ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAu
+ CAAAAk1TRnQBSQFMAgEBAgEAAUABBgFAAQYBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ
+ AwABFAMAAQEBAAEgBgABGS4AA1UBrwKAAXcB/gMrAfwDKwH8AZkBiwFAAf0BoQGSAQAB/wGTAYIBAAH/
AZYBhwFAAf0BowGUAQAB/wGjAZQBAAH/AaMBlAEAAf8DKwH8A2AB6P8ADQABkwGCAQAB/wNiAfYDbQH3
A20B9wNcAfgDgAH+AZcBhgEAAf8DbQH3AewB5wHkAf8B7AHnAeQB/wHsAecB5AH/A20B9wGTAYIBAAH/
/wANAAGTAYIBAAH/A2cB8gH/Av0C/wL9Av8C/QL/Av0B/wGbAYsBAAH/AysB/AH/Av0C/wL9Av8C/QL/
@@ -149,8 +149,8 @@
Af0C/wH8Af0C/wH8Af0C/wL+Af8BkwGCAQAB//8ADQABkwGCAQAB/wNgAfMB/gH7AfwB/wH+AfsB/AH/
Af4B+wH8Af8B/gH7AfwB/wGbAYsBAAH/AysB/AH+AfsB/AH/Af4B+wH8Af8B/gH7AfwC/wL9Af8BkwGC
AQAB//QAA0cBgQNHAYIDRwGCA0cBggNHAYIDRwGCAYkCAAH/A00B+gNfAfsDXwH7A18B+wNfAfsBjQIA
- Af8BpwGgAZAB/QNfAfsDXwH7A18B+wKoAZ8B/QGTAYIBAAH/8AADBgEIAmABVAHzAW0BUgFRAfcCWgFK
- AfUCWgFKAfUCWgFKAfUCWgFKAfUBgQIAAf8DAAH/AV8BXgEyAfsBXwFeATIB+wFfAV4BMgH7Al8BMgH7
+ Af8BpwGgAZAB/QNfAfsDXwH7A18B+wKoAZ8B/QGTAYIBAAH/8AADBgEIAmABWwHzAW0BUgFRAfcCWgFR
+ AfUCWgFRAfUCWgFRAfUCWgFRAfUBgQIAAf8DAAH/AV8BXgEyAfsBXwFeATIB+wFfAV4BMgH7Al8BMgH7
AYECAAH/A2AB4wNeAdMDXgHTA14B0wNdAdEDYAHU8AADCQELA00B+gJtAVEB9wHwAaIBAAH/AfABogEA
Af8B8AGiAQAB/wHwAaIBAAH/AYcCAAH/A1wB+AHwAaIBAAH/AfABogEAAf8B8AGiAQAB/wHwAaIBAAH/
AwAB/wM4AVwMAAM+AWoDDgES8AADCQELA00B+gNcAfgB6gGeAQAB/wHqAZ4BAAH/AeoBngEAAf8B6gGe
@@ -159,20 +159,19 @@
AfkDagH5AwAB/wM4AVwMAAM1AVYDRgF98AADBwEJA00B+gGDAkAB/QFqAWgBRwH5AWoBaAFHAfkBagFo
AUcB+QFqAWgBRwH5AYECAAH/A00B+gFqAWgBRwH5AWoBaAFHAfkBagFoAUcB+QFqAWkBRgH5AYECAAH/
A1kBvgNPAZkDTwGZA08BmQNYAbcDUQGf8AAEAgNJAYUDSQGIA0kBiANJAYgDSQGIA0kBiAGLAgAB/wGP
- AkAB/QKAAX4B/gKAAX4B/gKAAX4B/gGkAY0BQAH9AYsCAAH/AaYBmQGDAf0BqAGlAZYB/QGoAaUBlgH9
- AagBpQGWAf0DgAH+AZMBggEAAf//AA0AAZMBggEAAf8DYAHzAf4B+gH7Af8B/gH6AfsB/wH+AfoB+wH/
- Af4B+gH7Af8BmwGLAQAB/wMrAfwB/gH6AfsB/wH+AfoB+wH/Af4B+gH7Av8C/QH/AZMBggEAAf//AA0A
- AZMBggEAAf8DYAHzAf4B+wH8Af8B/gH7AfwB/wH+AfsB/AH/AfsB+AH5Af8BmwGLAQAB/wMrAfwB/gH7
- AfwB/wH+AfsB/AH/Af4B+wH8Av8C/QH/AZMBggEAAf//AA0AAm0BbAH3A1wB+AOAAf4DgAH+A4AB/gOA
- Af4BmAGHAQAB/wMrAfwB1AHNAcIB/wHUAc0BwgH/AdQBzQHCAf8DgAH+AZMBggEAAf//AAkAAwMBBANQ
- AZoBkgGCAQAB/wKAAW4B/gKAAW4B/gKAAW4B/gGTAYIBAAH/AZMBggEAAf8BjgGBAQAB/wGTAYIBAAH/
- AZMBggEAAf8BkwGCAQAB/wKAAW4B/gNaAb3/AAkAAwMBBAMSARcDIwEzAyMBMwMjATMDIwEzAyMBMwMj
- ATMDIwEzAyMBMwMjATMDIwEzAyMBMwMWAR7/AA0AAwUBBgMEAQUDBAEFAwQBBQMEBAUBBgMFAQYDBQEG
- AwUBBgMFAQYDBQEGAwUBBgMDAQTwAAFCAU0BPgcAAT4DAAEoAwABUAMAARQDAAEBAQABAQUAAfAXAAP/
- AQAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/
- BwAB/gEAAQ8C/wcAAYABAAEPAv8JAAEPAv8IAAEBAc8C/wgAAQEBzwL/CAABAQHPAv8JAAEPAv8JAAEP
- Av8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH8AQABDwL/BwAB/AEAAQ8C/wcAAf4BAAEP
- Av8HAAs=
+ AkAB/QOAAf4DgAH+A4AB/gGkAY0BQAH9AYsCAAH/AaYBmQGDAf0BqAGlAZYB/QGoAaUBlgH9AagBpQGW
+ Af0DgAH+AZMBggEAAf//AA0AAZMBggEAAf8DYAHzAf4B+gH7Af8B/gH6AfsB/wH+AfoB+wH/Af4B+gH7
+ Af8BmwGLAQAB/wMrAfwB/gH6AfsB/wH+AfoB+wH/Af4B+gH7Av8C/QH/AZMBggEAAf//AA0AAZMBggEA
+ Af8DYAHzAf4B+wH8Af8B/gH7AfwB/wH+AfsB/AH/AfsB+AH5Af8BmwGLAQAB/wMrAfwB/gH7AfwB/wH+
+ AfsB/AH/Af4B+wH8Av8C/QH/AZMBggEAAf//AA0AAm0BbAH3A1wB+AOAAf4DgAH+A4AB/gOAAf4BmAGH
+ AQAB/wMrAfwB1AHNAcIB/wHUAc0BwgH/AdQBzQHCAf8DgAH+AZMBggEAAf//AAkAAwMBBANQAZoBkgGC
+ AQAB/wKAAXMB/gKAAXMB/gKAAXMB/gGTAYIBAAH/AZMBggEAAf8BjgGBAQAB/wGTAYIBAAH/AZMBggEA
+ Af8BkwGCAQAB/wKAAXMB/gNaAb3/AAkAAwMBBAMSARcDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEz
+ AyMBMwMjATMDIwEzAyMBMwMWAR7/AA0AAwUBBgMEAQUDBAEFAwQBBQMEBAUBBgMFAQYDBQEGAwUBBgMF
+ AQYDBQEGAwUBBgMDAQTwAAFCAU0BPgcAAT4DAAEoAwABUAMAARQDAAEBAQABAQUAAfAXAAP/AQAB/gEA
+ AQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEA
+ AQ8C/wcAAYABAAEPAv8JAAEPAv8IAAEBAc8C/wgAAQEBzwL/CAABAQHPAv8JAAEPAv8JAAEPAv8HAAH+
+ AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH8AQABDwL/BwAB/AEAAQ8C/wcAAf4BAAEPAv8HAAs=
diff --git a/AIMS/OperationDoing/AnasRecordBill/frmFactEventsNew.cs b/AIMS/OperationDoing/AnasRecordBill/frmFactEventsNew.cs
index cb5e498..8c150df 100644
--- a/AIMS/OperationDoing/AnasRecordBill/frmFactEventsNew.cs
+++ b/AIMS/OperationDoing/AnasRecordBill/frmFactEventsNew.cs
@@ -609,8 +609,8 @@ namespace AIMS.PublicUI.UI
events.UseRate += 1;
BEvents.Update(events);
}
- EventParam();
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
+ EventParam();
//this.Close();
}
diff --git a/AIMS/OperationDoing/AnasRecordBill/frmFactOutputLiquidsNew.cs b/AIMS/OperationDoing/AnasRecordBill/frmFactOutputLiquidsNew.cs
index 6eb585b..5b137e2 100644
--- a/AIMS/OperationDoing/AnasRecordBill/frmFactOutputLiquidsNew.cs
+++ b/AIMS/OperationDoing/AnasRecordBill/frmFactOutputLiquidsNew.cs
@@ -321,8 +321,7 @@ namespace AIMS.PublicUI.UI
}
}
}
- #endregion
- #region 保存或修改出量 2016-08-5 GZ
+ #endregion
foreach (DataGridViewRow dr in dgvOutput.Rows)
{
if (dr.Cells["OutputName"].EditedFormattedValue.ToString() == "" || dr.Cells["Dose"].EditedFormattedValue.ToString() == "")
@@ -391,9 +390,8 @@ namespace AIMS.PublicUI.UI
}
}
- MessageBox.Show("保存成功!");
- //this.Close();
- #endregion
+ new frmMessageBox().Show();
+ //this.Close();
}
#region DataGridView数字单元格验证 GZ
public DataGridViewTextBoxEditingControl dgvTxt = null; // 声明 一个文本 CellEdit
diff --git a/AIMS/OperationDoing/oldSystemCode/FormUseDrugsReport.cs b/AIMS/OperationDoing/oldSystemCode/FormUseDrugsReport.cs
index c1b6c40..feb6799 100644
--- a/AIMS/OperationDoing/oldSystemCode/FormUseDrugsReport.cs
+++ b/AIMS/OperationDoing/oldSystemCode/FormUseDrugsReport.cs
@@ -766,7 +766,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
}
if (num > 0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
LoadDate();
}
}
@@ -854,7 +854,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
}
if(num>0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
}
}
diff --git a/AIMS/OperationDoing/oldSystemCode/frmInstrumentRegistration.cs b/AIMS/OperationDoing/oldSystemCode/frmInstrumentRegistration.cs
index 006fe26..cc2432c 100644
--- a/AIMS/OperationDoing/oldSystemCode/frmInstrumentRegistration.cs
+++ b/AIMS/OperationDoing/oldSystemCode/frmInstrumentRegistration.cs
@@ -102,7 +102,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
num = BInstrumentRegistration.Insert(ir);
if (num > 0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
if (selname != "" && selNumbers != "" && selname == ir.Name && selNumbers == ir.Numbers)
{
BinddgvInstrument();
diff --git a/AIMS/OperationDoing/oldSystemCode/frmTR.cs b/AIMS/OperationDoing/oldSystemCode/frmTR.cs
index 1185831..9ee1688 100644
--- a/AIMS/OperationDoing/oldSystemCode/frmTR.cs
+++ b/AIMS/OperationDoing/oldSystemCode/frmTR.cs
@@ -237,7 +237,7 @@ namespace AIMS.OperationDoing.AnasRecordBill
// if (n > 0)
// {
- // MessageBox.Show("保存成功!");
+ // new frmMessageBox().Show();
// }
// else
// {
diff --git a/AIMS/OperationFront/frmOperationApply.Designer.cs b/AIMS/OperationFront/frmOperationApply.Designer.cs
index 0f60820..89d1e6e 100644
--- a/AIMS/OperationFront/frmOperationApply.Designer.cs
+++ b/AIMS/OperationFront/frmOperationApply.Designer.cs
@@ -214,7 +214,7 @@
//
// txtMdrecNo
//
- this.txtMdrecNo.Location = new System.Drawing.Point(582, 9);
+ this.txtMdrecNo.Location = new System.Drawing.Point(591, 9);
this.txtMdrecNo.Name = "txtMdrecNo";
this.txtMdrecNo.Size = new System.Drawing.Size(100, 23);
this.txtMdrecNo.TabIndex = 15;
@@ -222,7 +222,7 @@
// label4
//
this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(534, 18);
+ this.label4.Location = new System.Drawing.Point(532, 13);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(49, 14);
this.label4.TabIndex = 14;
@@ -232,7 +232,7 @@
//
this.dtpEndDate.CustomFormat = "yyyy-MM-dd";
this.dtpEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
- this.dtpEndDate.Location = new System.Drawing.Point(405, 9);
+ this.dtpEndDate.Location = new System.Drawing.Point(417, 9);
this.dtpEndDate.Name = "dtpEndDate";
this.dtpEndDate.Size = new System.Drawing.Size(97, 23);
this.dtpEndDate.TabIndex = 13;
@@ -240,7 +240,7 @@
// label3
//
this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(382, 18);
+ this.label3.Location = new System.Drawing.Point(386, 13);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(21, 14);
this.label3.TabIndex = 12;
@@ -250,7 +250,7 @@
//
this.dtpBegInDate.CustomFormat = "yyyy-MM-dd";
this.dtpBegInDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
- this.dtpBegInDate.Location = new System.Drawing.Point(283, 9);
+ this.dtpBegInDate.Location = new System.Drawing.Point(271, 9);
this.dtpBegInDate.Name = "dtpBegInDate";
this.dtpBegInDate.Size = new System.Drawing.Size(97, 23);
this.dtpBegInDate.TabIndex = 11;
@@ -258,7 +258,7 @@
// label2
//
this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(219, 18);
+ this.label2.Location = new System.Drawing.Point(198, 13);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(63, 14);
this.label2.TabIndex = 10;
@@ -268,7 +268,7 @@
//
this.cboDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDepartment.FormattingEnabled = true;
- this.cboDepartment.Location = new System.Drawing.Point(55, 10);
+ this.cboDepartment.Location = new System.Drawing.Point(59, 10);
this.cboDepartment.Name = "cboDepartment";
this.cboDepartment.Size = new System.Drawing.Size(121, 22);
this.cboDepartment.TabIndex = 9;
@@ -276,7 +276,7 @@
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(19, 18);
+ this.label1.Location = new System.Drawing.Point(14, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 14);
this.label1.TabIndex = 8;
@@ -303,7 +303,7 @@
//
// btnFind
//
- this.btnFind.Location = new System.Drawing.Point(717, 9);
+ this.btnFind.Location = new System.Drawing.Point(714, 9);
this.btnFind.Name = "btnFind";
this.btnFind.Size = new System.Drawing.Size(66, 23);
this.btnFind.TabIndex = 16;
diff --git a/AIMS/OperationFront/frmOperationApply.cs b/AIMS/OperationFront/frmOperationApply.cs
index ceb2913..ecb5357 100644
--- a/AIMS/OperationFront/frmOperationApply.cs
+++ b/AIMS/OperationFront/frmOperationApply.cs
@@ -22,7 +22,7 @@ namespace AIMS.OperationFront.UI
{
dgv.AutoGenerateColumns = false;
dgv.BackgroundColor = System.Drawing.Color.Snow;
-
+
if (sysPass.IsValid == 1 && sysPass.Value == "1")
{ toolStripSeparator4.Visible = true; tsbAuditing.Visible = true; }
else
@@ -30,12 +30,21 @@ namespace AIMS.OperationFront.UI
dtpBegInDate.Value = DateTime.Parse(dtpBegInDate.Value.ToString("yyyy-MM-dd"));
dtpEndDate.Value = DateTime.Parse(dtpEndDate.Value.ToString("yyyy-MM-dd")).AddDays(4);
+ List list = new List();
+ list = BDepartment.GetDepartmentAllList();
+ list.Insert(0, new Department
+ {
+ Id = -1,
+ Name = "全部科室"
+ });
+ cboDepartment.DataSource = list;
cboDepartment.DisplayMember = "Name";
cboDepartment.ValueMember = "Id";
- cboDepartment.DataSource = BDepartment.GetDepartmentDataTable("IsValid=1 ");
cboDepartment.SelectedIndex = -1;
+ cboDepartment.Text = "全部科室";
- cboDepartment.Text = BDepartment.GetModel(AIMSExtension.PublicMethod.DepId).Name;
+ if (AIMSExtension.PublicMethod.RoleId == 5)
+ cboDepartment.Text = BDepartment.GetModel(AIMSExtension.PublicMethod.DepId).Name;
btnFind_Click(null, null);
}
@@ -75,8 +84,12 @@ namespace AIMS.OperationFront.UI
private void btnFind_Click(object sender, EventArgs e)
{
DataTable dt = BOperationApply.GetOperationFrontDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.ToString("yyyy-MM-dd"));
-
- DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, "State IN ('已申请','已审核') and ApplyDepName LIKE '%" + cboDepartment.Text + "%' AND MdrecNo LIKE '%" + txtMdrecNo.Text.Trim() + "%'", "");
+ string dept = "";
+ if (cboDepartment.Text!="" && cboDepartment.Text!="全部科室")
+ {
+dept = " and ApplyDepName LIKE '%" + cboDepartment.Text + "%' ";
+ }
+ DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, "State IN ('已申请','已审核') "+dept+"AND MdrecNo LIKE '%" + txtMdrecNo.Text.Trim() + "%'", "");
dgv.DataSource = Newdt;
for (int i = 0; i < dgv.Rows.Count; i++)
{
diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.cs b/AIMS/OperationFront/frmOperationSchedulePlan.cs
index 0ed13be..ff5054f 100644
--- a/AIMS/OperationFront/frmOperationSchedulePlan.cs
+++ b/AIMS/OperationFront/frmOperationSchedulePlan.cs
@@ -40,7 +40,7 @@ namespace AIMS.OperationFront.UI
private Panel panel3;
private GroupBox groupBox1;
private Panel panel2;
- private DataGridViewX dgvWorkers;
+ private DataGridView dgvWorkers;
private GroupBox v;
private Panel panel5;
private GroupBox groupBox2;
@@ -114,8 +114,8 @@ namespace AIMS.OperationFront.UI
private DataGridViewTextBoxColumn dataGridViewTextBoxColumn46;
private DataGridViewTextBoxColumn dataGridViewTextBoxColumn47;
private DataGridViewTextBoxColumn dataGridViewTextBoxColumn48;
- private DataGridViewX dgvInstrumentNurse;
- private DataGridViewX dgvTourNurse;
+ private DataGridView dgvInstrumentNurse;
+ private DataGridView dgvTourNurse;
private Panel tcOperationRoomsPage;
private Panel tcOperationRoomsPage2;
private Panel tcOperationRoomsPage1;
@@ -377,7 +377,7 @@ namespace AIMS.OperationFront.UI
this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
this.navigationPanePanel4 = new DevComponents.DotNetBar.NavigationPanePanel();
this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.dgvInstrumentNurse = new DevComponents.DotNetBar.Controls.DataGridViewX();
+ this.dgvInstrumentNurse = new DataGridView();
this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn49 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.iName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -399,7 +399,7 @@ namespace AIMS.OperationFront.UI
this.buttonInstrumentNurse = new DevComponents.DotNetBar.ButtonItem();
this.navigationPanePanel5 = new DevComponents.DotNetBar.NavigationPanePanel();
this.v = new System.Windows.Forms.GroupBox();
- this.dgvTourNurse = new DevComponents.DotNetBar.Controls.DataGridViewX();
+ this.dgvTourNurse = new DataGridView();
this.dataGridViewCheckBoxColumn4 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn60 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -421,7 +421,7 @@ namespace AIMS.OperationFront.UI
this.buttonItemTourNurse = new DevComponents.DotNetBar.ButtonItem();
this.navigationPanePanel2 = new DevComponents.DotNetBar.NavigationPanePanel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.dgvWorkers = new DevComponents.DotNetBar.Controls.DataGridViewX();
+ this.dgvWorkers = new DataGridView();
this.Check = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.oName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -1010,7 +1010,6 @@ namespace AIMS.OperationFront.UI
this.dgvInstrumentNurse.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvInstrumentNurse.Size = new System.Drawing.Size(295, 450);
this.dgvInstrumentNurse.TabIndex = 4;
- this.dgvInstrumentNurse.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_CellClick);
this.dgvInstrumentNurse.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick);
//
// dataGridViewCheckBoxColumn3
@@ -1352,7 +1351,6 @@ namespace AIMS.OperationFront.UI
this.dgvTourNurse.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvTourNurse.Size = new System.Drawing.Size(295, 450);
this.dgvTourNurse.TabIndex = 4;
- this.dgvTourNurse.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_CellClick);
this.dgvTourNurse.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick);
//
// dataGridViewCheckBoxColumn4
@@ -1692,7 +1690,6 @@ namespace AIMS.OperationFront.UI
this.dgvWorkers.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvWorkers.Size = new System.Drawing.Size(295, 453);
this.dgvWorkers.TabIndex = 3;
- this.dgvWorkers.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_CellClick);
this.dgvWorkers.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick);
//
// Check
@@ -3814,19 +3811,19 @@ namespace AIMS.OperationFront.UI
private readonly static object _Sync = new object();
public void LoadOperationInfo()
{
- Task.Factory.StartNew(() =>
+ //Task.Factory.StartNew(() =>
+ //{
+ // lock (_Sync)
+ // {
+ foreach (ucPlanOperationRoomCard item in ucOpeRooms)
{
- lock (_Sync)
- {
- foreach (ucPlanOperationRoomCard item in ucOpeRooms)
- {
- item.PlanOperationTime = dtpSearchTime.Value;
- DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "OperationRoomId ='" + item.OperationRoomId + "' and State <> '˻' ", "");
- item.LoadInfo(Newdt);
- }
- SelectPanel.Invalidate();
- }
- });
+ item.PlanOperationTime = dtpSearchTime.Value;
+ DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "OperationRoomId ='" + item.OperationRoomId + "' and State <> '˻' ", "");
+ item.LoadInfo(Newdt);
+ }
+ //SelectPanel.Invalidate();
+ // }
+ //});
}
public void LoadOperationInfo(int UpdateRoom)
@@ -3839,7 +3836,7 @@ namespace AIMS.OperationFront.UI
DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "OperationRoomId ='" + item.OperationRoomId + "' and State <> '˻' ", "");
item.LoadInfo(Newdt);
}
- SelectPanel.Invalidate();
+ //SelectPanel.Invalidate();
}
public void LoadOperationInfoDgv(int UpdateRoom)
{
@@ -3852,7 +3849,7 @@ namespace AIMS.OperationFront.UI
item.LoadInfo(Newdt);
item.FillRoomDetail();
}
- SelectPanel.Invalidate();
+ //SelectPanel.Invalidate();
}
@@ -3933,21 +3930,21 @@ namespace AIMS.OperationFront.UI
#region dgvѡԱ
private void dgv_CellClick(object sender, DataGridViewCellEventArgs e)
{
- RoomCardManage.SelectDgv = sender as DataGridView;
- if (RoomCardManage.SelectDgv.CurrentRow == null || e.RowIndex <= -1) return;
+ //RoomCardManage.SelectDgv = sender as DataGridView;
+ //if (RoomCardManage.SelectDgv.CurrentRow == null || e.RowIndex <= -1) return;
- foreach (DataGridViewRow item in RoomCardManage.SelectDgv.SelectedRows)
- {
- DataGridViewCell senderdgvr = item.Cells[0];
- senderdgvr.Value = (senderdgvr.EditedFormattedValue.ToString() == "True") ? false : true;
- }
+ //foreach (DataGridViewRow item in RoomCardManage.SelectDgv.SelectedRows)
+ //{
+ // DataGridViewCell senderdgvr = item.Cells[0];
+ // senderdgvr.Value = (senderdgvr.EditedFormattedValue.ToString() == "True") ? false : true;
+ //}
- if (RoomCardManage.SelectDgv.CurrentRow == null) return;
- if (RoomCardManage.SelectIds == null) RoomCardManage.SelectIds = new List();
- int id = Convert.ToInt32(RoomCardManage.SelectDgv.CurrentRow.Cells[1].Value);
- RoomCardManage.SelectIds.Clear();
- RoomCardManage.SelectIds.Add(id);
- //RoomCardManage.SelectIds = GetSelectIds();
+ //if (RoomCardManage.SelectDgv.CurrentRow == null) return;
+ //if (RoomCardManage.SelectIds == null) RoomCardManage.SelectIds = new List();
+ //int id = Convert.ToInt32(RoomCardManage.SelectDgv.CurrentRow.Cells[1].Value);
+ //RoomCardManage.SelectIds.Clear();
+ //RoomCardManage.SelectIds.Add(id);
+ ////RoomCardManage.SelectIds = GetSelectIds();
}
///
@@ -4182,8 +4179,8 @@ namespace AIMS.OperationFront.UI
}
private void btnPlan_Click(object sender, EventArgs e)
- {
- frmSelectiveOperationsPrint frm = new frmSelectiveOperationsPrint();
+ {
+ frmSelectiveOperationsPrint frm = new frmSelectiveOperationsPrint();
frm.beginTime = dtpSearchTime.Value.Date;
frm.endTime = dtpSearchTime.Value.Date.AddHours(23).AddMinutes(59);
frm.Show();
@@ -4351,7 +4348,7 @@ namespace AIMS.OperationFront.UI
{
SchedulingTable = BPerson.GetSchedulingForSelect(dtpSearchTime.Value, "һʿ");//SSSDept[0].Id.Value
RoomCardManage.SelectDgv.DataSource = SchedulingTable;
- }
+ }
}
public enum workerType
{
@@ -4426,14 +4423,14 @@ namespace AIMS.OperationFront.UI
private List lstOrderStr = new List { "̨", "", "סԺ", "", "ҽ", "", "ʱ" };
private void dgvWorkers_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
+ if (RoomCardManage.lastSelectOpeRoom == null) return;
+
+ if (RoomCardManage.SelectIds == null) RoomCardManage.SelectIds = new List();
+ int id = Convert.ToInt32(RoomCardManage.SelectDgv.CurrentRow.Cells[1].Value);
+ RoomCardManage.SelectIds.Clear();
+ RoomCardManage.SelectIds.Add(id);
+
int iRet = 0;
- if (RoomCardManage.SelectIds.Count() == 0)
- return;
- if (RoomCardManage.lastSelectOpeRoom == null) return;
- //if (dgvDetail.PrimaryGrid.Rows.Count == 0)
- //{
- // return;
- //}
int rowId = e.RowIndex;
CurrentRoom = RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value;
if (RoomCardManage.SelectDgv != dgvApplyOrDoctor)
@@ -4480,11 +4477,11 @@ namespace AIMS.OperationFront.UI
RoomCardManage.WriteMsg(rtbLog, outMsg);
LoadOperationInfoDgv(CurrentRoom);
- RoomCardManage.SelectDgv.Rows[rowId].Selected = true;
- if (RoomCardManage.SelectDgv.Rows[rowId].Displayed == false)
- {
- RoomCardManage.SelectDgv.FirstDisplayedScrollingRowIndex = rowId;
- }
+ //RoomCardManage.SelectDgv.Rows[rowId].Selected = true;
+ //if (RoomCardManage.SelectDgv.Rows[rowId].Displayed == false)
+ //{
+ // RoomCardManage.SelectDgv.FirstDisplayedScrollingRowIndex = rowId;
+ //}
#endregion
}
}
diff --git a/AIMS/OremrUserControl/ucDocument.cs b/AIMS/OremrUserControl/ucDocument.cs
index e326255..1f59c3b 100644
--- a/AIMS/OremrUserControl/ucDocument.cs
+++ b/AIMS/OremrUserControl/ucDocument.cs
@@ -1,5 +1,6 @@
using AIMS.DocManager;
using AIMSBLL;
+using AIMSExtension;
using DCSoft.Writer;
using DCSoft.Writer.Data;
using DCSoft.Writer.Dom;
@@ -290,7 +291,7 @@ namespace AIMS.OremrUserControl
else
{
DocumentDAL.InsertPrintDocument(this.DModel);
- //MessageBox.Show("保存成功!");
+ //new frmMessageBox().Show();
}
if (RefreshUc != null)
{
@@ -312,6 +313,8 @@ namespace AIMS.OremrUserControl
string strH = hf == null ? "" : hf.Text;
BOperationApply.UpdateASA(Patient.ApplyId, strASA, strH);
}
+
+ new frmMessageBox().Show();
}
catch
{
diff --git a/AIMS/PublicUI/frmAnaesthesiaDrugSelect.cs b/AIMS/PublicUI/frmAnaesthesiaDrugSelect.cs
index 351b8a8..d5c12ea 100644
--- a/AIMS/PublicUI/frmAnaesthesiaDrugSelect.cs
+++ b/AIMS/PublicUI/frmAnaesthesiaDrugSelect.cs
@@ -66,10 +66,10 @@ namespace AIMS.PublicUI.UI
int index = this.dgvY.Rows.Add();
this.dgvY.Rows[index].Cells["yId"].Value = dr["Id"].ToString();
this.dgvY.Rows[index].Cells["yName"].Value = dr["Name"].ToString();
- //if (dr["DOSEPER"] != null && dr["DOSEPER"].ToString() != "") this.dgvY.Rows[index].Cells["DOSEPER"].Value = SetDOSEPER(dr["DOSEPER"].ToString());
- //if (dr["DOSEPER2"] != null && dr["DOSEPER2"].ToString() != "") this.dgvY.Rows[index].Cells["DOSEPER2"].Value = SetDOSEPER(dr["DOSEPER2"].ToString());
- //if (dr["DOSEPER3"] != null && dr["DOSEPER3"].ToString() != "") this.dgvY.Rows[index].Cells["DOSEPER3"].Value = SetDOSEPER(dr["DOSEPER3"].ToString());
this.dgvY.Rows[index].Cells["yspec"].Value = dr["Stand"].ToString();
+ if (dr["UseDose1"] != null && dr["UseDose1"].ToString() != "") this.dgvY.Rows[index].Cells["DOSEPER"].Value = SetDOSEPER(dr["UseDose1"].ToString());
+ if (dr["UseDose2"] != null && dr["UseDose2"].ToString() != "") this.dgvY.Rows[index].Cells["DOSEPER2"].Value = SetDOSEPER(dr["UseDose2"].ToString());
+ if (dr["UseDose3"] != null && dr["UseDose3"].ToString() != "") this.dgvY.Rows[index].Cells["DOSEPER3"].Value = SetDOSEPER(dr["UseDose3"].ToString());
}
}
private void BindDgv(DataTable dt)
@@ -84,9 +84,9 @@ namespace AIMS.PublicUI.UI
this.dgvD.Rows[index].Cells["Index"].Value = num;
num++;
this.dgvD.Rows[index].Cells["oName"].Value = dr["Name"].ToString();
- //this.dgvD.Rows[index].Cells["dDOSEPER"].Value = dr["DOSEPER"].ToString();
- //this.dgvD.Rows[index].Cells["dDOSEPER2"].Value = dr["DOSEPER2"].ToString();
- //this.dgvD.Rows[index].Cells["dDOSEPER3"].Value = dr["DOSEPER3"].ToString();
+ this.dgvD.Rows[index].Cells["dDOSEPER"].Value = dr["UseDose1"].ToString();
+ this.dgvD.Rows[index].Cells["dDOSEPER2"].Value = dr["UseDose2"].ToString();
+ this.dgvD.Rows[index].Cells["dDOSEPER3"].Value = dr["UseDose3"].ToString();
this.dgvD.Rows[index].Cells["ospec"].Value = dr["Stand"].ToString();
}
}
@@ -130,9 +130,9 @@ namespace AIMS.PublicUI.UI
DataRow dr = pdt.NewRow();
dr["Id"] = Convert.ToInt32(dt.Rows[i]["Id"]);
dr["Name"] = dt.Rows[i]["Name"].ToString();
- //dr["DOSEPER"] = dt.Rows[i]["DOSEPER"];
- //dr["DOSEPER2"] = dt.Rows[i]["DOSEPER2"];
- //dr["DOSEPER3"] = dt.Rows[i]["DOSEPER3"];
+ dr["UseDose1"] = dt.Rows[i]["UseDose1"];
+ dr["UseDose2"] = dt.Rows[i]["UseDose2"];
+ dr["UseDose3"] = dt.Rows[i]["UseDose3"];
dr["Stand"] = dt.Rows[i]["Stand"];
pdt.Rows.Add(dr);
}
@@ -205,10 +205,10 @@ namespace AIMS.PublicUI.UI
{
ydr["Id"] = Convert.ToInt32(dr["Id"]);
ydr["Name"] = dr["Name"].ToString();
- //if (dr["DOSEPER"] != null && dr["DOSEPER"].ToString() != "") ydr["DOSEPER"] = SetDOSEPER(dr["DOSEPER"].ToString());
- //if (dr["DOSEPER2"] != null && dr["DOSEPER2"].ToString() != "") ydr["DOSEPER2"] = SetDOSEPER(dr["DOSEPER2"].ToString());
- //if (dr["DOSEPER3"] != null && dr["DOSEPER3"].ToString() != "") ydr["DOSEPER3"] = SetDOSEPER(dr["DOSEPER3"].ToString());
if (dr["Stand"] != null && dr["Stand"].ToString() != "") ydr["Stand"] = dr["Stand"].ToString();
+ if (dr["UseDose1"] != null && dr["UseDose1"].ToString() != "") ydr["DOSEPER"] = SetDOSEPER(dr["UseDose1"].ToString());
+ if (dr["UseDose2"] != null && dr["UseDose2"].ToString() != "") ydr["DOSEPER2"] = SetDOSEPER(dr["UseDose2"].ToString());
+ if (dr["UseDose3"] != null && dr["UseDose3"].ToString() != "") ydr["DOSEPER3"] = SetDOSEPER(dr["UseDose3"].ToString());
ydt.Rows.Add(ydr);
break;
}
@@ -265,7 +265,7 @@ namespace AIMS.PublicUI.UI
AnaesthesiaEvents.TheEventsId = applianceId;
int num = BAnaesthesiaEvents.Update(AnaesthesiaEvents);
if (num > 0)
- {
+ {
this.Close();
}
}
@@ -290,10 +290,10 @@ namespace AIMS.PublicUI.UI
{
ydr["Id"] = row["Id"];
ydr["Name"] = row["Name"];
- //ydr["DOSEPER"] = row["DOSEPER"];
- //ydr["DOSEPER2"] = row["DOSEPER2"];
- //ydr["DOSEPER3"] = row["DOSEPER3"];
ydr["Stand"] = row["Stand"];
+ ydr["UseDose1"] = row["UseDose1"];
+ ydr["UseDose2"] = row["UseDose2"];
+ ydr["UseDose3"] = row["UseDose3"];
}
ydt.Rows.Add(ydr);
break;
@@ -309,7 +309,9 @@ namespace AIMS.PublicUI.UI
//判断类型
if (dgvY.CurrentCell != null)
{
- if (dgvY.CurrentCell.ColumnIndex == 3)
+ dgvTxtName = (DataGridViewTextBoxEditingControl)e.Control; // 得到单元格
+ int id = Convert.ToInt32(dgvY.CurrentRow.Cells["yId"].Value);
+ if (dgvY.CurrentCell.ColumnIndex == 4 || dgvY.CurrentCell.ColumnIndex == 5 || dgvY.CurrentCell.ColumnIndex == 6)
{
dgvTxtName = (DataGridViewTextBoxEditingControl)e.Control; // 得到单元格
dgvTxtName.KeyPress -= new KeyPressEventHandler(dgvTxt_KeyPress); // 绑定事件
@@ -397,6 +399,28 @@ namespace AIMS.PublicUI.UI
}
+ }
+ private void dgvY_CellEndEdit(object sender, DataGridViewCellEventArgs e)
+ {
+ //判断类型
+ if (e.ColumnIndex ==4 ||e.ColumnIndex ==5 || e.ColumnIndex ==6 )
+ {
+ int id = Convert.ToInt32(dgvY.Rows[e.RowIndex].Cells["yId"].Value);
+ string value = dgvY.Rows[e.RowIndex].Cells[e.ColumnIndex].Value==null?"":dgvY.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
+ if (e.ColumnIndex == 4)
+ {
+ BDrugs.Update(" UseDose1=@UseDose1 where Id=@Id", new ParameterList("@UseDose1", value, "@Id", id));
+ }
+ else if (e.ColumnIndex == 5)
+ {
+ BDrugs.Update(" UseDose2=@UseDose2 where Id=@Id", new ParameterList("@UseDose2", value, "@Id", id));
+ }
+ else if (e.ColumnIndex == 6)
+ {
+ BDrugs.Update(" UseDose3=@UseDose3 where Id=@Id", new ParameterList("@UseDose3", value, "@Id", id));
+ }
+ }
+
}
}
}
diff --git a/AIMS/PublicUI/frmAnaesthesiaDrugSelect.designer.cs b/AIMS/PublicUI/frmAnaesthesiaDrugSelect.designer.cs
index 6a20308..c51d47f 100644
--- a/AIMS/PublicUI/frmAnaesthesiaDrugSelect.designer.cs
+++ b/AIMS/PublicUI/frmAnaesthesiaDrugSelect.designer.cs
@@ -32,11 +32,11 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAnaesthesiaDrugSelect));
this.panel1 = new System.Windows.Forms.Panel();
+ this.buttonX3 = new DevComponents.DotNetBar.ButtonX();
+ this.buttonX4 = new DevComponents.DotNetBar.ButtonX();
this.txtQuery = new DevComponents.DotNetBar.Controls.TextBoxX();
this.label3 = new System.Windows.Forms.Label();
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
- this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
- this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.btnSave = new DevComponents.DotNetBar.ButtonX();
this.panel2 = new System.Windows.Forms.Panel();
this.lblPage = new System.Windows.Forms.Label();
@@ -49,20 +49,20 @@
this.ySelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.yId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.yName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.yspec = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DOSEPER = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DOSEPER2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DOSEPER3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.yspec = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.dgvD = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dDOSEPER = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dDOSEPER2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dDOSEPER3 = 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.ospec = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dDOSEPER = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dDOSEPER2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dDOSEPER3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.groupBox2.SuspendLayout();
@@ -75,19 +75,43 @@
//
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel1.Controls.Add(this.buttonX3);
+ this.panel1.Controls.Add(this.buttonX4);
this.panel1.Controls.Add(this.txtQuery);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.btnCancel);
- this.panel1.Controls.Add(this.buttonX2);
- this.panel1.Controls.Add(this.buttonX1);
this.panel1.Controls.Add(this.btnSave);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(964, 53);
+ this.panel1.Size = new System.Drawing.Size(1101, 53);
this.panel1.TabIndex = 13;
//
+ // buttonX3
+ //
+ this.buttonX3.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.buttonX3.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.buttonX3.Location = new System.Drawing.Point(552, 10);
+ this.buttonX3.Name = "buttonX3";
+ this.buttonX3.Size = new System.Drawing.Size(34, 30);
+ this.buttonX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX3.TabIndex = 6;
+ this.buttonX3.Text = "↓";
+ this.buttonX3.Click += new System.EventHandler(this.buttonX2_Click);
+ //
+ // buttonX4
+ //
+ this.buttonX4.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.buttonX4.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.buttonX4.Location = new System.Drawing.Point(512, 10);
+ this.buttonX4.Name = "buttonX4";
+ this.buttonX4.Size = new System.Drawing.Size(34, 30);
+ this.buttonX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX4.TabIndex = 7;
+ this.buttonX4.Text = "↑";
+ this.buttonX4.Click += new System.EventHandler(this.buttonX1_Click);
+ //
// txtQuery
//
//
@@ -100,7 +124,7 @@
this.txtQuery.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.txtQuery.Location = new System.Drawing.Point(82, 15);
this.txtQuery.Name = "txtQuery";
- this.txtQuery.Size = new System.Drawing.Size(295, 21);
+ this.txtQuery.Size = new System.Drawing.Size(392, 21);
this.txtQuery.TabIndex = 4;
this.txtQuery.TextChanged += new System.EventHandler(this.txtQuery_TextChanged);
//
@@ -116,39 +140,17 @@
// btnCancel
//
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnCancel.Location = new System.Drawing.Point(621, 10);
+ this.btnCancel.Location = new System.Drawing.Point(716, 10);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 30);
this.btnCancel.TabIndex = 2;
this.btnCancel.Text = "取消";
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
- // buttonX2
- //
- this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.ImageFixedSize = new System.Drawing.Size(30, 30);
- this.buttonX2.Location = new System.Drawing.Point(486, 10);
- this.buttonX2.Name = "buttonX2";
- this.buttonX2.Size = new System.Drawing.Size(34, 30);
- this.buttonX2.TabIndex = 2;
- this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click);
- //
- // buttonX1
- //
- this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.buttonX1.ImageFixedSize = new System.Drawing.Size(30, 30);
- this.buttonX1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
- this.buttonX1.Location = new System.Drawing.Point(434, 10);
- this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(40, 30);
- this.buttonX1.TabIndex = 2;
- this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
- //
// btnSave
//
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnSave.Location = new System.Drawing.Point(540, 10);
+ this.btnSave.Location = new System.Drawing.Point(635, 10);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 30);
this.btnSave.TabIndex = 2;
@@ -170,7 +172,7 @@
this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel2.Location = new System.Drawing.Point(0, 53);
this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(964, 331);
+ this.panel2.Size = new System.Drawing.Size(1101, 331);
this.panel2.TabIndex = 14;
//
// lblPage
@@ -231,7 +233,7 @@
this.groupBox2.Controls.Add(this.dgvY);
this.groupBox2.Location = new System.Drawing.Point(519, 24);
this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(434, 293);
+ this.groupBox2.Size = new System.Drawing.Size(569, 293);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "已选";
@@ -247,10 +249,10 @@
this.ySelect,
this.yId,
this.yName,
+ this.yspec,
this.DOSEPER,
this.DOSEPER2,
- this.DOSEPER3,
- this.yspec});
+ this.DOSEPER3});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -266,8 +268,9 @@
this.dgvY.RowHeadersVisible = false;
this.dgvY.RowTemplate.Height = 23;
this.dgvY.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.dgvY.Size = new System.Drawing.Size(428, 268);
- this.dgvY.TabIndex = 0;
+ this.dgvY.Size = new System.Drawing.Size(563, 268);
+ this.dgvY.TabIndex = 0;
+ this.dgvY.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvY_CellEndEdit);
this.dgvY.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvY_EditingControlShowing);
//
// ySelect
@@ -291,12 +294,16 @@
this.yName.Name = "yName";
this.yName.ReadOnly = true;
//
+ // yspec
+ //
+ this.yspec.HeaderText = "规格";
+ this.yspec.Name = "yspec";
+ //
// DOSEPER
//
this.DOSEPER.HeaderText = "剂量1";
this.DOSEPER.Name = "DOSEPER";
this.DOSEPER.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.DOSEPER.Visible = false;
this.DOSEPER.Width = 60;
//
// DOSEPER2
@@ -304,7 +311,6 @@
this.DOSEPER2.HeaderText = "剂量2";
this.DOSEPER2.Name = "DOSEPER2";
this.DOSEPER2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.DOSEPER2.Visible = false;
this.DOSEPER2.Width = 60;
//
// DOSEPER3
@@ -312,14 +318,8 @@
this.DOSEPER3.HeaderText = "剂量3";
this.DOSEPER3.Name = "DOSEPER3";
this.DOSEPER3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
- this.DOSEPER3.Visible = false;
this.DOSEPER3.Width = 60;
//
- // yspec
- //
- this.yspec.HeaderText = "规格";
- this.yspec.Name = "yspec";
- //
// groupBox1
//
this.groupBox1.Controls.Add(this.dgvD);
@@ -339,13 +339,13 @@
this.dgvD.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvD.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
- this.dDOSEPER,
- this.dDOSEPER2,
- this.dDOSEPER3,
this.Index,
this.Select,
this.oName,
- this.ospec});
+ this.ospec,
+ this.dDOSEPER,
+ this.dDOSEPER2,
+ this.dDOSEPER3});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -372,24 +372,6 @@
this.Id.Name = "Id";
this.Id.Visible = false;
//
- // dDOSEPER
- //
- this.dDOSEPER.HeaderText = "剂量1";
- this.dDOSEPER.Name = "dDOSEPER";
- this.dDOSEPER.Visible = false;
- //
- // dDOSEPER2
- //
- this.dDOSEPER2.HeaderText = "剂量2";
- this.dDOSEPER2.Name = "dDOSEPER2";
- this.dDOSEPER2.Visible = false;
- //
- // dDOSEPER3
- //
- this.dDOSEPER3.HeaderText = "剂量3";
- this.dDOSEPER3.Name = "dDOSEPER3";
- this.dDOSEPER3.Visible = false;
- //
// Index
//
this.Index.HeaderText = "序号";
@@ -417,11 +399,29 @@
this.ospec.HeaderText = "规格";
this.ospec.Name = "ospec";
//
+ // dDOSEPER
+ //
+ this.dDOSEPER.HeaderText = "剂量1";
+ this.dDOSEPER.Name = "dDOSEPER";
+ this.dDOSEPER.Visible = false;
+ //
+ // dDOSEPER2
+ //
+ this.dDOSEPER2.HeaderText = "剂量2";
+ this.dDOSEPER2.Name = "dDOSEPER2";
+ this.dDOSEPER2.Visible = false;
+ //
+ // dDOSEPER3
+ //
+ this.dDOSEPER3.HeaderText = "剂量3";
+ this.dDOSEPER3.Name = "dDOSEPER3";
+ this.dDOSEPER3.Visible = false;
+ //
// frmAnaesthesiaDrugSelect
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(964, 384);
+ this.ClientSize = new System.Drawing.Size(1101, 384);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
@@ -459,22 +459,22 @@
private DevComponents.DotNetBar.ButtonX btnSave;
private DevComponents.DotNetBar.Controls.TextBoxX txtQuery;
private System.Windows.Forms.Label label3;
- private DevComponents.DotNetBar.ButtonX buttonX2;
- private DevComponents.DotNetBar.ButtonX buttonX1;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn ySelect;
+ private System.Windows.Forms.DataGridViewTextBoxColumn yId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn yName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn yspec;
+ private System.Windows.Forms.DataGridViewTextBoxColumn DOSEPER;
+ private System.Windows.Forms.DataGridViewTextBoxColumn DOSEPER2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn DOSEPER3;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
- private System.Windows.Forms.DataGridViewTextBoxColumn dDOSEPER;
- private System.Windows.Forms.DataGridViewTextBoxColumn dDOSEPER2;
- private System.Windows.Forms.DataGridViewTextBoxColumn dDOSEPER3;
private System.Windows.Forms.DataGridViewTextBoxColumn Index;
private System.Windows.Forms.DataGridViewCheckBoxColumn Select;
private System.Windows.Forms.DataGridViewTextBoxColumn oName;
private System.Windows.Forms.DataGridViewTextBoxColumn ospec;
- private System.Windows.Forms.DataGridViewCheckBoxColumn ySelect;
- private System.Windows.Forms.DataGridViewTextBoxColumn yId;
- private System.Windows.Forms.DataGridViewTextBoxColumn yName;
- private System.Windows.Forms.DataGridViewTextBoxColumn DOSEPER;
- private System.Windows.Forms.DataGridViewTextBoxColumn DOSEPER2;
- private System.Windows.Forms.DataGridViewTextBoxColumn DOSEPER3;
- private System.Windows.Forms.DataGridViewTextBoxColumn yspec;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dDOSEPER;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dDOSEPER2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dDOSEPER3;
+ private DevComponents.DotNetBar.ButtonX buttonX3;
+ private DevComponents.DotNetBar.ButtonX buttonX4;
}
}
\ No newline at end of file
diff --git a/AIMS/PublicUI/frmAnaesthesiaDrugSelect.resx b/AIMS/PublicUI/frmAnaesthesiaDrugSelect.resx
index 655ef91..633ee67 100644
--- a/AIMS/PublicUI/frmAnaesthesiaDrugSelect.resx
+++ b/AIMS/PublicUI/frmAnaesthesiaDrugSelect.resx
@@ -126,6 +126,9 @@
True
+
+ True
+
True
@@ -135,21 +138,9 @@
True
-
- True
-
True
-
- True
-
-
- True
-
-
- True
-
True
@@ -162,6 +153,15 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
diff --git a/AIMS/PublicUI/frmAnaesthesiaEventSelect.cs b/AIMS/PublicUI/frmAnaesthesiaEventSelect.cs
index 25effc9..787bf79 100644
--- a/AIMS/PublicUI/frmAnaesthesiaEventSelect.cs
+++ b/AIMS/PublicUI/frmAnaesthesiaEventSelect.cs
@@ -364,6 +364,6 @@ namespace AIMS.PublicUI.UI
}
- }
+ }
}
}
diff --git a/AIMS/PublicUI/frmAnaesthesiaEventSelect.designer.cs b/AIMS/PublicUI/frmAnaesthesiaEventSelect.designer.cs
index 4d08ad1..9affdfe 100644
--- a/AIMS/PublicUI/frmAnaesthesiaEventSelect.designer.cs
+++ b/AIMS/PublicUI/frmAnaesthesiaEventSelect.designer.cs
@@ -83,23 +83,25 @@
// buttonX2
//
this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX2.ImageFixedSize = new System.Drawing.Size(30, 30);
- this.buttonX2.Location = new System.Drawing.Point(479, 10);
+ this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.buttonX2.Location = new System.Drawing.Point(467, 10);
this.buttonX2.Name = "buttonX2";
this.buttonX2.Size = new System.Drawing.Size(34, 30);
+ this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.buttonX2.TabIndex = 5;
+ this.buttonX2.Text = "↓";
this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click);
//
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.buttonX1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
- this.buttonX1.ImageFixedSize = new System.Drawing.Size(30, 30);
- this.buttonX1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+ this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonX1.Location = new System.Drawing.Point(427, 10);
this.buttonX1.Name = "buttonX1";
- this.buttonX1.Size = new System.Drawing.Size(40, 30);
- this.buttonX1.TabIndex = 6;
+ this.buttonX1.Size = new System.Drawing.Size(34, 30);
+ this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX1.TabIndex = 5;
+ this.buttonX1.Text = "↑";
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
//
// txtQuery
diff --git a/AIMS/PublicUI/frmAnaesthesiaEvents.cs b/AIMS/PublicUI/frmAnaesthesiaEvents.cs
index 9cf2ef0..41e677c 100644
--- a/AIMS/PublicUI/frmAnaesthesiaEvents.cs
+++ b/AIMS/PublicUI/frmAnaesthesiaEvents.cs
@@ -171,7 +171,7 @@ namespace AIMS.PublicUI.UI
}
if (num > 0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
tsbCancel_Click(null, null);
}
}
diff --git a/AIMS/PublicUI/frmAppliance.cs b/AIMS/PublicUI/frmAppliance.cs
index 5f6db1b..8e8bdf1 100644
--- a/AIMS/PublicUI/frmAppliance.cs
+++ b/AIMS/PublicUI/frmAppliance.cs
@@ -210,7 +210,7 @@ namespace AIMS.PublicUI.UI
num = BAppliance.Insert(app);
if (num > 0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
tsbCancel_Click(null, null);
}
}
diff --git a/AIMS/PublicUI/frmApplianceSelect.cs b/AIMS/PublicUI/frmApplianceSelect.cs
index 3efeb11..7a20270 100644
--- a/AIMS/PublicUI/frmApplianceSelect.cs
+++ b/AIMS/PublicUI/frmApplianceSelect.cs
@@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Windows.Forms;
using AIMSBLL;
+using AIMSExtension;
using AIMSModel;
namespace AIMS.PublicUI.UI
@@ -281,7 +282,7 @@ namespace AIMS.PublicUI.UI
int num = BApplianceUseType.Update(_applianceUseType);
if (num > 0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
this.Close();
}
}
diff --git a/AIMS/PublicUI/frmApplianceUseType.cs b/AIMS/PublicUI/frmApplianceUseType.cs
index b0d2889..93ae395 100644
--- a/AIMS/PublicUI/frmApplianceUseType.cs
+++ b/AIMS/PublicUI/frmApplianceUseType.cs
@@ -192,7 +192,7 @@ namespace AIMS.PublicUI.UI
}
if (num > 0)
{
- MessageBox.Show("保存成功!");
+ new frmMessageBox().Show();
tsbCancel_Click(null, null);
}
}
diff --git a/AIMSEntity/BLL/Extension/BDrugs.cs b/AIMSEntity/BLL/Extension/BDrugs.cs
index 963ec98..72358f0 100644
--- a/AIMSEntity/BLL/Extension/BDrugs.cs
+++ b/AIMSEntity/BLL/Extension/BDrugs.cs
@@ -23,11 +23,11 @@ namespace AIMSBLL
string sql = string.Empty;
if (str == "")
{
- sql = string.Format("select Id,HelpCode,Name,Id code,Stand from Drugs where IsValid = 1");
+ sql = string.Format("select Id,HelpCode,Name,Id code,Stand,UseDose1,UseDose2,UseDose3 from Drugs where IsValid = 1");
}
else
{
- sql = string.Format("SELECT Top 26 e.Id,e.Name,Id code, Stand FROM Drugs e WHERE (Lower(Name) like '%{0}%' OR Lower(HelpCode) like '%{0}%') and IsValid = 1", str);
+ sql = string.Format("SELECT Top 26 e.Id,e.Name,Id code, Stand,UseDose1,UseDose2,UseDose3 FROM Drugs e WHERE (Lower(Name) like '%{0}%' OR Lower(HelpCode) like '%{0}%') and IsValid = 1", str);
}
return DBHelper.GetDataTable(sql);
}
@@ -61,24 +61,11 @@ namespace AIMSBLL
{
return DDrugs.GetModel(Id);
}
-
- public static DataTable GetDataTable(string DrugKind)
- {
- return DDrugs.GetDataTable(DrugKind);
- }
+
public static DataTable GetDataTable(string DrugKind,string Name)
{
return DDrugs.GetDataTable(DrugKind,Name);
- }
- public static DataTable GetDosageUnitDataTable(int UnitType)
- {
- return DDrugs.GetDosageUnitDataTable(UnitType);
- }
-
- public static DataTable GetDataTableByHelpCode(string HelpCode)
- {
- return DDrugs.GetDataTableByHelpCode(HelpCode);
- }
+ }
public static DataTable GetDrugsDataTable()
{
diff --git a/AIMSEntity/DAL/AutoGenerate/DDrugs.cs b/AIMSEntity/DAL/AutoGenerate/DDrugs.cs
index a4f26b1..9edff94 100644
--- a/AIMSEntity/DAL/AutoGenerate/DDrugs.cs
+++ b/AIMSEntity/DAL/AutoGenerate/DDrugs.cs
@@ -178,7 +178,7 @@ namespace AIMSDAL
/// 影响的记录行数
internal static int ExcuteUpdateCommand(SqlCommand cmd, Drugs drugs)
{
- cmd.CommandText = "update Drugs set Name=@Name,HelpCode=@HelpCode,DrugKind=@DrugKind,Stand=@Stand,DosageUnit=@DosageUnit,Unit=@Unit,UseRate=@UseRate,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate,Remark=@Remark,Channel=@Channel where Id=@Id";
+ cmd.CommandText = "update Drugs set Name=@Name,HelpCode=@HelpCode,DrugKind=@DrugKind,Stand=@Stand,DosageUnit=@DosageUnit,Unit=@Unit,UseRate=@UseRate,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate,Remark=@Remark,Channel=@Channel,UseDose1=@UseDose1,UseDose2=@UseDose2,UseDose3=@UseDose3 where Id=@Id";
//从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Name", drugs.Name == null ? (object)DBNull.Value : (object)drugs.Name));
cmd.Parameters.Add(new SqlParameter("@HelpCode", drugs.HelpCode == null ? (object)DBNull.Value : (object)drugs.HelpCode));
@@ -193,6 +193,9 @@ namespace AIMSDAL
cmd.Parameters.Add(new SqlParameter("@OperateDate", drugs.OperateDate.HasValue ? (object)drugs.OperateDate.Value : (object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Remark", drugs.Remark == null ? (object)DBNull.Value : (object)drugs.Remark));
cmd.Parameters.Add(new SqlParameter("@Channel", drugs.Channel == null ? (object)DBNull.Value : (object)drugs.Channel));
+ cmd.Parameters.Add(new SqlParameter("@UseDose1", drugs.UseDose1 == null ? (object)DBNull.Value : (object)drugs.UseDose1));
+ cmd.Parameters.Add(new SqlParameter("@UseDose2", drugs.UseDose2 == null ? (object)DBNull.Value : (object)drugs.UseDose2));
+ cmd.Parameters.Add(new SqlParameter("@UseDose3", drugs.UseDose3 == null ? (object)DBNull.Value : (object)drugs.UseDose3));
cmd.Parameters.Add(new SqlParameter("@Id", drugs.Id));
return cmd.ExecuteNonQuery();
}
@@ -649,6 +652,18 @@ namespace AIMSDAL
{
entity.Channel = dr["Channel"].ToString();
}
+ if (dr["UseDose1"] != System.DBNull.Value)
+ {
+ entity.UseDose1 = dr["UseDose1"].ToString();
+ }
+ if (dr["UseDose2"] != System.DBNull.Value)
+ {
+ entity.UseDose2 = dr["UseDose2"].ToString();
+ }
+ if (dr["UseDose3"] != System.DBNull.Value)
+ {
+ entity.UseDose3 = dr["UseDose3"].ToString();
+ }
return entity;
}
}
diff --git a/AIMSEntity/DAL/Extension/DDrugs.cs b/AIMSEntity/DAL/Extension/DDrugs.cs
index 598f568..9f43e5c 100644
--- a/AIMSEntity/DAL/Extension/DDrugs.cs
+++ b/AIMSEntity/DAL/Extension/DDrugs.cs
@@ -15,7 +15,7 @@ namespace AIMSDAL
{
StringBuilder strSql = new StringBuilder();
strSql.Append("insert into [Drugs](");
- strSql.Append("Name,HelpCode,DrugKind,Stand,DosageUnit,Unit,UseRate,IsValid,OperatorNo,OperatorName,OperateDate,Remark,Channel ");
+ strSql.Append("Name,HelpCode,DrugKind,Stand,DosageUnit,Unit,UseRate,IsValid,OperatorNo,OperatorName,OperateDate,Remark,Channel,UseDose1,UseDose2,UseDose3 ");
strSql.Append(")");
strSql.Append(" values (");
strSql.Append("'" + DrugsObj.Name + "',");
@@ -30,7 +30,10 @@ namespace AIMSDAL
strSql.Append("'" + DrugsObj.OperatorName + "',");
strSql.Append("'" + DrugsObj.OperateDate + "',");
strSql.Append("'" + DrugsObj.Remark + "',");
- strSql.Append("'" + DrugsObj.Channel + "'");
+ strSql.Append("'" + DrugsObj.Channel + "',");
+ strSql.Append("'" + DrugsObj.UseDose1 + "',");
+ strSql.Append("'" + DrugsObj.UseDose2 + "',");
+ strSql.Append("'" + DrugsObj.UseDose3 + "'");
strSql.Append(")");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
@@ -41,7 +44,7 @@ namespace AIMSDAL
Drugs DrugsObj = new Drugs();
StringBuilder strSql = new StringBuilder();
strSql.Append("select ");
- strSql.Append("Id,Name,HelpCode,DrugKind,Stand,DosageUnit,Unit,UseRate,IsValid,OperatorNo,OperatorName,OperateDate,Code,Remark,Channel ");
+ strSql.Append("Id,Name,HelpCode,DrugKind,Stand,DosageUnit,Unit,UseRate,IsValid,OperatorNo,OperatorName,OperateDate,Code,Remark,Channel,UseDose1,UseDose2,UseDose3 ");
strSql.Append(" from Drugs ");
strSql.Append(" where Id=" + Id + "");
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
@@ -70,6 +73,9 @@ namespace AIMSDAL
DrugsObj.Channel = ds.Tables[0].Rows[0]["Channel"].ToString();
DrugsObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
DrugsObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
+ DrugsObj.UseDose1 = ds.Tables[0].Rows[0]["UseDose1"].ToString();
+ DrugsObj.UseDose2 = ds.Tables[0].Rows[0]["UseDose2"].ToString();
+ DrugsObj.UseDose3 = ds.Tables[0].Rows[0]["UseDose3"].ToString();
if (ds.Tables[0].Rows[0]["OperateDate"].ToString() != "")
{
DrugsObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
@@ -81,7 +87,7 @@ namespace AIMSDAL
public static DataTable GetDataTable(string DrugKind)
{
StringBuilder strSql = new StringBuilder();
- strSql.Append("select [Id],[Name],[HelpCode],[DrugKind],[Stand],[DosageUnit],[Unit],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,UseRate,Code,Remark,Channel");
+ strSql.Append("select [Id],[Name],[HelpCode],[DrugKind],[Stand],[DosageUnit],[Unit],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,UseRate,Code,Remark,Channel,UseDose1,UseDose2,UseDose3");
strSql.Append(" FROM Drugs where DrugKind like '%" + DrugKind + "%'");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
@@ -89,7 +95,7 @@ namespace AIMSDAL
public static DataTable GetDataTable(string DrugKind, string Name)
{
StringBuilder strSql = new StringBuilder();
- strSql.Append("select [Id],[Name],[HelpCode],[DrugKind],[Stand],[DosageUnit],[Unit],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,UseRate,Code,Remark,Channel");
+ strSql.Append("select [Id],[Name],[HelpCode],[DrugKind],[Stand],[DosageUnit],[Unit],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,UseRate,Code,Remark,Channel,UseDose1,UseDose2,UseDose3");
strSql.Append(" FROM Drugs where DrugKind like '%" + DrugKind + "%' " + (Name == "" ? "" : "and (NAME LIKE '%" + Name + "%' OR HelpCode LIKE '%" + Name + "%') "));
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
@@ -97,20 +103,20 @@ namespace AIMSDAL
public static DataTable GetDosageUnitDataTable(int UnitType)
{
StringBuilder strSql = new StringBuilder();
- strSql.Append("select [Id],[Name],[HelpCode],CASE UnitType WHEN 1 THEN '剂量单位' when 2 then '包装单位' end as UnitType,CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid ,Code,Remark,Channel");
+ strSql.Append("select [Id],[Name],[HelpCode],CASE UnitType WHEN 1 THEN '剂量单位' when 2 then '包装单位' end as UnitType,CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid ,Code,Remark,Channel,UseDose1,UseDose2,UseDose3");
strSql.Append(" FROM DosageUnit WHERE UnitType=" + UnitType + " and IsValid=1");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetDataTableByHelpCode(string HelpCode)
{
- string strSql = "SELECT Id,Name,Stand,DosageUnit FROM dbo.Drugs WHERE (NAME LIKE '%" + HelpCode + "%' OR HelpCode LIKE '%" + HelpCode + "%')";
+ string strSql = "SELECT Id,Name,Stand,DosageUnit,UseDose1,UseDose2,UseDose3 FROM dbo.Drugs WHERE (NAME LIKE '%" + HelpCode + "%' OR HelpCode LIKE '%" + HelpCode + "%')";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetDrugsDataTable()
{
- string strSql = "SELECT TOP 21 e.Id, e.Name,e.Stand FROM Drugs e WHERE e.IsValid=1 ORDER BY e.UseRate DESC ";
+ string strSql = "SELECT TOP 21 e.Id, e.Name,e.Stand,e.UseDose1,e.UseDose2,e.UseDose3 FROM Drugs e WHERE e.IsValid=1 ORDER BY e.UseRate DESC ";
return HelperDB.DbHelperSQL.GetDataTable(strSql);
}
diff --git a/AIMSEntity/DAL/Extension/DOperationApply.cs b/AIMSEntity/DAL/Extension/DOperationApply.cs
index 62f1b5b..3709fc0 100644
--- a/AIMSEntity/DAL/Extension/DOperationApply.cs
+++ b/AIMSEntity/DAL/Extension/DOperationApply.cs
@@ -30,7 +30,7 @@ namespace AIMSDAL
strSql.Append("" + OperationApplyObj.IsNotPlanReturnOperation + ",");
strSql.Append("'" + OperationApplyObj.DiagnoseRemark + "',");
strSql.Append("'" + OperationApplyObj.OperationRemark + "',");
- strSql.Append("" + OperationApplyObj.OperationLevelId + ",");
+ strSql.Append("'" + OperationApplyObj.OperationLevelId + "',");
strSql.Append("'" + OperationApplyObj.Contagion + "',");
strSql.Append("'" + OperationApplyObj.Intern + "',");
strSql.Append("'" + OperationApplyObj.Other + "',");
diff --git a/AIMSEntity/DAL/Extension/DOrisPatient.cs b/AIMSEntity/DAL/Extension/DOrisPatient.cs
index 67cc508..bb835bb 100644
--- a/AIMSEntity/DAL/Extension/DOrisPatient.cs
+++ b/AIMSEntity/DAL/Extension/DOrisPatient.cs
@@ -39,8 +39,8 @@ namespace AIMSDAL
strSql.Append("'" + Oris_PatientObj.ContactsPhone + "',");
strSql.Append("'" + Oris_PatientObj.OperatorNo + "',");
strSql.Append("'" + Oris_PatientObj.OperatorName + "',");
- strSql.Append("'" + Oris_PatientObj.OperateDate + "'");
- strSql.Append("'" + Oris_PatientObj.PatientType + "',");
+ strSql.Append("'" + Oris_PatientObj.OperateDate + "',");
+ strSql.Append("'" + Oris_PatientObj.PatientType + "'");
strSql.Append(")");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
diff --git a/AIMSEntity/Model/AutoGenerate/Drugs.cs b/AIMSEntity/Model/AutoGenerate/Drugs.cs
index ca9566e..c4c084f 100644
--- a/AIMSEntity/Model/AutoGenerate/Drugs.cs
+++ b/AIMSEntity/Model/AutoGenerate/Drugs.cs
@@ -24,6 +24,9 @@ namespace AIMSModel
public string Code { get; set; }
public string Remark { get; set; }
public string Channel { get; set; }
+ public string UseDose1 { get; set; }
+ public string UseDose2 { get; set; }
+ public string UseDose3 { get; set; }
///
///
///
diff --git a/AIMSEntity/ObjectQuery/DrugsMap.cs b/AIMSEntity/ObjectQuery/DrugsMap.cs
index df876eb..b5d0b52 100644
--- a/AIMSEntity/ObjectQuery/DrugsMap.cs
+++ b/AIMSEntity/ObjectQuery/DrugsMap.cs
@@ -21,6 +21,11 @@ namespace AIMSObjectQuery
dictionary.Add("operatorno", "OperatorNo");
dictionary.Add("operatorname", "OperatorName");
dictionary.Add("operatedate", "OperateDate");
+ dictionary.Add("remark", "Remark");
+ dictionary.Add("channel", "Channel");
+ dictionary.Add("usedose1", "UseDose1");
+ dictionary.Add("usedose2", "UseDose2");
+ dictionary.Add("usedose3", "UseDose3");
}
#region IMap 成员
diff --git a/AIMSExtension/AIMSExtension.csproj b/AIMSExtension/AIMSExtension.csproj
index e25a1eb..455ede8 100644
--- a/AIMSExtension/AIMSExtension.csproj
+++ b/AIMSExtension/AIMSExtension.csproj
@@ -66,6 +66,12 @@
+
+ Form
+
+
+ frmMessageBox.cs
+
@@ -143,6 +149,9 @@
+
+ frmMessageBox.cs
+
ResXFileCodeGenerator
Resources.Designer.cs
diff --git a/AIMSExtension/frmMessageBox.cs b/AIMSExtension/frmMessageBox.cs
new file mode 100644
index 0000000..dfb93ae
--- /dev/null
+++ b/AIMSExtension/frmMessageBox.cs
@@ -0,0 +1,76 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Drawing.Drawing2D;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace AIMSExtension
+{
+ public partial class frmMessageBox : Form
+ {
+ public frmMessageBox()
+ {
+ InitializeComponent();
+ this.FormBorderStyle= FormBorderStyle.None;
+ }
+
+ public int Interval = 1200;
+ public frmMessageBox(string text, int _Interval = 1000)
+ {
+ InitializeComponent();
+ Interval = _Interval;
+ panelEx1.Text = text;
+ }
+
+ private void FrmDetermine_Load(object sender, EventArgs e)
+ {
+ System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();
+ timer.Tick += new System.EventHandler(this.timer_Tick);
+ timer.Interval = Interval;//2000毫秒
+ timer.Enabled = true;//控件生效
+ }
+
+ private void timer_Tick(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+ //private void SetWindowRegion()
+ //{
+ // GraphicsPath FormPath = new GraphicsPath();
+ // Rectangle rect = new Rectangle(0, 4, this.Width, this.Height - 4);
+ // FormPath = GetRoundedRectPath(rect, 10);
+ // this.Region = new Region(FormPath);
+ //}
+
+ //private GraphicsPath GetRoundedRectPath(Rectangle rect, int radius)
+ //{
+ // int diameter = radius;
+ // Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter));
+ // GraphicsPath path = new GraphicsPath();
+ // //左上角
+ // path.AddArc(arcRect, 180, 90);
+ // //右上角
+ // arcRect.X = rect.Right - diameter;
+ // path.AddArc(arcRect, 270, 90);
+ // //右下角
+ // arcRect.Y = rect.Bottom - diameter;
+ // path.AddArc(arcRect, 0, 90);
+ // //左下角
+ // arcRect.X = rect.Left;
+ // path.AddArc(arcRect, 90, 90);
+ // path.CloseFigure();
+ // return path;
+ //}
+
+ //protected override void OnResize(System.EventArgs e)
+ //{
+ // this.Region = null;
+ // SetWindowRegion();
+ //}
+ }
+}
diff --git a/AIMSExtension/frmMessageBox.designer.cs b/AIMSExtension/frmMessageBox.designer.cs
new file mode 100644
index 0000000..cb2cbf9
--- /dev/null
+++ b/AIMSExtension/frmMessageBox.designer.cs
@@ -0,0 +1,79 @@
+namespace AIMSExtension
+{
+ partial class frmMessageBox
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.timer1 = new System.Windows.Forms.Timer(this.components);
+ this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
+ this.SuspendLayout();
+ //
+ // panelEx1
+ //
+ this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
+ this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
+ this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panelEx1.Font = new System.Drawing.Font("微软雅黑", 13F);
+ this.panelEx1.Location = new System.Drawing.Point(0, 0);
+ this.panelEx1.Name = "panelEx1";
+ this.panelEx1.Size = new System.Drawing.Size(177, 87);
+ this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.panelEx1.Style.BackColor1.Color = System.Drawing.SystemColors.GradientActiveCaption;
+ this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.panelEx1.Style.GradientAngle = 90;
+ this.panelEx1.TabIndex = 1;
+ this.panelEx1.Text = "保存成功!";
+ //
+ // frmMessageBox
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
+ this.ClientSize = new System.Drawing.Size(177, 87);
+ this.ControlBox = false;
+ this.Controls.Add(this.panelEx1);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "frmMessageBox";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "系统提示";
+ this.Load += new System.EventHandler(this.FrmDetermine_Load);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ private System.Windows.Forms.Timer timer1;
+ private DevComponents.DotNetBar.PanelEx panelEx1;
+ }
+}
\ No newline at end of file
diff --git a/AIMSExtension/frmMessageBox.resx b/AIMSExtension/frmMessageBox.resx
new file mode 100644
index 0000000..1f666f2
--- /dev/null
+++ b/AIMSExtension/frmMessageBox.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/DocumentManagement/UI/frmTemplate.resx b/DocumentManagement/UI/frmTemplate.resx
index ffdef48..e1fa8a7 100644
--- a/DocumentManagement/UI/frmTemplate.resx
+++ b/DocumentManagement/UI/frmTemplate.resx
@@ -429,7 +429,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
- cgAAEnIBXmVb4wAAAZtJREFUOE+tkjFLw0AUx/sR/Ah+hIxCl4BLxyxCF6EgQlGE4FQKQlAKLkJw6iIE
+ cQAAEnEB89x6jgAAAZtJREFUOE+tkjFLw0AUx/sR/Ah+hIxCl4BLxyxCF6EgQlGE4FQKQlAKLkJw6iIE
JxfhEASXwi2COIVWJ5fDtm5ikqYRB/373iVt0ppB0IM/l9y93//evXuVfxmOp/BbtU582F2S6yPDUwP5
CLjXwMcXkJAmn0CYib95LaDZOpCo7wmtDM8Njs8DHRhnIAMRaZrBQRzDbEsYZgNWq8SA55iCGZrB/J/C
Uzy/RTDaAq1TBWvX+2lgn6k5zBlwJhqeJhgGE/RHIYx9oe9fbkAbxXtrOEkwCmMMxiHkk8LqjocGFbLU
@@ -992,7 +992,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACO
- GAAAAk1TRnQBSQFMAgEBIQEAAYgBCQGIAQkBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ GAAAAk1TRnQBSQFMAgEBIQEAAZABCQGQAQkBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAAZADAAEBAQABCAYAASQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@@ -3367,7 +3367,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wAAADsABataJCQAAAVZJREFUOE+tkMFLAkEUxv2DBO952EMX8TLnPS2B4EKHOQpdtsvacZcgvAgSSpAY
+ vwAADr8BOAVTJAAAAVZJREFUOE+tkMFLAkEUxv2DBO952EMX8TLnPS2B4EKHOQpdtsvacZcgvAgSSpAY
22KIB0EYqCQqsUsgiMNCm0W0UHTq8LVvCqGDq4IfDMO8+b7fezOpjWs0GqPpd/F3VJJS4qTl/6st1Mtb
BKdSw3v0MQ94Xh9icL8agORUPHTFrQrI5wgGt0BTqMtV1G4LOE4NYRiifz0EM/h6gJ54UM9onnfALQe6
bq4eJgVBqII0OnXf27fXA5DMUlmFWdFCT6zxgXL2Dbf1CWZNYR9PwEpD6NYI7qmEGL4mgyhsHkXQyxL5
@@ -3385,7 +3385,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wAAADsABataJCQAAAT5JREFUOE+9kSFPxEAQhftT+hPuJ1RWViIrkSuRK5ErK1eeXFm5ssmZNYSSQNgL
+ vwAADr8BOAVTJAAAAT5JREFUOE+9kSFPxEAQhftT+hPuJ1RWViIrkSuRK5ErK1eeXFm5ssmZNYSSQNgL
CSFBsA7cY2b27not5CpIeMkzzc733kyLP8v5iOyQ3QdYF/D4/IrDk8vi4aWs82i1xfi0X4dw6lJm6+GH
gFaZdQhXZvkRoOYIMcFYBzckWinb9vTNZd+/fM6BXPekLyAlIL7RIAGW0tuEzbXH7uFjgliqy7IDVack
7SKUjbCUvJTqMnhz5bC7e88Q3peVJD1JOq9h+3xc47LDmNCaKMPssrEHAO3Lw8dkcRfokPO/w28Y7gPB
@@ -3402,7 +3402,7 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wAAADsABataJCQAAAZRJREFUOE+1kqFuHDEURecP9hP2ExYWGgYaLjQMNAw0CFgVGQ40XGi40HBQZThS
+ vwAADr8BOAVTJAAAAZRJREFUOE+1kqFuHDEURecP9hP2ExYWGgYaLjQMNAw0CFgVGQ40XGi40HBQZThS
qtRRChYals3tfXYm2aQbVapUS0eWZuae5/c8w39ZKToIMTj8fHrEy+Pr6/v8DfHoXwneoJ5Do8we9lbB
HyxxbX9+engvlFCtEQupNSCMtu1f7y3y5OCshjM71ETxaQtr9J8CCQv+YBii8OxZ3aFMBnHUMHuF4LbI
foDdfxSEVRDgnWFFQfPoL7CipcDbLjA36r0grALpu7B65tHD5o2RMLiivuw+CEbXh1a4z+w/a9S4gQ9s
@@ -3678,7 +3678,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACW
- BQAAAk1TRnQBSQFMAwEBAAFIAQQBSAEEARABAAEQAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABQAMA
+ BQAAAk1TRnQBSQFMAwEBAAFQAQQBUAEEARABAAEQAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABQAMA
ARADAAEBAQABGAYAAQwVAAGcAZABigF7AWwBYwFyAWEBWAFxAWABVwFxAWABVwFxAWABVwFxAWABVwFx
AWABVwFxAWABVwFyAWEBWAF7AWwBYwGcAZABigHOAckBxpYAAa4BfAFvAdkBrQGdAdYBqAGaAdMBpgGY
AdIBpAGXAcwBoQGZAckBngGXAcYBnAGWAcQBmQGVAcEBlgGTAbYBkQGLAbgBjgGLAXwBbQFkAb8BtwG0
diff --git a/DrawGraph/AreaManage/AreaManageBase.cs b/DrawGraph/AreaManage/AreaManageBase.cs
index 28fc832..e8b7bf2 100644
--- a/DrawGraph/AreaManage/AreaManageBase.cs
+++ b/DrawGraph/AreaManage/AreaManageBase.cs
@@ -62,6 +62,9 @@ namespace DrawGraph
private string nameSpace = "";
private string instanceName = "";
+ public delegate void MouseWheelHandler(object sender, MouseEventArgs e);
+ public event MouseWheelHandler MouseWheelParam;
+
[JsonIgnore]
[XmlIgnore]
///
@@ -275,9 +278,7 @@ namespace DrawGraph
public virtual void KeyUp(ZedGraphControl sender, KeyEventArgs e)
{
}
- public virtual void zgcAnaesRecord_ContextMenuBuilder(ZedGraphControl sender, ContextMenuStrip menuStrip, Point mousePt, ZedGraphControl.ContextMenuObjectState objState)
- {
- }
+
///
/// 验证数据,正确返回真,如果子类不继承就直接返回真
///
@@ -286,6 +287,12 @@ namespace DrawGraph
{
return true;
}
+
+ //取消滚轮事件
+ public void numericUpDown1_MouseWheel(object sender, MouseEventArgs e)
+ {
+ MouseWheelParam(sender,e);
+ }
///
/// 把OperationRecord 里的数据绑定到到画板上
///
@@ -371,7 +378,7 @@ namespace DrawGraph
{
GetFileName();
- reVal = packManage.SaveFile(packManagerFileName,Id);
+ reVal = packManage.SaveFile(packManagerFileName, Id);
msgStr = packManage.MsgStr;
}
return reVal;
@@ -398,7 +405,7 @@ namespace DrawGraph
ParentId = parentId;
packManage = new PackObjManager(zedControl);
packManage.AllClear();
- reVal = packManage.LoadContent(packManagerFileName,ParentId );
+ reVal = packManage.LoadContent(packManagerFileName, ParentId);
packManage.ClassName = className;
msgStr = packManage.MsgStr;
diff --git a/DrawGraph/AreaManage/TempDataManage.cs b/DrawGraph/AreaManage/TempDataManage.cs
index 992e2b9..8f2ed58 100644
--- a/DrawGraph/AreaManage/TempDataManage.cs
+++ b/DrawGraph/AreaManage/TempDataManage.cs
@@ -156,8 +156,8 @@ namespace DrawGraph
ableEdit.CControl.GotFocus -= new EventHandler(txt_Focus);
ableEdit.CControl.GotFocus += new EventHandler(txt_Focus);
((TextBox)ableEdit.CControl).BorderStyle = BorderStyle.Fixed3D;
- //ableEdit.CControl.MouseWheel += new MouseEventHandler(numericUpDown1_MouseWheel);
- //ableEdit.CControl.MouseEnter += CControl_MouseEnter;
+
+ ableEdit.CControl.MouseWheel += new MouseEventHandler(numericUpDown1_MouseWheel);
}
ableEdit.CControl.Leave -= new EventHandler(txt_Leave);
ableEdit.CControl.Leave += new EventHandler(txt_Leave);
@@ -165,27 +165,14 @@ namespace DrawGraph
SetAbleEditView(ableEdit);
}
}
- }
-
- //private void CControl_MouseEnter(object sender, EventArgs e)
- //{
- // if (sender is TextBox)
- // {
- // ((TextBox)sender).Parent.Focus();
- // //h.Handled = false;
- // }
- //}
+ }
////取消滚轮事件
//void numericUpDown1_MouseWheel(object sender, MouseEventArgs e)
//{
- // if (sender is TextBox)
- // {
- // ((TextBox)sender).Parent.Focus();
- // //h.Handled = false;
- // }
+ // base.MouseWheelParam();
//}
-
+
private void txt_Focus(object sender, EventArgs e)
{
TextBox control = (TextBox)sender;
@@ -197,6 +184,7 @@ namespace DrawGraph
}
private void text_keyDown(object sender, KeyEventArgs e)
{
+ ((TextBox)sender).Enabled = true;
if (e.Modifiers.CompareTo(Keys.Control) == 0 && e.KeyCode == Keys.V)
{
string val = Clipboard.GetText();
diff --git a/DrawGraph/AreaManage/TemplateManage.cs b/DrawGraph/AreaManage/TemplateManage.cs
index 862e1da..fc7e0b3 100644
--- a/DrawGraph/AreaManage/TemplateManage.cs
+++ b/DrawGraph/AreaManage/TemplateManage.cs
@@ -37,7 +37,7 @@ namespace DrawGraph
private XmlUtil xmlOpe = new XmlUtil(System.Windows.Forms.Application.StartupPath + "\\AIMS.xml");
private TypesettingEnum typesetting = TypesettingEnum.Vertical;
private PageTypeEnum pageType = PageTypeEnum.A4;
-
+
public int LocationY
{
set
diff --git a/DrawGraph/ZedGraphControl.designer.cs b/DrawGraph/ZedGraphControl.designer.cs
index 9f92e04..d8262f7 100644
--- a/DrawGraph/ZedGraphControl.designer.cs
+++ b/DrawGraph/ZedGraphControl.designer.cs
@@ -63,7 +63,7 @@ namespace DrawGraph
this.Resize += new System.EventHandler( this.ZedGraphControl_ReSize );
this.KeyUp += new System.Windows.Forms.KeyEventHandler( this.ZedGraphControl_KeyUp );
this.KeyDown += new System.Windows.Forms.KeyEventHandler( this.ZedGraphControl_KeyDown );
- this.MouseWheel += new System.Windows.Forms.MouseEventHandler( this.ZedGraphControl_MouseWheel );
+ //this.MouseWheel += new System.Windows.Forms.MouseEventHandler( this.ZedGraphControl_MouseWheel );
this.ResumeLayout( false );
}
diff --git a/DrawGraphManagement/DrawGraphManagement.csproj b/DrawGraphManagement/DrawGraphManagement.csproj
index bba5ec4..6c2995d 100644
--- a/DrawGraphManagement/DrawGraphManagement.csproj
+++ b/DrawGraphManagement/DrawGraphManagement.csproj
@@ -96,6 +96,12 @@
AreaManageForm.cs
+
+ Form
+
+
+ Form1.cs
+
Form
@@ -129,6 +135,9 @@
AreaManageForm.cs
+
+ Form1.cs
+
frmTemplateD.cs
diff --git a/DrawGraphManagement/Form1.Designer.cs b/DrawGraphManagement/Form1.Designer.cs
new file mode 100644
index 0000000..cc4a324
--- /dev/null
+++ b/DrawGraphManagement/Form1.Designer.cs
@@ -0,0 +1,105 @@
+namespace DrawGraphManagement
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.TextBox textBox1;
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.textBoxX1 = new DevComponents.DotNetBar.Controls.TextBoxX();
+ textBox1 = new System.Windows.Forms.TextBox();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel1
+ //
+ this.panel1.AutoScroll = true;
+ this.panel1.Controls.Add(this.panel2);
+ 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(752, 613);
+ this.panel1.TabIndex = 0;
+ //
+ // panel2
+ //
+ this.panel2.Controls.Add(this.textBoxX1);
+ this.panel2.Controls.Add(textBox1);
+ this.panel2.Location = new System.Drawing.Point(296, 53);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(200, 896);
+ this.panel2.TabIndex = 0;
+ //
+ // textBox1
+ //
+ textBox1.CausesValidation = false;
+ textBox1.Enabled = false;
+ textBox1.HideSelection = false;
+ textBox1.Location = new System.Drawing.Point(29, 419);
+ textBox1.Name = "textBox1";
+ textBox1.ShortcutsEnabled = false;
+ textBox1.Size = new System.Drawing.Size(152, 21);
+ textBox1.TabIndex = 0;
+ textBox1.TabStop = false;
+ //
+ // textBoxX1
+ //
+ //
+ //
+ //
+ this.textBoxX1.Border.Class = "TextBoxBorder";
+ this.textBoxX1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.textBoxX1.Location = new System.Drawing.Point(39, 554);
+ this.textBoxX1.Multiline = true;
+ this.textBoxX1.Name = "textBoxX1";
+ this.textBoxX1.Size = new System.Drawing.Size(142, 97);
+ this.textBoxX1.TabIndex = 1;
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(752, 613);
+ this.Controls.Add(this.panel1);
+ this.Name = "Form1";
+ this.Text = "Form1";
+ this.panel1.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel2.PerformLayout();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private DevComponents.DotNetBar.Controls.TextBoxX textBoxX1;
+ }
+}
\ No newline at end of file
diff --git a/DrawGraphManagement/Form1.cs b/DrawGraphManagement/Form1.cs
new file mode 100644
index 0000000..ffe47f0
--- /dev/null
+++ b/DrawGraphManagement/Form1.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace DrawGraphManagement
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/DrawGraphManagement/Form1.resx b/DrawGraphManagement/Form1.resx
new file mode 100644
index 0000000..0a16bb8
--- /dev/null
+++ b/DrawGraphManagement/Form1.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ False
+
+
\ No newline at end of file
diff --git a/DrawGraphManagement/Main.cs b/DrawGraphManagement/Main.cs
index 7251288..3bc50cf 100644
--- a/DrawGraphManagement/Main.cs
+++ b/DrawGraphManagement/Main.cs
@@ -1,4 +1,5 @@
using AIMSBLL;
+using AIMSExtension;
using AIMSModel;
using DrawGraph;
using HelperDB;
@@ -221,7 +222,7 @@ namespace DrawGraphManagement
bool reVal = templateManage.Save();
if (reVal)
{
- MessageBox.Show("保存成功");
+ new frmMessageBox().Show();
}
else
{
diff --git a/DrawGraphManagement/Program.cs b/DrawGraphManagement/Program.cs
index 3cf8281..4ff495d 100644
--- a/DrawGraphManagement/Program.cs
+++ b/DrawGraphManagement/Program.cs
@@ -15,7 +15,7 @@ namespace DrawGraphManagement
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
PreLoad();
- Application.Run(new Main());
+ Application.Run(new Form1());
}
static void PreLoad()
{