CNSA-212-FP/Louis'-Pharmacy_CNSA212-FP/frmPhysician.cs
2024-02-16 20:13:30 -05:00

45 lines
961 B
C#

using System;
using System.Windows.Forms;
namespace Louis__Pharmacy_CNSA212_FP
{
public partial class frmPhysician : Form
{
private bool isAdd;
private frmInfo SourceForm;
public frmPhysician(frmInfo sourceForm, bool isNew)
{
SourceForm = sourceForm;
isAdd = isNew;
InitializeComponent();
txtState.MaxLength = 2;
if (isNew)
{
lblDisPurpose.Text = @"Add Physician";
btnGO.Text = @"Create";
}
else
{
lblDisPurpose.Text = @"Edit Physician";
btnGO.Text = @"Update";
}
}
private void btnClose_Click(object sender, EventArgs e)
{
Close();
}
private void btnGO_Click(object sender, EventArgs e)
{
}
}
}