CNSA-212-FP/Louis'-Pharmacy_CNSA212-FP/frmPatientAdd.cs
Adam McCane cbef2d4b74 Revert "worked on search form"
This reverts commit 3dcef0eb3e.
2024-02-15 12:23:00 -05:00

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
}
}
}
}