2024-02-15 08:55:05 -05:00
|
|
|
|
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)
|
|
|
|
|
{
|
2024-02-15 12:23:00 -05:00
|
|
|
|
|
|
|
|
|
//Pull next Patient ID
|
|
|
|
|
|
2024-02-15 08:55:05 -05:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
|
2024-02-15 12:23:00 -05:00
|
|
|
|
//Pull Current Info
|
2024-02-15 08:55:05 -05:00
|
|
|
|
|
|
|
|
|
}
|
2024-02-15 12:23:00 -05:00
|
|
|
|
|
2024-02-15 12:04:26 -05:00
|
|
|
|
|
2024-02-15 08:55:05 -05:00
|
|
|
|
}
|
|
|
|
|
|
2024-02-15 12:23:00 -05:00
|
|
|
|
|
2024-02-15 08:55:05 -05:00
|
|
|
|
}
|
|
|
|
|
}
|