快速加药
This commit is contained in:
parent
338726e2a7
commit
4fd95d182a
@ -225,6 +225,12 @@
|
||||
<Compile Include="FormLogin.designer.cs">
|
||||
<DependentUpon>FormLogin.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationAanesthesia\frmFactSpeedyDrug.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationAanesthesia\frmFactSpeedyDrug.Designer.cs">
|
||||
<DependentUpon>frmFactSpeedyDrug.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationAanesthesia\frmFeesRecord.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -898,6 +904,9 @@
|
||||
<DependentUpon>FormLogin.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationAanesthesia\frmFactSpeedyDrug.resx">
|
||||
<DependentUpon>frmFactSpeedyDrug.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationAanesthesia\frmFeesRecord.resx">
|
||||
<DependentUpon>frmFeesRecord.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<AtuoUpdate>
|
||||
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=Test2020;</ConnectionString>
|
||||
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020;</ConnectionString>
|
||||
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020;</DataConnectionString>
|
||||
<HisConnectionStringOracel>Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;</HisConnectionStringOracel>
|
||||
</AtuoUpdate>
|
||||
|
||||
@ -11,58 +11,7 @@ using System.Windows.Forms;
|
||||
namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
public class DrawAnasReordBill
|
||||
{
|
||||
public static void IniDrawAnasReordBill2(OperationRecord _record, ZedGraphControl Zgc, ref TemplateManage templateManage)
|
||||
{
|
||||
try
|
||||
{
|
||||
string jsonStr = DBHelper.ExecuteScalar("SELECT [JsonDate] FROM [dbo].[OperationRecordTemplate] where id=1").ToString();
|
||||
if (jsonStr != null && jsonStr != "")
|
||||
{
|
||||
templateManage = JsonConvert.DeserializeObject<TemplateManage>(jsonStr);
|
||||
templateManage.OpeRecord = BOperationRecord.getRecord(_record, -1, 1);
|
||||
templateManage.ZedControl = Zgc;
|
||||
templateManage.Id = 1;
|
||||
bool reVal = templateManage.Load();
|
||||
if (reVal)
|
||||
{
|
||||
templateManage.DrawArea();
|
||||
DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.GetHospitalName(), 0.385, 0.018, Zgc, DrawGraph.ZUtil.Font16);
|
||||
DrawGraph.ZUtil.DrawText(" 麻醉记录单", 0.4, 0.04, Zgc, DrawGraph.ZUtil.Font16);
|
||||
|
||||
#region 设置界面自适应
|
||||
//在此处可随时设置板子的属性
|
||||
templateManage.ZedControl.Width = templateManage.ZedControl.Parent.Width - 54;
|
||||
templateManage.ZedControl.Height = (templateManage.ZedControl.Parent.Width - 54) / 8 * 11;
|
||||
|
||||
|
||||
TextPackObj janCePack = templateManage.GetPackObjectOTag<TextPackObj>("BaseInfoTopManage_TextPackObj_2");
|
||||
int LocationY = Convert.ToInt32(templateManage.ZedControl.Height * janCePack.RealY);
|
||||
templateManage.LocationY = LocationY;
|
||||
templateManage.SetPYL();
|
||||
templateManage.ZedControl.AxisChange();
|
||||
templateManage.ZedControl.Refresh();
|
||||
//最后还要调整图表进行自适应
|
||||
PackObjBase pack = templateManage.GetPackObjectOTag<PackObjBase>("PhysioDataManage_ChartPackObj_6");
|
||||
if (pack != null)
|
||||
pack.Draw();
|
||||
#endregion
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(templateManage.MsgStr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
public static void IniDrawAnasReordBill3(OperationRecord _record, ZedGraphControl Zgc, ref TemplateManage templateManage)
|
||||
{
|
||||
try
|
||||
@ -150,76 +99,7 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
public static void IniDrawAnasReordBill4(OperationRecord _record, ZedGraphControl Zgc, ZedGraphControl Zgc2, ref TemplateManage templateManage, ref TemplateManage templateManage2)
|
||||
{
|
||||
try
|
||||
{
|
||||
string jsonStr = DBHelper.ExecuteScalar("SELECT [JsonDate] FROM [dbo].[OperationRecordTemplate] where id=20").ToString();
|
||||
if (jsonStr != null && jsonStr != "")
|
||||
{
|
||||
templateManage = JsonConvert.DeserializeObject<TemplateManage>(jsonStr);
|
||||
templateManage.ZedControl = Zgc;
|
||||
templateManage.Id = 20;
|
||||
templateManage.OpeRecord = BOperationRecord.getRecord(_record, -1, 2);
|
||||
bool reVal = templateManage.Load();
|
||||
if (reVal)
|
||||
{
|
||||
templateManage.DrawArea();
|
||||
DrawGraph.ZUtil.DrawText(AIMSExtension.PublicMethod.GetHospitalName(), 0.385, 0.018, Zgc, DrawGraph.ZUtil.Font16);
|
||||
DrawGraph.ZUtil.DrawText(" 器械清点单", 0.4, 0.04, Zgc, DrawGraph.ZUtil.Font16);
|
||||
|
||||
templateManage.ZedControl.Width = templateManage.ZedControl.Parent.Width - 54;
|
||||
templateManage.ZedControl.Height = (templateManage.ZedControl.Parent.Width - 54) / 8 * 11;
|
||||
|
||||
TextPackObj janCePack = templateManage.GetPackObjectOTag<TextPackObj>("BaseInfoTopManage_TextPackObj_2");
|
||||
int LocationY = Convert.ToInt32(templateManage.ZedControl.Height * janCePack.RealY);
|
||||
templateManage.LocationY = LocationY;
|
||||
templateManage.SetPYL();
|
||||
templateManage.ZedControl.AxisChange();
|
||||
templateManage.ZedControl.Refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(templateManage.MsgStr);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
try
|
||||
{
|
||||
string jsonStr = DBHelper.ExecuteScalar("SELECT [JsonDate] FROM [dbo].[OperationRecordTemplate] where id=30").ToString();
|
||||
if (jsonStr != null && jsonStr != "")
|
||||
{
|
||||
templateManage2 = JsonConvert.DeserializeObject<TemplateManage>(jsonStr);
|
||||
templateManage2.ZedControl = Zgc2;
|
||||
templateManage2.Id = 30;
|
||||
templateManage2.OpeRecord = BOperationRecord.getRecord(_record, -1, 2);
|
||||
bool reVal = templateManage2.Load();
|
||||
if (reVal)
|
||||
{
|
||||
templateManage2.DrawArea();
|
||||
templateManage2.ZedControl.Width = templateManage2.ZedControl.Parent.Width - 54;
|
||||
templateManage2.ZedControl.Height = (templateManage2.ZedControl.Parent.Width - 54) / 8 * 11;
|
||||
templateManage2.LocationY = 0;
|
||||
templateManage2.SetPYL();
|
||||
templateManage2.ZedControl.AxisChange();
|
||||
templateManage2.ZedControl.Refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(templateManage2.MsgStr);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
public static void IniDrawAnasReordBill5(OperationRecord _record, ZedGraphControl Zgc, ZedGraphControl Zgc2, ref TemplateManage templateManage, ref TemplateManage templateManage2)
|
||||
{
|
||||
try
|
||||
|
||||
@ -1136,6 +1136,17 @@ namespace AIMS.OperationAanesthesia
|
||||
|
||||
}
|
||||
|
||||
private void _record_SpeedyDrugsParam(List<FactDrug> factDrugs)
|
||||
{
|
||||
frmFactSpeedyDrug frmFact = new frmFactSpeedyDrug();
|
||||
frmFact._record = _record;
|
||||
frmFact.factDrugs = factDrugs;
|
||||
frmFact.zgcAnaesRecord = zgcAnaesRecord;
|
||||
frmFact.DrugTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
|
||||
frmFact.DrugsParam += FrmFactDrug_DrugsParam;
|
||||
frmFact.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnOperationInfo_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (PatientId != 0)
|
||||
@ -1941,6 +1952,8 @@ namespace AIMS.OperationAanesthesia
|
||||
if (PatientId != 0)
|
||||
{
|
||||
templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId);
|
||||
_record.SpeedyDrugsParam -= _record_SpeedyDrugsParam;
|
||||
_record.SpeedyDrugsParam += _record_SpeedyDrugsParam;
|
||||
templateManage2.OpeRecord = templateManage.OpeRecord;
|
||||
templateManage.BindOperationRecordValueAll(templateManage.OpeRecord);
|
||||
templateManage2.BindOperationRecordValueAll(templateManage2.OpeRecord);
|
||||
|
||||
@ -38,31 +38,7 @@ namespace AIMS.PublicUI.UI
|
||||
/// <summary>
|
||||
/// 图表控件
|
||||
/// </summary>
|
||||
public ZedGraphControl zgcAnaesRecord;
|
||||
/// <summary>
|
||||
/// 用药途径集合
|
||||
/// </summary>
|
||||
public List<BasicDictionary> _channelList;
|
||||
/// <summary>
|
||||
/// 剂量单位集合
|
||||
/// </summary>
|
||||
public List<BasicDictionary> _dUnitList;
|
||||
/// <summary>
|
||||
/// 速度单位集合
|
||||
/// </summary>
|
||||
public List<BasicDictionary> _VelocityUnit;
|
||||
/// <summary>
|
||||
/// 浓度单位集合
|
||||
/// </summary>
|
||||
public List<BasicDictionary> _DensityUnit;
|
||||
/// <summary>
|
||||
/// 加药方式集合
|
||||
/// </summary>
|
||||
public List<BasicDictionary> _drugEffectList;
|
||||
/// <summary>
|
||||
///血型集合
|
||||
/// </summary>
|
||||
public List<BasicDictionary> _bloodTypeList;
|
||||
public ZedGraphControl zgcAnaesRecord;
|
||||
/// <summary>
|
||||
/// 选择项编号
|
||||
/// </summary>
|
||||
@ -157,18 +133,21 @@ namespace AIMS.PublicUI.UI
|
||||
|
||||
private void Initial()
|
||||
{
|
||||
_channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
|
||||
_channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
_drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
||||
_drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
_dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
|
||||
_dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
_bloodTypeList = BBasicDictionary.GetBasicDictionaryByName("血型").SubItem;
|
||||
_bloodTypeList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
_VelocityUnit = BBasicDictionary.GetBasicDictionaryByName("速度单位").SubItem;
|
||||
_VelocityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
_DensityUnit = BBasicDictionary.GetBasicDictionaryByName("浓度单位").SubItem;
|
||||
_DensityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
if (ControlExtension._channelList == null)
|
||||
{
|
||||
ControlExtension._channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
|
||||
ControlExtension._channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
||||
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
ControlExtension._dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
|
||||
ControlExtension._dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
ControlExtension._bloodTypeList = BBasicDictionary.GetBasicDictionaryByName("血型").SubItem;
|
||||
ControlExtension._bloodTypeList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
ControlExtension._VelocityUnit = BBasicDictionary.GetBasicDictionaryByName("速度单位").SubItem;
|
||||
ControlExtension._VelocityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
ControlExtension._DensityUnit = BBasicDictionary.GetBasicDictionaryByName("浓度单位").SubItem;
|
||||
ControlExtension._DensityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||
}
|
||||
}
|
||||
|
||||
int page = 0;
|
||||
@ -565,10 +544,16 @@ namespace AIMS.PublicUI.UI
|
||||
DateTime starttime = DateTime.Now;
|
||||
try
|
||||
{
|
||||
if (_dataGridView.Rows[e.RowIndex].Cells[14].Value != null && _dataGridView.Rows[e.RowIndex].Cells[14].Value.ToString() != "")
|
||||
if (_dataGridView.Rows[e.RowIndex].Cells[16].Value != null && _dataGridView.Rows[e.RowIndex].Cells[16].Value.ToString() != "")
|
||||
{
|
||||
DateTime time = DateTime.Parse(_dataGridView.Rows[e.RowIndex].Cells[16].Value.ToString());
|
||||
starttime = time;
|
||||
dr.Cells[15].Value = "-->";
|
||||
}
|
||||
else if (_dataGridView.Rows[e.RowIndex].Cells[14].Value != null && _dataGridView.Rows[e.RowIndex].Cells[14].Value.ToString() != "")
|
||||
{
|
||||
DateTime time = DateTime.Parse(_dataGridView.Rows[e.RowIndex].Cells[14].Value.ToString());
|
||||
starttime = new DateTime(time.Year, time.Month, time.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
|
||||
starttime = time;
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
@ -600,6 +585,7 @@ namespace AIMS.PublicUI.UI
|
||||
drc.Cells[9].Value = _dataGridView.Rows[e.RowIndex + 1].Cells[9].Value;//速度单位
|
||||
drc.Cells[10].Value = _dataGridView.Rows[e.RowIndex + 1].Cells[10].Value;//剂量
|
||||
drc.Cells[14].Value = starttime;//开始时间
|
||||
drc.Cells[15].Value = dr.Cells[15].Value;
|
||||
_dataGridView.Rows.Insert(_lineNumber, drc);
|
||||
}
|
||||
}
|
||||
@ -641,27 +627,27 @@ namespace AIMS.PublicUI.UI
|
||||
_dataGridView.Rows[e.RowIndex].Cells[0].Value = imageList1.Images[0];
|
||||
}
|
||||
|
||||
channelCell.DataSource = _channelList;
|
||||
channelCell.DataSource = ControlExtension._channelList;
|
||||
channelCell.DisplayMember = "Name";
|
||||
channelCell.ValueMember = "Name";
|
||||
|
||||
dUnitCell.DataSource = _dUnitList;
|
||||
dUnitCell.DataSource = ControlExtension._dUnitList;
|
||||
dUnitCell.DisplayMember = "Name";
|
||||
dUnitCell.ValueMember = "Name";
|
||||
|
||||
drugEffectCell.DataSource = _drugEffectList;
|
||||
drugEffectCell.DataSource = ControlExtension._drugEffectList;
|
||||
drugEffectCell.DisplayMember = "Name";
|
||||
drugEffectCell.ValueMember = "Id";
|
||||
|
||||
DensityUnit.DataSource = _DensityUnit;
|
||||
DensityUnit.DataSource = ControlExtension._DensityUnit;
|
||||
DensityUnit.DisplayMember = "Name";
|
||||
DensityUnit.ValueMember = "Id";
|
||||
|
||||
BloodTypeCell.DataSource = _bloodTypeList;
|
||||
BloodTypeCell.DataSource = ControlExtension._bloodTypeList;
|
||||
BloodTypeCell.DisplayMember = "Name";
|
||||
BloodTypeCell.ValueMember = "Id";
|
||||
|
||||
VelocityUnit.DataSource = _VelocityUnit;
|
||||
VelocityUnit.DataSource = ControlExtension._VelocityUnit;
|
||||
VelocityUnit.DisplayMember = "Name";
|
||||
VelocityUnit.ValueMember = "Id";
|
||||
}
|
||||
@ -1177,7 +1163,7 @@ namespace AIMS.PublicUI.UI
|
||||
private void FullALLDGV()
|
||||
{
|
||||
_record.FactDrugList.Sort(new FactDrugComparer());
|
||||
foreach (BasicDictionary bd in _drugEffectList)
|
||||
foreach (BasicDictionary bd in ControlExtension._drugEffectList)
|
||||
{
|
||||
if (bd.Name == "麻醉前用药")
|
||||
{
|
||||
|
||||
795
AIMS/OperationAanesthesia/frmFactSpeedyDrug.Designer.cs
generated
Normal file
795
AIMS/OperationAanesthesia/frmFactSpeedyDrug.Designer.cs
generated
Normal file
@ -0,0 +1,795 @@
|
||||
namespace AIMS.PublicUI.UI
|
||||
{
|
||||
partial class frmFactSpeedyDrug
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFactSpeedyDrug));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.tabDrugs = new DevComponents.DotNetBar.SuperTabControl();
|
||||
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.DataGridViewComboBoxColumn();
|
||||
this.P2 = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.btnDelete = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnSave = new DevComponents.DotNetBar.ButtonX();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.dgvYP = new System.Windows.Forms.DataGridView();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.TypeId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.TypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DrugName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.HCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Norm = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DOSEPER = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DoseUnit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
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.superTabControlPanel5.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvYP)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvDosage)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.panel5);
|
||||
this.panel1.Controls.Add(this.panel2);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
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(1102, 439);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.tabDrugs);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 42);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(1102, 397);
|
||||
this.panel5.TabIndex = 2;
|
||||
//
|
||||
// tabDrugs
|
||||
//
|
||||
this.tabDrugs.BackColor = System.Drawing.Color.White;
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tabDrugs.ControlBox.CloseBox.Name = "";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tabDrugs.ControlBox.MenuBox.Name = "";
|
||||
this.tabDrugs.ControlBox.Name = "";
|
||||
this.tabDrugs.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.tabDrugs.ControlBox.MenuBox,
|
||||
this.tabDrugs.ControlBox.CloseBox});
|
||||
this.tabDrugs.Controls.Add(this.superTabControlPanel5);
|
||||
this.tabDrugs.Controls.Add(this.superTabControlPanel1);
|
||||
this.tabDrugs.Controls.Add(this.superTabControlPanel2);
|
||||
this.tabDrugs.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabDrugs.ForeColor = System.Drawing.Color.Black;
|
||||
this.tabDrugs.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabDrugs.Name = "tabDrugs";
|
||||
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(1102, 397);
|
||||
this.tabDrugs.TabFont = new System.Drawing.Font("微软雅黑", 10.5F);
|
||||
this.tabDrugs.TabIndex = 464;
|
||||
this.tabDrugs.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.P2});
|
||||
this.tabDrugs.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.Office2010BackstageBlue;
|
||||
this.tabDrugs.SelectedTabChanged += new System.EventHandler<DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs>(this.tabDrugs_SelectedTabChanged);
|
||||
//
|
||||
// superTabControlPanel5
|
||||
//
|
||||
this.superTabControlPanel5.Controls.Add(this.dgvDrugsSZ);
|
||||
this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.superTabControlPanel5.Location = new System.Drawing.Point(0, 31);
|
||||
this.superTabControlPanel5.Name = "superTabControlPanel5";
|
||||
this.superTabControlPanel5.Size = new System.Drawing.Size(1102, 366);
|
||||
this.superTabControlPanel5.TabIndex = 0;
|
||||
this.superTabControlPanel5.TabItem = this.P2;
|
||||
this.superTabControlPanel5.Visible = false;
|
||||
//
|
||||
// dgvDrugsSZ
|
||||
//
|
||||
this.dgvDrugsSZ.AllowUserToAddRows = false;
|
||||
this.dgvDrugsSZ.AllowUserToResizeColumns = false;
|
||||
this.dgvDrugsSZ.AllowUserToResizeRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
|
||||
this.dgvDrugsSZ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvDrugsSZ.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvDrugsSZ.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)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvDrugsSZ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvDrugsSZ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvDrugsSZ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewImageColumn1,
|
||||
this.dataGridViewTextBoxColumn1,
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.dataGridViewTextBoxColumn3,
|
||||
this.dataGridViewComboEditBoxColumn2,
|
||||
this.dataGridViewComboBoxColumn1,
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.dataGridViewComboBoxColumn2,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewComboBoxColumn3,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.dataGridViewComboBoxColumn4,
|
||||
this.dataGridViewComboBoxColumn23,
|
||||
this.dataGridViewComboBoxColumn24,
|
||||
this.dataGridViewDateTimeInputColumn3,
|
||||
this.dataGridViewTextBoxColumn7,
|
||||
this.dataGridViewDateTimeInputColumn4,
|
||||
this.dataGridViewTextBoxColumn8});
|
||||
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)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvDrugsSZ.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvDrugsSZ.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvDrugsSZ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
||||
this.dgvDrugsSZ.EnableHeadersVisualStyles = false;
|
||||
this.dgvDrugsSZ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.dgvDrugsSZ.Location = new System.Drawing.Point(0, 0);
|
||||
this.dgvDrugsSZ.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.dgvDrugsSZ.MultiSelect = false;
|
||||
this.dgvDrugsSZ.Name = "dgvDrugsSZ";
|
||||
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)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvDrugsSZ.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.dgvDrugsSZ.RowHeadersVisible = false;
|
||||
this.dgvDrugsSZ.RowTemplate.Height = 25;
|
||||
this.dgvDrugsSZ.ShowCellErrors = false;
|
||||
this.dgvDrugsSZ.ShowCellToolTips = false;
|
||||
this.dgvDrugsSZ.Size = new System.Drawing.Size(1102, 366);
|
||||
this.dgvDrugsSZ.TabIndex = 16;
|
||||
this.dgvDrugsSZ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError);
|
||||
//
|
||||
// dataGridViewImageColumn1
|
||||
//
|
||||
this.dataGridViewImageColumn1.HeaderText = " ";
|
||||
this.dataGridViewImageColumn1.Image = global::AIMS.Properties.Resources.SYSCRL;
|
||||
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
|
||||
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
|
||||
this.dataGridViewImageColumn1.Width = 30;
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red;
|
||||
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "组";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.Width = 30;
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "类型";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.Visible = false;
|
||||
this.dataGridViewTextBoxColumn2.Width = 60;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "名称";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// dataGridViewComboEditBoxColumn2
|
||||
//
|
||||
this.dataGridViewComboEditBoxColumn2.HeaderText = "备注";
|
||||
this.dataGridViewComboEditBoxColumn2.Name = "dataGridViewComboEditBoxColumn2";
|
||||
this.dataGridViewComboEditBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// dataGridViewComboBoxColumn1
|
||||
//
|
||||
this.dataGridViewComboBoxColumn1.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
this.dataGridViewComboBoxColumn1.HeaderText = "途径";
|
||||
this.dataGridViewComboBoxColumn1.Name = "dataGridViewComboBoxColumn1";
|
||||
this.dataGridViewComboBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewComboBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.dataGridViewComboBoxColumn1.Width = 85;
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "浓度";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewTextBoxColumn4.Width = 45;
|
||||
//
|
||||
// dataGridViewComboBoxColumn2
|
||||
//
|
||||
this.dataGridViewComboBoxColumn2.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
this.dataGridViewComboBoxColumn2.HeaderText = "浓度单位";
|
||||
this.dataGridViewComboBoxColumn2.Name = "dataGridViewComboBoxColumn2";
|
||||
this.dataGridViewComboBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.dataGridViewComboBoxColumn2.Width = 75;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "速度";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewTextBoxColumn5.Width = 45;
|
||||
//
|
||||
// dataGridViewComboBoxColumn3
|
||||
//
|
||||
this.dataGridViewComboBoxColumn3.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
this.dataGridViewComboBoxColumn3.HeaderText = "速度单位";
|
||||
this.dataGridViewComboBoxColumn3.Name = "dataGridViewComboBoxColumn3";
|
||||
this.dataGridViewComboBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewComboBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.dataGridViewComboBoxColumn3.Width = 85;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "用量";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.dataGridViewTextBoxColumn6.Width = 60;
|
||||
//
|
||||
// dataGridViewComboBoxColumn4
|
||||
//
|
||||
this.dataGridViewComboBoxColumn4.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
this.dataGridViewComboBoxColumn4.HeaderText = "单位";
|
||||
this.dataGridViewComboBoxColumn4.Name = "dataGridViewComboBoxColumn4";
|
||||
this.dataGridViewComboBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewComboBoxColumn4.Width = 60;
|
||||
//
|
||||
// dataGridViewComboBoxColumn23
|
||||
//
|
||||
this.dataGridViewComboBoxColumn23.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
this.dataGridViewComboBoxColumn23.HeaderText = "血型";
|
||||
this.dataGridViewComboBoxColumn23.Name = "dataGridViewComboBoxColumn23";
|
||||
this.dataGridViewComboBoxColumn23.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewComboBoxColumn23.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.dataGridViewComboBoxColumn23.Width = 45;
|
||||
//
|
||||
// dataGridViewComboBoxColumn24
|
||||
//
|
||||
this.dataGridViewComboBoxColumn24.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
this.dataGridViewComboBoxColumn24.HeaderText = "加药方式";
|
||||
this.dataGridViewComboBoxColumn24.Name = "dataGridViewComboBoxColumn24";
|
||||
this.dataGridViewComboBoxColumn24.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewComboBoxColumn24.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.dataGridViewComboBoxColumn24.Visible = false;
|
||||
this.dataGridViewComboBoxColumn24.Width = 80;
|
||||
//
|
||||
// dataGridViewDateTimeInputColumn3
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn3.AutoAdvance = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn3.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
|
||||
this.dataGridViewDateTimeInputColumn3.ButtonDropDown.Visible = true;
|
||||
this.dataGridViewDateTimeInputColumn3.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
|
||||
this.dataGridViewDateTimeInputColumn3.HeaderText = "开始时间";
|
||||
this.dataGridViewDateTimeInputColumn3.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn3.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn3.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
|
||||
this.dataGridViewDateTimeInputColumn3.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn3.MonthCalendar.Visible = false;
|
||||
this.dataGridViewDateTimeInputColumn3.Name = "dataGridViewDateTimeInputColumn3";
|
||||
this.dataGridViewDateTimeInputColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewDateTimeInputColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.dataGridViewDateTimeInputColumn3.Width = 80;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "持续";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.Width = 45;
|
||||
//
|
||||
// dataGridViewDateTimeInputColumn4
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn4.AutoAdvance = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn4.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText;
|
||||
this.dataGridViewDateTimeInputColumn4.ButtonDropDown.Visible = true;
|
||||
this.dataGridViewDateTimeInputColumn4.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime;
|
||||
this.dataGridViewDateTimeInputColumn4.HeaderText = "结束时间";
|
||||
this.dataGridViewDateTimeInputColumn4.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn4.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn4.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn4.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn4.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0);
|
||||
this.dataGridViewDateTimeInputColumn4.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.dataGridViewDateTimeInputColumn4.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dataGridViewDateTimeInputColumn4.MonthCalendar.Visible = false;
|
||||
this.dataGridViewDateTimeInputColumn4.Name = "dataGridViewDateTimeInputColumn4";
|
||||
this.dataGridViewDateTimeInputColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewDateTimeInputColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.dataGridViewDateTimeInputColumn4.Width = 80;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "通路";
|
||||
this.dataGridViewTextBoxColumn8.Items.AddRange(new object[] {
|
||||
"",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4"});
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewTextBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.dataGridViewTextBoxColumn8.Width = 50;
|
||||
//
|
||||
// P2
|
||||
//
|
||||
this.P2.AttachedControl = this.superTabControlPanel5;
|
||||
this.P2.GlobalItem = false;
|
||||
this.P2.Name = "P2";
|
||||
this.P2.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(1102, 397);
|
||||
this.superTabControlPanel1.TabIndex = 0;
|
||||
//
|
||||
// superTabControlPanel2
|
||||
//
|
||||
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(1102, 397);
|
||||
this.superTabControlPanel2.TabIndex = 0;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.panel2.Controls.Add(this.btnDelete);
|
||||
this.panel2.Controls.Add(this.btnSave);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1102, 42);
|
||||
this.panel2.TabIndex = 0;
|
||||
//
|
||||
// btnDelete
|
||||
//
|
||||
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnDelete.Location = new System.Drawing.Point(895, 9);
|
||||
this.btnDelete.Name = "btnDelete";
|
||||
this.btnDelete.Size = new System.Drawing.Size(86, 30);
|
||||
this.btnDelete.TabIndex = 2;
|
||||
this.btnDelete.Text = "删除";
|
||||
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnSave.Location = new System.Drawing.Point(987, 9);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(86, 30);
|
||||
this.btnSave.TabIndex = 1;
|
||||
this.btnSave.Text = "保存";
|
||||
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||
//
|
||||
// superTabItem2
|
||||
//
|
||||
this.superTabItem2.GlobalItem = false;
|
||||
this.superTabItem2.Name = "superTabItem2";
|
||||
this.superTabItem2.Text = "superTabItem2";
|
||||
//
|
||||
// superTabItem3
|
||||
//
|
||||
this.superTabItem3.GlobalItem = false;
|
||||
this.superTabItem3.Name = "superTabItem3";
|
||||
this.superTabItem3.Text = "superTabItem3";
|
||||
//
|
||||
// superTabItem4
|
||||
//
|
||||
this.superTabItem4.GlobalItem = false;
|
||||
this.superTabItem4.Name = "superTabItem4";
|
||||
this.superTabItem4.Text = "superTabItem4";
|
||||
//
|
||||
// dgvYP
|
||||
//
|
||||
this.dgvYP.AllowUserToAddRows = false;
|
||||
this.dgvYP.AllowUserToDeleteRows = false;
|
||||
this.dgvYP.BackgroundColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvYP.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.dgvYP.ColumnHeadersHeight = 30;
|
||||
this.dgvYP.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.id,
|
||||
this.Code,
|
||||
this.TypeId,
|
||||
this.TypeName,
|
||||
this.DrugName,
|
||||
this.HCode,
|
||||
this.Norm,
|
||||
this.DOSEPER,
|
||||
this.DoseUnit,
|
||||
this.Factroy,
|
||||
this.Channel,
|
||||
this.Remark});
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvYP.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.dgvYP.EnableHeadersVisualStyles = false;
|
||||
this.dgvYP.Location = new System.Drawing.Point(208, 203);
|
||||
this.dgvYP.Name = "dgvYP";
|
||||
this.dgvYP.ReadOnly = true;
|
||||
this.dgvYP.RowHeadersVisible = false;
|
||||
this.dgvYP.RowTemplate.Height = 30;
|
||||
this.dgvYP.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dgvYP.Size = new System.Drawing.Size(793, 210);
|
||||
this.dgvYP.TabIndex = 17;
|
||||
this.dgvYP.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvYP_CellClick);
|
||||
this.dgvYP.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvYP_KeyDown);
|
||||
this.dgvYP.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgvYP_KeyPress);
|
||||
this.dgvYP.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.dgvYP_PreviewKeyDown);
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.DataPropertyName = "Id";
|
||||
this.id.HeaderText = "id";
|
||||
this.id.Name = "id";
|
||||
this.id.ReadOnly = true;
|
||||
this.id.Visible = false;
|
||||
//
|
||||
// Code
|
||||
//
|
||||
this.Code.DataPropertyName = "Code";
|
||||
this.Code.HeaderText = "Code";
|
||||
this.Code.Name = "Code";
|
||||
this.Code.ReadOnly = true;
|
||||
this.Code.Visible = false;
|
||||
//
|
||||
// TypeId
|
||||
//
|
||||
this.TypeId.DataPropertyName = "TypeId";
|
||||
this.TypeId.HeaderText = "TypeId";
|
||||
this.TypeId.Name = "TypeId";
|
||||
this.TypeId.ReadOnly = true;
|
||||
this.TypeId.Visible = false;
|
||||
//
|
||||
// TypeName
|
||||
//
|
||||
this.TypeName.DataPropertyName = "TypeName";
|
||||
this.TypeName.HeaderText = "药品类型";
|
||||
this.TypeName.Name = "TypeName";
|
||||
this.TypeName.ReadOnly = true;
|
||||
this.TypeName.Visible = false;
|
||||
//
|
||||
// DrugName
|
||||
//
|
||||
this.DrugName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.DrugName.DataPropertyName = "Name";
|
||||
this.DrugName.HeaderText = "药品名称";
|
||||
this.DrugName.Name = "DrugName";
|
||||
this.DrugName.ReadOnly = true;
|
||||
//
|
||||
// HCode
|
||||
//
|
||||
this.HCode.DataPropertyName = "HCode";
|
||||
this.HCode.HeaderText = "HCode";
|
||||
this.HCode.Name = "HCode";
|
||||
this.HCode.ReadOnly = true;
|
||||
this.HCode.Visible = false;
|
||||
//
|
||||
// Norm
|
||||
//
|
||||
this.Norm.DataPropertyName = "Stand";
|
||||
this.Norm.HeaderText = "规格";
|
||||
this.Norm.Name = "Norm";
|
||||
this.Norm.ReadOnly = true;
|
||||
this.Norm.Width = 210;
|
||||
//
|
||||
// DOSEPER
|
||||
//
|
||||
this.DOSEPER.DataPropertyName = "Dosage";
|
||||
this.DOSEPER.HeaderText = "剂量";
|
||||
this.DOSEPER.Name = "DOSEPER";
|
||||
this.DOSEPER.ReadOnly = true;
|
||||
this.DOSEPER.Visible = false;
|
||||
this.DOSEPER.Width = 60;
|
||||
//
|
||||
// DoseUnit
|
||||
//
|
||||
this.DoseUnit.DataPropertyName = "DosageUnit";
|
||||
this.DoseUnit.HeaderText = "单位";
|
||||
this.DoseUnit.Name = "DoseUnit";
|
||||
this.DoseUnit.ReadOnly = true;
|
||||
this.DoseUnit.Width = 50;
|
||||
//
|
||||
// Factroy
|
||||
//
|
||||
this.Factroy.DataPropertyName = "Factory";
|
||||
this.Factroy.HeaderText = "厂家";
|
||||
this.Factroy.Name = "Factroy";
|
||||
this.Factroy.ReadOnly = true;
|
||||
this.Factroy.Width = 200;
|
||||
//
|
||||
// Channel
|
||||
//
|
||||
this.Channel.DataPropertyName = "Channel";
|
||||
this.Channel.HeaderText = "途径";
|
||||
this.Channel.Name = "Channel";
|
||||
this.Channel.ReadOnly = true;
|
||||
this.Channel.Visible = false;
|
||||
//
|
||||
// Remark
|
||||
//
|
||||
this.Remark.DataPropertyName = "Remark";
|
||||
this.Remark.HeaderText = "备注";
|
||||
this.Remark.Name = "Remark";
|
||||
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;
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvDosage.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
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");
|
||||
//
|
||||
// frmFactDrugNew2
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.AutoScroll = true;
|
||||
this.ClientSize = new System.Drawing.Size(1102, 439);
|
||||
this.Controls.Add(this.dgvDosage);
|
||||
this.Controls.Add(this.dgvYP);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.DoubleBuffered = true;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "frmFactDrugNew2";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "快速用药";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmFactDrugNew2_FormClosing);
|
||||
this.Load += new System.EventHandler(this.frmFactDrugNew2_Load);
|
||||
this.Scroll += new System.Windows.Forms.ScrollEventHandler(this.frmFactDrugNew2_Scroll);
|
||||
this.Paint += new System.Windows.Forms.PaintEventHandler(this.frmFactDrugNew2_Paint);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel5.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).EndInit();
|
||||
this.tabDrugs.ResumeLayout(false);
|
||||
this.superTabControlPanel5.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).EndInit();
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvYP)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvDosage)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private DevComponents.DotNetBar.ButtonX btnDelete;
|
||||
private DevComponents.DotNetBar.ButtonX btnSave;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private DevComponents.DotNetBar.SuperTabItem superTabItem2;
|
||||
private DevComponents.DotNetBar.SuperTabItem superTabItem3;
|
||||
private DevComponents.DotNetBar.SuperTabItem superTabItem4;
|
||||
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1;
|
||||
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2;
|
||||
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel5;
|
||||
private DevComponents.DotNetBar.SuperTabItem P2;
|
||||
public DevComponents.DotNetBar.SuperTabControl tabDrugs;
|
||||
private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugsSZ;
|
||||
private System.Windows.Forms.DataGridView dgvYP;
|
||||
private System.Windows.Forms.DataGridView dgvDosage;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Dosage;
|
||||
private System.Windows.Forms.ImageList imageList1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn TypeId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn TypeName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DrugName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn HCode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Norm;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DOSEPER;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DoseUnit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Factroy;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Channel;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Remark;
|
||||
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewComboEditBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn23;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn24;
|
||||
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn4;
|
||||
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewTextBoxColumn8;
|
||||
}
|
||||
}
|
||||
1337
AIMS/OperationAanesthesia/frmFactSpeedyDrug.cs
Normal file
1337
AIMS/OperationAanesthesia/frmFactSpeedyDrug.cs
Normal file
File diff suppressed because it is too large
Load Diff
180
AIMS/OperationAanesthesia/frmFactSpeedyDrug.resx
Normal file
180
AIMS/OperationAanesthesia/frmFactSpeedyDrug.resx
Normal file
@ -0,0 +1,180 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>132, 17</value>
|
||||
</metadata>
|
||||
<metadata name="Factroy.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Channel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>957, 91</value>
|
||||
</metadata>
|
||||
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAi
|
||||
CAAAAk1TRnQBSQFMAgEBAgEAAYgBBgGIAQYBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ
|
||||
AwABFAMAAQEBAAEgBgABGS4AA1UBrwOAAf4DKwH8AysB/AGZAYsBQAH9AaEBkgEAAf8BkwGCAQAB/wGW
|
||||
AYcBQAH9AaMBlAEAAf8BowGUAQAB/wGjAZQBAAH/AysB/ANgAej/AA0AAZMBggEAAf8DYgH2A20B9wNt
|
||||
AfcDXAH4A4AB/gGXAYYBAAH/A20B9wHsAecB5AH/AewB5wHkAf8B7AHnAeQB/wNtAfcBkwGCAQAB//8A
|
||||
DQABkwGCAQAB/wNnAfIB/wL9Av8C/QL/Av0C/wL9Af8BmwGLAQAB/wMrAfwB/wL9Av8C/QL/Av0C/wL+
|
||||
Af8BkwGCAQAB//8ADQABkwGCAQAB/wMrAfwBpgGVAYMB/wGmAZUBgwH/AaYBlQGDAf8BpgGVAYMB/wGV
|
||||
AYQBAAH/A4AB/gGmAZUBgwH/AaYBlQGDAf8BpgGVAYMB/wGnAZUBhAH/AZMBggEAAf//AA0AAZMBggEA
|
||||
Af8BkAIAAf8DXAH4A1wB+ANcAfgDYgH2AZMBggEAAf8DKwH8A1wB+ANcAfgDXAH4A00B+gGTAYIBAAH/
|
||||
/wANAAGTAYIBAAH/A2AB8wH/AfwB/QL/AfwB/QL/AfwB/QL/AfwB/QH/AZsBiwEAAf8DKwH8Af8B/AH9
|
||||
Av8B/AH9Av8B/AH9Av8C/gH/AZMBggEAAf//AA0AAZMBggEAAf8DYAHzAf4B+wH8Af8B/gH7AfwB/wH+
|
||||
AfsB/AH/Af4B+wH8Af8BmwGLAQAB/wMrAfwB/gH7AfwB/wH+AfsB/AH/Af4B+wH8Av8C/QH/AZMBggEA
|
||||
Af/0AANHAYEDRwGCA0cBggNHAYIDRwGCA0cBggGJAgAB/wNNAfoDXwH7A18B+wNfAfsDXwH7AY0CAAH/
|
||||
AacBoAGQAf0DXwH7A18B+wNfAfsCqAGfAf0BkwGCAQAB//AAAwYBCANgAfMBbQFSAVEB9wNaAfUDWgH1
|
||||
A1oB9QNaAfUBgQIAAf8DAAH/AV8BXgEyAfsBXwFeATIB+wFfAV4BMgH7Al8BMgH7AYECAAH/A2AB4wNe
|
||||
AdMDXgHTA14B0wNdAdEDYAHU8AADCQELA00B+gJtAVEB9wHwAaIBAAH/AfABogEAAf8B8AGiAQAB/wHw
|
||||
AaIBAAH/AYcCAAH/A1wB+AHwAaIBAAH/AfABogEAAf8B8AGiAQAB/wHwAaIBAAH/AwAB/wM4AVwMAAM+
|
||||
AWoDDgES8AADCQELA00B+gNcAfgB6gGeAQAB/wHqAZ4BAAH/AeoBngEAAf8B6gGeAQAB/wGMAgAB/wNN
|
||||
AfoB6gGeAQAB/wHqAZ4BAAH/AeoBngEAAf8B6gGeAQAB/wMAAf8DOAFcDAADOAFcA18B1fAAAwkBCwNN
|
||||
AfoBagFoAUcB+QNqAfkDagH5A2oB+QNqAfkBhwIAAf8CbQFsAfcDagH5A2oB+QNqAfkDagH5AwAB/wM4
|
||||
AVwMAAM1AVYDRgF98AADBwEJA00B+gGDAkAB/QFqAWgBRwH5AWoBaAFHAfkBagFoAUcB+QFqAWgBRwH5
|
||||
AYECAAH/A00B+gFqAWgBRwH5AWoBaAFHAfkBagFoAUcB+QFqAWkBRgH5AYECAAH/A1kBvgNPAZkDTwGZ
|
||||
A08BmQNYAbcDUQGf8AAEAgNJAYUDSQGIA0kBiANJAYgDSQGIA0kBiAGLAgAB/wGPAkAB/QOAAf4DgAH+
|
||||
A4AB/gGkAY0BQAH9AYsCAAH/AaYBmQGDAf0BqAGlAZYB/QGoAaUBlgH9AagBpQGWAf0DgAH+AZMBggEA
|
||||
Af//AA0AAZMBggEAAf8DYAHzAf4B+gH7Af8B/gH6AfsB/wH+AfoB+wH/Af4B+gH7Af8BmwGLAQAB/wMr
|
||||
AfwB/gH6AfsB/wH+AfoB+wH/Af4B+gH7Av8C/QH/AZMBggEAAf//AA0AAZMBggEAAf8DYAHzAf4B+wH8
|
||||
Af8B/gH7AfwB/wH+AfsB/AH/AfsB+AH5Af8BmwGLAQAB/wMrAfwB/gH7AfwB/wH+AfsB/AH/Af4B+wH8
|
||||
Av8C/QH/AZMBggEAAf//AA0AAm0BbAH3A1wB+AOAAf4DgAH+A4AB/gOAAf4BmAGHAQAB/wMrAfwB1AHN
|
||||
AcIB/wHUAc0BwgH/AdQBzQHCAf8DgAH+AZMBggEAAf//AAkAAwMBBANQAZoBkgGCAQAB/wKAAXwB/gKA
|
||||
AXwB/gKAAXwB/gGTAYIBAAH/AZMBggEAAf8BjgGBAQAB/wGTAYIBAAH/AZMBggEAAf8BkwGCAQAB/wKA
|
||||
AXwB/gNaAb3/AAkAAwMBBAMSARcDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEz
|
||||
AyMBMwMWAR7/AA0AAwUBBgMEAQUDBAEFAwQBBQMEBAUBBgMFAQYDBQEGAwUBBgMFAQYDBQEGAwUBBgMD
|
||||
AQTwAAFCAU0BPgcAAT4DAAEoAwABUAMAARQDAAEBAQABAQUAAfAXAAP/AQAB/gEAAQ8C/wcAAf4BAAEP
|
||||
Av8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAYABAAEP
|
||||
Av8JAAEPAv8IAAEBAc8C/wgAAQEBzwL/CAABAQHPAv8JAAEPAv8JAAEPAv8HAAH+AQABDwL/BwAB/gEA
|
||||
AQ8C/wcAAf4BAAEPAv8HAAH8AQABDwL/BwAB/AEAAQ8C/wcAAf4BAAEPAv8HAAs=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>37</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using AIMSModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
@ -12,6 +13,31 @@ namespace AIMS
|
||||
{
|
||||
public static class ControlExtension
|
||||
{
|
||||
/// <summary>
|
||||
/// 用药途径集合
|
||||
/// </summary>
|
||||
public static List<BasicDictionary> _channelList;
|
||||
/// <summary>
|
||||
/// 剂量单位集合
|
||||
/// </summary>
|
||||
public static List<BasicDictionary> _dUnitList;
|
||||
/// <summary>
|
||||
/// 速度单位集合
|
||||
/// </summary>
|
||||
public static List<BasicDictionary> _VelocityUnit;
|
||||
/// <summary>
|
||||
/// 浓度单位集合
|
||||
/// </summary>
|
||||
public static List<BasicDictionary> _DensityUnit;
|
||||
/// <summary>
|
||||
/// 加药方式集合
|
||||
/// </summary>
|
||||
public static List<BasicDictionary> _drugEffectList;
|
||||
/// <summary>
|
||||
///血型集合
|
||||
/// </summary>
|
||||
public static List<BasicDictionary> _bloodTypeList;
|
||||
|
||||
const float cos30 = 0.866f;
|
||||
const float sin30 = 0.5f;
|
||||
public static void BindWaterMark(this Control ctrl, string Text)
|
||||
|
||||
@ -63,7 +63,7 @@ namespace DrawGraph
|
||||
private string instanceName = "";
|
||||
|
||||
public delegate void MouseWheelHandler(object sender, MouseEventArgs e);
|
||||
public event MouseWheelHandler MouseWheelParam;
|
||||
public event MouseWheelHandler MouseWheelParam;
|
||||
|
||||
[JsonIgnore]
|
||||
[XmlIgnore]
|
||||
@ -291,7 +291,7 @@ namespace DrawGraph
|
||||
//取消滚轮事件
|
||||
public void numericUpDown1_MouseWheel(object sender, MouseEventArgs e)
|
||||
{
|
||||
MouseWheelParam(sender,e);
|
||||
MouseWheelParam(sender, e);
|
||||
}
|
||||
/// <summary>
|
||||
/// 把OperationRecord 里的数据绑定到到画板上
|
||||
|
||||
@ -1,11 +1,6 @@
|
||||
using DrawGraph;
|
||||
using System;
|
||||
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 DrawGraph
|
||||
|
||||
@ -56,10 +56,6 @@ namespace DrawGraph
|
||||
/// <param name="e"></param>
|
||||
public override void MouseDown(ZedGraphControl sender, MouseEventArgs e)
|
||||
{
|
||||
//if (e.Button == System.Windows.Forms.MouseButtons.Left)
|
||||
//{
|
||||
// MessageBox.Show(this.GetType().Name + "is Click Left Button");
|
||||
//}
|
||||
}
|
||||
public override void MouseMove(ZedGraphControl sender, MouseEventArgs e)
|
||||
{
|
||||
@ -69,6 +65,62 @@ namespace DrawGraph
|
||||
}
|
||||
public override void MouseDoubleClick(ZedGraphControl sender, MouseEventArgs e)
|
||||
{
|
||||
if (myOpeRecord != null)
|
||||
{
|
||||
if (e.Button != System.Windows.Forms.MouseButtons.Left) return;
|
||||
//触发可编辑区域的事件
|
||||
double y = Convert.ToDouble(Convert.ToDouble(e.Y) / Convert.ToDouble(ZedControl.Height));
|
||||
double x = Convert.ToDouble(Convert.ToDouble(e.X) / Convert.ToDouble(ZedControl.Width));
|
||||
ZedGraphControl sender1 = sender as ZedGraphControl;
|
||||
|
||||
PointF mousePt = new PointF(e.X, e.Y);
|
||||
GraphPane pane = sender1.MasterPane.FindChartRect(mousePt);
|
||||
|
||||
bool isDrugRange = isAddDrugRange(sender, x, y);
|
||||
if (isDrugRange && e.Button == System.Windows.Forms.MouseButtons.Left)
|
||||
{
|
||||
DateTime BeginTime = reDrugsTime(sender as ZedGraphControl, e);
|
||||
List<FactDrug> record = new List<FactDrug>();
|
||||
double addDragRowHeight = (lines.RealEndY - lines.RealY) / RowsCount;
|
||||
foreach (FactDrug dsr in myOpeRecord.FactDrugList)
|
||||
{
|
||||
if (dsr.isEqualRow(y, BeginTime, addDragRowHeight))
|
||||
{
|
||||
record.Add(dsr);
|
||||
}
|
||||
}
|
||||
if (record.Count > 0)
|
||||
{
|
||||
List<FactDrug> records = new List<FactDrug>();
|
||||
foreach (var fact in record)
|
||||
{
|
||||
if (fact.ParentId == 0)
|
||||
{
|
||||
records.Add(fact);
|
||||
foreach (var item in myOpeRecord.FactDrugList)
|
||||
{
|
||||
if (item.ParentId == fact.Id)
|
||||
{
|
||||
records.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var item in myOpeRecord.FactDrugList)
|
||||
{
|
||||
if (item.Id == fact.ParentId || item.ParentId == fact.ParentId)
|
||||
{
|
||||
records.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (records.Count > 0)
|
||||
myOpeRecord.SpeedyDrugsMethod(records);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public override void KeyUp(ZedGraphControl sender, KeyEventArgs e)
|
||||
{
|
||||
@ -200,10 +252,10 @@ namespace DrawGraph
|
||||
isChildEqual = true;
|
||||
TimeSpan tsp = temp.DrugBeginTime - addDrug1.DrugBeginTime;
|
||||
//清除画图对象的名称及总药
|
||||
addDrug1.clearDNAndDT(ZedControl);
|
||||
//addDrug1.clearDNAndDT(ZedControl);
|
||||
drugsy = addDrug1.nowY;
|
||||
if (drugsy <= maxDrugsy)
|
||||
temp.drawText(H3pack.RealX + 0.006f, drugsy);
|
||||
temp.drawText2(H3pack.RealX + 0.006f, drugsy);
|
||||
else
|
||||
ListAddDrugs(DrugListstr, i, temp);
|
||||
foreach (FactDrug item in temp.ChildFactDrugList)
|
||||
@ -215,11 +267,11 @@ namespace DrawGraph
|
||||
{
|
||||
SetDrug(item, curTimeTemp, drugsy);
|
||||
//清除画图对象的名称及总药
|
||||
addDrug1item.clearDNAndDT(ZedControl);
|
||||
////因为相同则取得相同对象的Y,为当前的对象的高度
|
||||
//addDrug1item.clearDNAndDT(ZedControl);
|
||||
//因为相同则取得相同对象的Y,为当前的对象的高度
|
||||
drugsy = addDrug1item.nowY;
|
||||
if (drugsy <= maxDrugsy)
|
||||
item.drawText(H3pack.RealX + 0.006f, drugsy);
|
||||
item.drawText2(H3pack.RealX + 0.006f, drugsy);
|
||||
else
|
||||
ListAddDrugs(DrugListstr, i, item);
|
||||
continue;
|
||||
@ -437,6 +489,52 @@ namespace DrawGraph
|
||||
PublicMethod.WriteLog(ex);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回是否进入加药范围
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private bool isAddDrugRange(ZedGraphControl sender, double x, double y)
|
||||
{
|
||||
bool reValue = false;
|
||||
if (y > lines.RealY && y < lines.RealEndY)
|
||||
{
|
||||
if (x > H3pack.RealX && x < lines.RealEndX)
|
||||
{
|
||||
reValue = true;
|
||||
}
|
||||
}
|
||||
return reValue;
|
||||
}
|
||||
private DateTime reDrugsTime(ZedGraphControl sender, MouseEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
double x, x2;
|
||||
double[] y;
|
||||
double[] y2;
|
||||
|
||||
double yTemp = ZedControl.Height * lines.RealEndY + 80;
|
||||
PointF mousePt = new PointF(e.X, float.Parse(yTemp.ToString()));
|
||||
|
||||
ZedGraphControl sender1 = sender as ZedGraphControl;
|
||||
GraphPane pane = sender1.MasterPane.FindChartRect(mousePt);
|
||||
if (pane != null)
|
||||
{
|
||||
pane.ReverseTransform(mousePt, out x, out x2, out y, out y2);
|
||||
XDate xd = new XDate(x);
|
||||
return xd.DateTime;
|
||||
}
|
||||
else
|
||||
{
|
||||
return DateTime.Now;
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return DateTime.Now;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 当前区域公用事件方法
|
||||
|
||||
@ -130,6 +130,16 @@ namespace DrawGraph
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public bool isEqualRow(double y, DateTime time, double lineHeight)
|
||||
{
|
||||
bool reValue = false;
|
||||
if (y > nowY && y < nowY + lineHeight)
|
||||
{
|
||||
reValue = true;
|
||||
}
|
||||
return reValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
@ -147,6 +157,14 @@ namespace DrawGraph
|
||||
//写加药的左边与右信息
|
||||
drawAddText(x, y);
|
||||
}
|
||||
public void drawText2(double x, double y)
|
||||
{
|
||||
if (zgcAnas == null) return;
|
||||
clearAddObj(zgcAnas);
|
||||
//画添加药品线,底部加加药次数和备注
|
||||
this.nowY = y;
|
||||
paintAdd(y);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 画添加药品线,底部加加药次数和备注信息
|
||||
|
||||
@ -228,6 +228,7 @@ namespace DrawGraph
|
||||
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -29,9 +29,9 @@ namespace DrawGraph
|
||||
private string endemicArea;
|
||||
private string bed;
|
||||
private string contacts;
|
||||
private string contactsPhone;
|
||||
private string contactsPhone;
|
||||
private string age;
|
||||
private string address ;
|
||||
private string address;
|
||||
|
||||
|
||||
[ClassAttributs(Description = "HIS编号")]
|
||||
@ -59,7 +59,7 @@ namespace DrawGraph
|
||||
public string VisitTimes
|
||||
{
|
||||
get { return visitTimes; }
|
||||
set { visitTimes = value; }
|
||||
set { visitTimes = value; }
|
||||
}
|
||||
|
||||
[ClassAttributs(Description = "科室编号")]
|
||||
@ -164,14 +164,14 @@ namespace DrawGraph
|
||||
{
|
||||
get { return contactsPhone; }
|
||||
set { contactsPhone = value; }
|
||||
}
|
||||
}
|
||||
|
||||
[ClassAttributs(Description = "地址")]
|
||||
public string Address
|
||||
{
|
||||
get { return address; }
|
||||
set { address = value; }
|
||||
}
|
||||
set { address = value; }
|
||||
}
|
||||
|
||||
//申请信息
|
||||
private string patientType;
|
||||
@ -486,7 +486,7 @@ namespace DrawGraph
|
||||
{
|
||||
get { return operationApplyId; }
|
||||
set { operationApplyId = value; }
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 入手术室时间
|
||||
/// </summary>
|
||||
@ -707,7 +707,7 @@ namespace DrawGraph
|
||||
/// 气管导管拔除时间
|
||||
/// </summary>
|
||||
[ClassAttributs(Description = "气管导管拔除时间")]
|
||||
public DateTime? SpileOutTime
|
||||
public DateTime? SpileOutTime
|
||||
{
|
||||
get { return spileOutTime; }
|
||||
set { spileOutTime = value; }
|
||||
@ -1076,7 +1076,7 @@ namespace DrawGraph
|
||||
/// <summary>
|
||||
/// 操作人工号
|
||||
/// </summary>
|
||||
[NoCreatControlAttributs]
|
||||
[NoCreatControlAttributs]
|
||||
public string OperatorNo
|
||||
{
|
||||
get { return operatorNo; }
|
||||
@ -1085,7 +1085,7 @@ namespace DrawGraph
|
||||
/// <summary>
|
||||
/// 操作人姓名
|
||||
/// </summary>
|
||||
[NoCreatControlAttributs]
|
||||
[NoCreatControlAttributs]
|
||||
public string OperatorName
|
||||
{
|
||||
get { return operatorName; }
|
||||
@ -1094,7 +1094,7 @@ namespace DrawGraph
|
||||
/// <summary>
|
||||
/// 操作时间
|
||||
/// </summary>
|
||||
[NoCreatControlAttributs]
|
||||
[NoCreatControlAttributs]
|
||||
public DateTime? OperateDate
|
||||
{
|
||||
get { return operateDate; }
|
||||
@ -1189,8 +1189,8 @@ namespace DrawGraph
|
||||
public List<string> AfterDrugsListstr = new List<string>();
|
||||
public List<string> FluidListstr = new List<string>();
|
||||
public List<string> PunctureAndIntubatio;
|
||||
public List<PhysioDataConfig> PhysioConfigList;
|
||||
public List<PhysioDataConfig> PhysioAnesConfigList;
|
||||
public List<PhysioDataConfig> PhysioConfigList;
|
||||
public List<PhysioDataConfig> PhysioAnesConfigList;
|
||||
|
||||
[ClassAttributs(Description = "总页数")]
|
||||
public int currentPage { get; set; }
|
||||
@ -1205,7 +1205,7 @@ namespace DrawGraph
|
||||
[ClassAttributs(Description = "页开始时间")]
|
||||
public DateTime PageBegin;
|
||||
[ClassAttributs(Description = "页结束时间")]
|
||||
public DateTime lastPageBegin;
|
||||
public DateTime lastPageBegin;
|
||||
[NoCreatControlAttributs]
|
||||
public string InCGType;
|
||||
[NoCreatControlAttributs]
|
||||
@ -1214,8 +1214,8 @@ namespace DrawGraph
|
||||
public string StateName;
|
||||
[NoCreatControlAttributs]
|
||||
public DataTable PhysioParamList;
|
||||
[NoCreatControlAttributs]
|
||||
public AbleEditPackObj phListPack = null;
|
||||
[NoCreatControlAttributs]
|
||||
public AbleEditPackObj phListPack = null;
|
||||
[NoCreatControlAttributs]
|
||||
public PhysioDataConfig SelPhysioConfig;
|
||||
[NoCreatControlAttributs]
|
||||
@ -1228,8 +1228,15 @@ namespace DrawGraph
|
||||
get { return SelectedAreaObj.GetInstance(); }
|
||||
}
|
||||
|
||||
public delegate void SpeedyDrugs(List<FactDrug> factDrugs);
|
||||
public event SpeedyDrugs SpeedyDrugsParam;
|
||||
|
||||
|
||||
public void SpeedyDrugsMethod(List<FactDrug> factDrugs)
|
||||
{
|
||||
if (SpeedyDrugsParam != null)
|
||||
SpeedyDrugsParam(factDrugs);
|
||||
}
|
||||
[NoCreatControlAttributs]
|
||||
public List<FactEvents> FactEventsList
|
||||
{
|
||||
|
||||
@ -78,6 +78,84 @@ namespace DrawGraph
|
||||
}
|
||||
public override void MouseDoubleClick(ZedGraphControl sender, MouseEventArgs e)
|
||||
{
|
||||
if (myOpeRecord != null)
|
||||
{
|
||||
if (e.Button != System.Windows.Forms.MouseButtons.Left) return;
|
||||
//触发可编辑区域的事件
|
||||
double y = Convert.ToDouble(Convert.ToDouble(e.Y) / Convert.ToDouble(ZedControl.Height));
|
||||
double x = Convert.ToDouble(Convert.ToDouble(e.X) / Convert.ToDouble(ZedControl.Width));
|
||||
ZedGraphControl sender1 = sender as ZedGraphControl;
|
||||
|
||||
PointF mousePt = new PointF(e.X, e.Y);
|
||||
GraphPane pane = sender1.MasterPane.FindChartRect(mousePt);
|
||||
|
||||
bool isDrugRange = isAddDrugRange(sender, x, y);
|
||||
if (isDrugRange && e.Button == System.Windows.Forms.MouseButtons.Left)
|
||||
{
|
||||
DateTime BeginTime = reDrugsTime(sender as ZedGraphControl, e);
|
||||
List<FactDrug> record = new List<FactDrug>();
|
||||
double addDragRowHeight = (lines.RealEndY - lines.RealY) / RowsCount;
|
||||
|
||||
foreach (FactDrug dsr in myOpeRecord.FactDrugList)
|
||||
{
|
||||
if (dsr.isEqualRow(y, BeginTime, addDragRowHeight))
|
||||
{
|
||||
record.Add(dsr);
|
||||
}
|
||||
}
|
||||
if (record.Count > 0)
|
||||
{
|
||||
myOpeRecord.SpeedyDrugsMethod(record);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回是否进入加药范围
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private bool isAddDrugRange(ZedGraphControl sender, double x, double y)
|
||||
{
|
||||
bool reValue = false;
|
||||
if (y > lines.RealY && y < lines.RealEndY)
|
||||
{
|
||||
if (x > H3pack.RealX && x < lines.RealEndX)
|
||||
{
|
||||
reValue = true;
|
||||
}
|
||||
}
|
||||
return reValue;
|
||||
}
|
||||
private DateTime reDrugsTime(ZedGraphControl sender, MouseEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
double x, x2;
|
||||
double[] y;
|
||||
double[] y2;
|
||||
|
||||
double yTemp = ZedControl.Height * lines.RealEndY + 80;
|
||||
PointF mousePt = new PointF(e.X, float.Parse(yTemp.ToString()));
|
||||
|
||||
ZedGraphControl sender1 = sender as ZedGraphControl;
|
||||
GraphPane pane = sender1.MasterPane.FindChartRect(mousePt);
|
||||
if (pane != null)
|
||||
{
|
||||
pane.ReverseTransform(mousePt, out x, out x2, out y, out y2);
|
||||
XDate xd = new XDate(x);
|
||||
return xd.DateTime;
|
||||
}
|
||||
else
|
||||
{
|
||||
return DateTime.Now;
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return DateTime.Now;
|
||||
}
|
||||
}
|
||||
public override void KeyUp(ZedGraphControl sender, KeyEventArgs e)
|
||||
{
|
||||
@ -318,7 +396,7 @@ namespace DrawGraph
|
||||
}
|
||||
DrugListstr.Add(string.Format("({0}){1} {2} {3}{4}{5}", i + 1, (temp.DrugBeginTime == temp.DrugEndTime) ? temp.DrugBeginTime.ToShortTimeString() : temp.DrugBeginTime.ToShortTimeString() + "->" + temp.DrugEndTime.ToShortTimeString(), temp.DrugName.Trim(), dose, "", temp.DrugChannel == null ? "" : " " + temp.DrugChannel.ToString()));
|
||||
//DrugListstr.Append(" ");
|
||||
}
|
||||
}
|
||||
private bool isSapDrugs(FactDrug record)
|
||||
{
|
||||
bool isSap = false;
|
||||
@ -330,7 +408,7 @@ namespace DrawGraph
|
||||
{
|
||||
isSap = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (record.BloodType != null && record.BloodType != "")
|
||||
{
|
||||
isSap = true;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<AtuoUpdate>
|
||||
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_FJZPTFYY;User ID=sa;Password=123456;</ConnectionString>
|
||||
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=123456;</DataConnectionString>
|
||||
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=Test2020;</ConnectionString>
|
||||
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020;</DataConnectionString>
|
||||
<HisConnectionStringOracel>Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;</HisConnectionStringOracel>
|
||||
</AtuoUpdate>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user