AIMS/AIMS/OremrUserControl/PrescriptionDocument.cs

56 lines
1.4 KiB
C#

using AIMSExtension;
using AIMSModel;
using DrawGraph;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace AIMS.OperationDoing.AnasRecordBill
{
public partial class PrescriptionDocument : UserControl
{
public string type;
public Drugs Drug;
public OperationRecord _operationRecord;
public List<JsonTextForDoc> list;
public DataGridViewRow CurrentRow;
public int DrugCount;
public PrescriptionDocument(OperationRecord operationRecord, DataGridViewRow _CurrentRow )
{
InitializeComponent();
_operationRecord = operationRecord;
CurrentRow = _CurrentRow;
InitializeData();
}
/// <summary>
/// 赋值
/// </summary>
private void InitializeData()
{
}
private void flowLayoutPanel1_Paint(object sender, PaintEventArgs e)
{
Pen pen = new Pen(Color.Black);
PointF rowPt1 = new PointF(310, 75);
PointF rowPt2 = new PointF(150, 150);
e.Graphics.DrawLine(pen, rowPt1, rowPt2);
}
private void labDate_DoubleClick(object sender, EventArgs e)
{
labDate.Text = DateTime.Now.ToString("yyyy年MM月dd日");
}
private void txtOrderNo_DoubleClick(object sender, EventArgs e)
{
}
}
}