54 lines
1022 B
C#
54 lines
1022 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Louis__Pharmacy_CNSA212_FP
|
|
{
|
|
public partial class frmPatientAdd : Form
|
|
{
|
|
|
|
private static bool isAdd;
|
|
public frmPatientAdd(bool isNew)
|
|
{
|
|
isAdd = isNew;
|
|
InitializeComponent();
|
|
if (isNew)
|
|
{
|
|
lblDisPurpose.Text = "Add Patient";
|
|
}
|
|
else
|
|
{
|
|
lblDisPurpose.Text = "Edit Patient";
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void label1_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void frmPatientAdd_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
txtPatientID.Enabled = false;
|
|
|
|
if (isAdd)
|
|
{
|
|
|
|
//Pull next Patient ID
|
|
|
|
}
|
|
else
|
|
{
|
|
|
|
//Pull Current Info
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
} |