added Patient edit and patient edit on context menu click in formInfo
This commit is contained in:
parent
e6fcc33b17
commit
90ccc38cb1
@ -65,6 +65,12 @@
|
|||||||
<Compile Include="frmMain.Designer.cs">
|
<Compile Include="frmMain.Designer.cs">
|
||||||
<DependentUpon>frmMain.cs</DependentUpon>
|
<DependentUpon>frmMain.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="frmPatientAdd.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmPatientAdd.Designer.cs">
|
||||||
|
<DependentUpon>frmPatientAdd.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="frmPatientPhysician.cs">
|
<Compile Include="frmPatientPhysician.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@ -101,6 +107,9 @@
|
|||||||
<EmbeddedResource Include="frmMain.resx">
|
<EmbeddedResource Include="frmMain.resx">
|
||||||
<DependentUpon>frmMain.cs</DependentUpon>
|
<DependentUpon>frmMain.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmPatientAdd.resx">
|
||||||
|
<DependentUpon>frmPatientAdd.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmPatientPhysician.resx">
|
<EmbeddedResource Include="frmPatientPhysician.resx">
|
||||||
<DependentUpon>frmPatientPhysician.cs</DependentUpon>
|
<DependentUpon>frmPatientPhysician.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
110
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
110
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
@ -29,6 +29,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
System.Windows.Forms.Label lblPatientFirst;
|
System.Windows.Forms.Label lblPatientFirst;
|
||||||
System.Windows.Forms.Label lblPatientLast;
|
System.Windows.Forms.Label lblPatientLast;
|
||||||
System.Windows.Forms.Label lblPhysicianFirst;
|
System.Windows.Forms.Label lblPhysicianFirst;
|
||||||
@ -60,6 +61,10 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.PhoneNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.PhoneNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Gender = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Gender = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Medications = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Medications = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.cmuPatient = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.cmuPatientNew = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuPatientEdit = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuPatientDelete = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.tbpPrescription = new System.Windows.Forms.TabPage();
|
this.tbpPrescription = new System.Windows.Forms.TabPage();
|
||||||
this.splcPrescription = new System.Windows.Forms.SplitContainer();
|
this.splcPrescription = new System.Windows.Forms.SplitContainer();
|
||||||
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
|
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
|
||||||
@ -75,6 +80,10 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.Physician_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Physician_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Medication_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Medication_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Patient_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Patient_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.cmuRx = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.cmuRxNew = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuRxEdit = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuRxDelete = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.tbpPhysician = new System.Windows.Forms.TabPage();
|
this.tbpPhysician = new System.Windows.Forms.TabPage();
|
||||||
this.splcPhysician = new System.Windows.Forms.SplitContainer();
|
this.splcPhysician = new System.Windows.Forms.SplitContainer();
|
||||||
this.txtPhysicianID = new System.Windows.Forms.TextBox();
|
this.txtPhysicianID = new System.Windows.Forms.TextBox();
|
||||||
@ -94,6 +103,10 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.numberphone = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.numberphone = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.gennder = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.gennder = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.Specialty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Specialty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.cmuPhysician = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.cmuPhysicianNew = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuPhysicianEdit = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuPhysicianDelete = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
lblPatientFirst = new System.Windows.Forms.Label();
|
lblPatientFirst = new System.Windows.Forms.Label();
|
||||||
lblPatientLast = new System.Windows.Forms.Label();
|
lblPatientLast = new System.Windows.Forms.Label();
|
||||||
lblPhysicianFirst = new System.Windows.Forms.Label();
|
lblPhysicianFirst = new System.Windows.Forms.Label();
|
||||||
@ -105,18 +118,21 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.splcPatient.Panel2.SuspendLayout();
|
this.splcPatient.Panel2.SuspendLayout();
|
||||||
this.splcPatient.SuspendLayout();
|
this.splcPatient.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).BeginInit();
|
||||||
|
this.cmuPatient.SuspendLayout();
|
||||||
this.tbpPrescription.SuspendLayout();
|
this.tbpPrescription.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
|
||||||
this.splcPrescription.Panel1.SuspendLayout();
|
this.splcPrescription.Panel1.SuspendLayout();
|
||||||
this.splcPrescription.Panel2.SuspendLayout();
|
this.splcPrescription.Panel2.SuspendLayout();
|
||||||
this.splcPrescription.SuspendLayout();
|
this.splcPrescription.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).BeginInit();
|
||||||
|
this.cmuRx.SuspendLayout();
|
||||||
this.tbpPhysician.SuspendLayout();
|
this.tbpPhysician.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
|
||||||
this.splcPhysician.Panel1.SuspendLayout();
|
this.splcPhysician.Panel1.SuspendLayout();
|
||||||
this.splcPhysician.Panel2.SuspendLayout();
|
this.splcPhysician.Panel2.SuspendLayout();
|
||||||
this.splcPhysician.SuspendLayout();
|
this.splcPhysician.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).BeginInit();
|
||||||
|
this.cmuPhysician.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lblPatientFirst
|
// lblPatientFirst
|
||||||
@ -248,6 +264,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.dgvPatient.AllowUserToDeleteRows = false;
|
this.dgvPatient.AllowUserToDeleteRows = false;
|
||||||
this.dgvPatient.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dgvPatient.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dgvPatient.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.pat_id, this.FirstName, this.LastName, this.MiddleInitials, this.City, this.UsState, this.Zip, this.Ibs, this.Height_feet, this.Height_inches, this.Ailment, this.DOB, this.PhoneNumber, this.Gender, this.Medications });
|
this.dgvPatient.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.pat_id, this.FirstName, this.LastName, this.MiddleInitials, this.City, this.UsState, this.Zip, this.Ibs, this.Height_feet, this.Height_inches, this.Ailment, this.DOB, this.PhoneNumber, this.Gender, this.Medications });
|
||||||
|
this.dgvPatient.ContextMenuStrip = this.cmuPatient;
|
||||||
this.dgvPatient.Location = new System.Drawing.Point(3, 3);
|
this.dgvPatient.Location = new System.Drawing.Point(3, 3);
|
||||||
this.dgvPatient.Name = "dgvPatient";
|
this.dgvPatient.Name = "dgvPatient";
|
||||||
this.dgvPatient.ReadOnly = true;
|
this.dgvPatient.ReadOnly = true;
|
||||||
@ -362,6 +379,32 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.Medications.Name = "Medications";
|
this.Medications.Name = "Medications";
|
||||||
this.Medications.ReadOnly = true;
|
this.Medications.ReadOnly = true;
|
||||||
//
|
//
|
||||||
|
// cmuPatient
|
||||||
|
//
|
||||||
|
this.cmuPatient.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPatientNew, this.cmuPatientEdit, this.cmuPatientDelete });
|
||||||
|
this.cmuPatient.Name = "contextMenuStrip1";
|
||||||
|
this.cmuPatient.Size = new System.Drawing.Size(108, 70);
|
||||||
|
//
|
||||||
|
// cmuPatientNew
|
||||||
|
//
|
||||||
|
this.cmuPatientNew.Name = "cmuPatientNew";
|
||||||
|
this.cmuPatientNew.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuPatientNew.Text = "New";
|
||||||
|
this.cmuPatientNew.Click += new System.EventHandler(this.cmuPatientNew_Click);
|
||||||
|
//
|
||||||
|
// cmuPatientEdit
|
||||||
|
//
|
||||||
|
this.cmuPatientEdit.Name = "cmuPatientEdit";
|
||||||
|
this.cmuPatientEdit.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuPatientEdit.Text = "Edit";
|
||||||
|
this.cmuPatientEdit.Click += new System.EventHandler(this.cmuPatientEdit_Click);
|
||||||
|
//
|
||||||
|
// cmuPatientDelete
|
||||||
|
//
|
||||||
|
this.cmuPatientDelete.Name = "cmuPatientDelete";
|
||||||
|
this.cmuPatientDelete.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuPatientDelete.Text = "Delete";
|
||||||
|
//
|
||||||
// tbpPrescription
|
// tbpPrescription
|
||||||
//
|
//
|
||||||
this.tbpPrescription.Controls.Add(this.splcPrescription);
|
this.tbpPrescription.Controls.Add(this.splcPrescription);
|
||||||
@ -443,6 +486,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.dgvPrescription.AllowUserToDeleteRows = false;
|
this.dgvPrescription.AllowUserToDeleteRows = false;
|
||||||
this.dgvPrescription.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dgvPrescription.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dgvPrescription.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.RxNum_id, this.numRefills, this.pastNumRefills, this.PrescribedBy, this.Physician_id, this.Medication_id, this.Patient_id });
|
this.dgvPrescription.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.RxNum_id, this.numRefills, this.pastNumRefills, this.PrescribedBy, this.Physician_id, this.Medication_id, this.Patient_id });
|
||||||
|
this.dgvPrescription.ContextMenuStrip = this.cmuRx;
|
||||||
this.dgvPrescription.Location = new System.Drawing.Point(3, 3);
|
this.dgvPrescription.Location = new System.Drawing.Point(3, 3);
|
||||||
this.dgvPrescription.Name = "dgvPrescription";
|
this.dgvPrescription.Name = "dgvPrescription";
|
||||||
this.dgvPrescription.Size = new System.Drawing.Size(652, 195);
|
this.dgvPrescription.Size = new System.Drawing.Size(652, 195);
|
||||||
@ -490,6 +534,30 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.Patient_id.HeaderText = "Patient ID";
|
this.Patient_id.HeaderText = "Patient ID";
|
||||||
this.Patient_id.Name = "Patient_id";
|
this.Patient_id.Name = "Patient_id";
|
||||||
//
|
//
|
||||||
|
// cmuRx
|
||||||
|
//
|
||||||
|
this.cmuRx.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuRxNew, this.cmuRxEdit, this.cmuRxDelete });
|
||||||
|
this.cmuRx.Name = "cmuRx";
|
||||||
|
this.cmuRx.Size = new System.Drawing.Size(108, 70);
|
||||||
|
//
|
||||||
|
// cmuRxNew
|
||||||
|
//
|
||||||
|
this.cmuRxNew.Name = "cmuRxNew";
|
||||||
|
this.cmuRxNew.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuRxNew.Text = "New";
|
||||||
|
//
|
||||||
|
// cmuRxEdit
|
||||||
|
//
|
||||||
|
this.cmuRxEdit.Name = "cmuRxEdit";
|
||||||
|
this.cmuRxEdit.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuRxEdit.Text = "Edit";
|
||||||
|
//
|
||||||
|
// cmuRxDelete
|
||||||
|
//
|
||||||
|
this.cmuRxDelete.Name = "cmuRxDelete";
|
||||||
|
this.cmuRxDelete.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuRxDelete.Text = "Delete";
|
||||||
|
//
|
||||||
// tbpPhysician
|
// tbpPhysician
|
||||||
//
|
//
|
||||||
this.tbpPhysician.Controls.Add(this.splcPhysician);
|
this.tbpPhysician.Controls.Add(this.splcPhysician);
|
||||||
@ -574,6 +642,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.dgvPhysician.AllowUserToDeleteRows = false;
|
this.dgvPhysician.AllowUserToDeleteRows = false;
|
||||||
this.dgvPhysician.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dgvPhysician.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dgvPhysician.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Phys_id, this.namefirst, this.namelast, this.initialsmiddle, this.cit, this.state, this.zipp, this.dobb, this.numberphone, this.gennder, this.Specialty });
|
this.dgvPhysician.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Phys_id, this.namefirst, this.namelast, this.initialsmiddle, this.cit, this.state, this.zipp, this.dobb, this.numberphone, this.gennder, this.Specialty });
|
||||||
|
this.dgvPhysician.ContextMenuStrip = this.cmuPhysician;
|
||||||
this.dgvPhysician.Location = new System.Drawing.Point(3, 3);
|
this.dgvPhysician.Location = new System.Drawing.Point(3, 3);
|
||||||
this.dgvPhysician.Name = "dgvPhysician";
|
this.dgvPhysician.Name = "dgvPhysician";
|
||||||
this.dgvPhysician.ReadOnly = true;
|
this.dgvPhysician.ReadOnly = true;
|
||||||
@ -660,6 +729,30 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.Specialty.Name = "Specialty";
|
this.Specialty.Name = "Specialty";
|
||||||
this.Specialty.ReadOnly = true;
|
this.Specialty.ReadOnly = true;
|
||||||
//
|
//
|
||||||
|
// cmuPhysician
|
||||||
|
//
|
||||||
|
this.cmuPhysician.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPhysicianNew, this.cmuPhysicianEdit, this.cmuPhysicianDelete });
|
||||||
|
this.cmuPhysician.Name = "cmuPhysician";
|
||||||
|
this.cmuPhysician.Size = new System.Drawing.Size(108, 70);
|
||||||
|
//
|
||||||
|
// cmuPhysicianNew
|
||||||
|
//
|
||||||
|
this.cmuPhysicianNew.Name = "cmuPhysicianNew";
|
||||||
|
this.cmuPhysicianNew.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuPhysicianNew.Text = "New";
|
||||||
|
//
|
||||||
|
// cmuPhysicianEdit
|
||||||
|
//
|
||||||
|
this.cmuPhysicianEdit.Name = "cmuPhysicianEdit";
|
||||||
|
this.cmuPhysicianEdit.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuPhysicianEdit.Text = "Edit";
|
||||||
|
//
|
||||||
|
// cmuPhysicianDelete
|
||||||
|
//
|
||||||
|
this.cmuPhysicianDelete.Name = "cmuPhysicianDelete";
|
||||||
|
this.cmuPhysicianDelete.Size = new System.Drawing.Size(107, 22);
|
||||||
|
this.cmuPhysicianDelete.Text = "Delete";
|
||||||
|
//
|
||||||
// frmInfo
|
// frmInfo
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@ -679,6 +772,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
|
||||||
this.splcPatient.ResumeLayout(false);
|
this.splcPatient.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).EndInit();
|
||||||
|
this.cmuPatient.ResumeLayout(false);
|
||||||
this.tbpPrescription.ResumeLayout(false);
|
this.tbpPrescription.ResumeLayout(false);
|
||||||
this.splcPrescription.Panel1.ResumeLayout(false);
|
this.splcPrescription.Panel1.ResumeLayout(false);
|
||||||
this.splcPrescription.Panel1.PerformLayout();
|
this.splcPrescription.Panel1.PerformLayout();
|
||||||
@ -686,6 +780,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit();
|
||||||
this.splcPrescription.ResumeLayout(false);
|
this.splcPrescription.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).EndInit();
|
||||||
|
this.cmuRx.ResumeLayout(false);
|
||||||
this.tbpPhysician.ResumeLayout(false);
|
this.tbpPhysician.ResumeLayout(false);
|
||||||
this.splcPhysician.Panel1.ResumeLayout(false);
|
this.splcPhysician.Panel1.ResumeLayout(false);
|
||||||
this.splcPhysician.Panel1.PerformLayout();
|
this.splcPhysician.Panel1.PerformLayout();
|
||||||
@ -693,9 +788,24 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
|
||||||
this.splcPhysician.ResumeLayout(false);
|
this.splcPhysician.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).EndInit();
|
||||||
|
this.cmuPhysician.ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private System.Windows.Forms.ContextMenuStrip cmuPatient;
|
||||||
|
private System.Windows.Forms.ContextMenuStrip cmuRx;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuRxNew;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuRxEdit;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuRxDelete;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuPhysicianNew;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuPhysicianEdit;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuPhysicianDelete;
|
||||||
|
|
||||||
|
private System.Windows.Forms.ContextMenuStrip cmuPhysician;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuPatientEdit;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuPatientDelete;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuPatientNew;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private System.Windows.Forms.TabControl tbcInfo;
|
private System.Windows.Forms.TabControl tbcInfo;
|
||||||
private System.Windows.Forms.TabPage tbpPhysician;
|
private System.Windows.Forms.TabPage tbpPhysician;
|
||||||
|
@ -296,5 +296,24 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void cmuPatientNew_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
frmPatientAdd PatientAdd = new frmPatientAdd(true);
|
||||||
|
PatientAdd.MdiParent = MdiParent;
|
||||||
|
PatientAdd.StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
PatientAdd.Show();
|
||||||
|
PatientAdd.Focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmuPatientEdit_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
frmPatientAdd PatientAdd = new frmPatientAdd(false);
|
||||||
|
PatientAdd.MdiParent = MdiParent;
|
||||||
|
PatientAdd.StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
PatientAdd.Show();
|
||||||
|
PatientAdd.Focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -174,6 +174,9 @@
|
|||||||
<metadata name="Medications.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Medications.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="cmuPatient.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="RxNum_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="RxNum_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@ -195,6 +198,9 @@
|
|||||||
<metadata name="Patient_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Patient_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="cmuRx.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>125, 17</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="Phys_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Phys_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@ -228,6 +234,9 @@
|
|||||||
<metadata name="Specialty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Specialty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="cmuPhysician.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>211, 17</value>
|
||||||
|
</metadata>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
|
352
Louis'-Pharmacy_CNSA212-FP/frmPatientAdd.Designer.cs
generated
Normal file
352
Louis'-Pharmacy_CNSA212-FP/frmPatientAdd.Designer.cs
generated
Normal file
@ -0,0 +1,352 @@
|
|||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
|
namespace Louis__Pharmacy_CNSA212_FP
|
||||||
|
{
|
||||||
|
partial class frmPatientAdd
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
|
this.label9 = new System.Windows.Forms.Label();
|
||||||
|
this.label10 = new System.Windows.Forms.Label();
|
||||||
|
this.label11 = new System.Windows.Forms.Label();
|
||||||
|
this.label12 = new System.Windows.Forms.Label();
|
||||||
|
this.label13 = new System.Windows.Forms.Label();
|
||||||
|
this.txtPatientID = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtFname = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtLname = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtMidInit = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtWeight = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtHeightFt = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtHeightIn = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtDOB = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtGender = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtCity = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtZip = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtState = new System.Windows.Forms.TextBox();
|
||||||
|
this.txtPhone = new System.Windows.Forms.TextBox();
|
||||||
|
this.lblDisPurpose = new System.Windows.Forms.Label();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.Location = new System.Drawing.Point(83, 72);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "Patient ID:";
|
||||||
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.Location = new System.Drawing.Point(83, 95);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label2.TabIndex = 1;
|
||||||
|
this.label2.Text = "First Name:";
|
||||||
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.Location = new System.Drawing.Point(83, 118);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label3.TabIndex = 2;
|
||||||
|
this.label3.Text = "Last Name:";
|
||||||
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.Location = new System.Drawing.Point(83, 141);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label4.TabIndex = 3;
|
||||||
|
this.label4.Text = "Middle Initial:";
|
||||||
|
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.Location = new System.Drawing.Point(391, 72);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label5.TabIndex = 4;
|
||||||
|
this.label5.Text = "City:";
|
||||||
|
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.Location = new System.Drawing.Point(391, 95);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label6.TabIndex = 5;
|
||||||
|
this.label6.Text = "Zip Code:";
|
||||||
|
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.Location = new System.Drawing.Point(391, 118);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label7.TabIndex = 6;
|
||||||
|
this.label7.Text = "State";
|
||||||
|
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label8
|
||||||
|
//
|
||||||
|
this.label8.Location = new System.Drawing.Point(83, 164);
|
||||||
|
this.label8.Name = "label8";
|
||||||
|
this.label8.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label8.TabIndex = 7;
|
||||||
|
this.label8.Text = "Weight (Lbs):";
|
||||||
|
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label9
|
||||||
|
//
|
||||||
|
this.label9.Location = new System.Drawing.Point(83, 187);
|
||||||
|
this.label9.Name = "label9";
|
||||||
|
this.label9.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label9.TabIndex = 8;
|
||||||
|
this.label9.Text = "Height (Ft):";
|
||||||
|
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label10
|
||||||
|
//
|
||||||
|
this.label10.Location = new System.Drawing.Point(83, 210);
|
||||||
|
this.label10.Name = "label10";
|
||||||
|
this.label10.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label10.TabIndex = 9;
|
||||||
|
this.label10.Text = "Height (in):";
|
||||||
|
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label11
|
||||||
|
//
|
||||||
|
this.label11.Location = new System.Drawing.Point(83, 233);
|
||||||
|
this.label11.Name = "label11";
|
||||||
|
this.label11.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label11.TabIndex = 10;
|
||||||
|
this.label11.Text = "Date of Birth:";
|
||||||
|
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label12
|
||||||
|
//
|
||||||
|
this.label12.Location = new System.Drawing.Point(391, 141);
|
||||||
|
this.label12.Name = "label12";
|
||||||
|
this.label12.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label12.TabIndex = 11;
|
||||||
|
this.label12.Text = "Phone Number:";
|
||||||
|
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// label13
|
||||||
|
//
|
||||||
|
this.label13.Location = new System.Drawing.Point(83, 256);
|
||||||
|
this.label13.Name = "label13";
|
||||||
|
this.label13.Size = new System.Drawing.Size(100, 23);
|
||||||
|
this.label13.TabIndex = 12;
|
||||||
|
this.label13.Text = "Gender (M/F):";
|
||||||
|
this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
|
//
|
||||||
|
// txtPatientID
|
||||||
|
//
|
||||||
|
this.txtPatientID.Location = new System.Drawing.Point(189, 74);
|
||||||
|
this.txtPatientID.Name = "txtPatientID";
|
||||||
|
this.txtPatientID.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtPatientID.TabIndex = 13;
|
||||||
|
//
|
||||||
|
// txtFname
|
||||||
|
//
|
||||||
|
this.txtFname.Location = new System.Drawing.Point(189, 97);
|
||||||
|
this.txtFname.Name = "txtFname";
|
||||||
|
this.txtFname.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtFname.TabIndex = 14;
|
||||||
|
//
|
||||||
|
// txtLname
|
||||||
|
//
|
||||||
|
this.txtLname.Location = new System.Drawing.Point(189, 120);
|
||||||
|
this.txtLname.Name = "txtLname";
|
||||||
|
this.txtLname.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtLname.TabIndex = 15;
|
||||||
|
//
|
||||||
|
// txtMidInit
|
||||||
|
//
|
||||||
|
this.txtMidInit.Location = new System.Drawing.Point(189, 143);
|
||||||
|
this.txtMidInit.Name = "txtMidInit";
|
||||||
|
this.txtMidInit.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtMidInit.TabIndex = 16;
|
||||||
|
//
|
||||||
|
// txtWeight
|
||||||
|
//
|
||||||
|
this.txtWeight.Location = new System.Drawing.Point(189, 166);
|
||||||
|
this.txtWeight.Name = "txtWeight";
|
||||||
|
this.txtWeight.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtWeight.TabIndex = 17;
|
||||||
|
//
|
||||||
|
// txtHeightFt
|
||||||
|
//
|
||||||
|
this.txtHeightFt.Location = new System.Drawing.Point(189, 189);
|
||||||
|
this.txtHeightFt.Name = "txtHeightFt";
|
||||||
|
this.txtHeightFt.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtHeightFt.TabIndex = 18;
|
||||||
|
//
|
||||||
|
// txtHeightIn
|
||||||
|
//
|
||||||
|
this.txtHeightIn.Location = new System.Drawing.Point(189, 212);
|
||||||
|
this.txtHeightIn.Name = "txtHeightIn";
|
||||||
|
this.txtHeightIn.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtHeightIn.TabIndex = 19;
|
||||||
|
//
|
||||||
|
// txtDOB
|
||||||
|
//
|
||||||
|
this.txtDOB.Location = new System.Drawing.Point(189, 235);
|
||||||
|
this.txtDOB.Name = "txtDOB";
|
||||||
|
this.txtDOB.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtDOB.TabIndex = 20;
|
||||||
|
//
|
||||||
|
// txtGender
|
||||||
|
//
|
||||||
|
this.txtGender.Location = new System.Drawing.Point(189, 258);
|
||||||
|
this.txtGender.Name = "txtGender";
|
||||||
|
this.txtGender.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtGender.TabIndex = 21;
|
||||||
|
//
|
||||||
|
// txtCity
|
||||||
|
//
|
||||||
|
this.txtCity.Location = new System.Drawing.Point(497, 74);
|
||||||
|
this.txtCity.Name = "txtCity";
|
||||||
|
this.txtCity.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtCity.TabIndex = 22;
|
||||||
|
//
|
||||||
|
// txtZip
|
||||||
|
//
|
||||||
|
this.txtZip.Location = new System.Drawing.Point(497, 97);
|
||||||
|
this.txtZip.Name = "txtZip";
|
||||||
|
this.txtZip.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtZip.TabIndex = 23;
|
||||||
|
//
|
||||||
|
// txtState
|
||||||
|
//
|
||||||
|
this.txtState.Location = new System.Drawing.Point(497, 120);
|
||||||
|
this.txtState.Name = "txtState";
|
||||||
|
this.txtState.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtState.TabIndex = 24;
|
||||||
|
//
|
||||||
|
// txtPhone
|
||||||
|
//
|
||||||
|
this.txtPhone.Location = new System.Drawing.Point(497, 143);
|
||||||
|
this.txtPhone.Name = "txtPhone";
|
||||||
|
this.txtPhone.Size = new System.Drawing.Size(100, 20);
|
||||||
|
this.txtPhone.TabIndex = 25;
|
||||||
|
//
|
||||||
|
// lblDisPurpose
|
||||||
|
//
|
||||||
|
this.lblDisPurpose.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.lblDisPurpose.Location = new System.Drawing.Point(206, 9);
|
||||||
|
this.lblDisPurpose.Name = "lblDisPurpose";
|
||||||
|
this.lblDisPurpose.Size = new System.Drawing.Size(380, 36);
|
||||||
|
this.lblDisPurpose.TabIndex = 26;
|
||||||
|
this.lblDisPurpose.Text = "Patient";
|
||||||
|
this.lblDisPurpose.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// frmPatientAdd
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.lblDisPurpose);
|
||||||
|
this.Controls.Add(this.txtPhone);
|
||||||
|
this.Controls.Add(this.txtState);
|
||||||
|
this.Controls.Add(this.txtZip);
|
||||||
|
this.Controls.Add(this.txtCity);
|
||||||
|
this.Controls.Add(this.txtGender);
|
||||||
|
this.Controls.Add(this.txtDOB);
|
||||||
|
this.Controls.Add(this.txtHeightIn);
|
||||||
|
this.Controls.Add(this.txtHeightFt);
|
||||||
|
this.Controls.Add(this.txtWeight);
|
||||||
|
this.Controls.Add(this.txtMidInit);
|
||||||
|
this.Controls.Add(this.txtLname);
|
||||||
|
this.Controls.Add(this.txtFname);
|
||||||
|
this.Controls.Add(this.txtPatientID);
|
||||||
|
this.Controls.Add(this.label13);
|
||||||
|
this.Controls.Add(this.label12);
|
||||||
|
this.Controls.Add(this.label11);
|
||||||
|
this.Controls.Add(this.label10);
|
||||||
|
this.Controls.Add(this.label9);
|
||||||
|
this.Controls.Add(this.label8);
|
||||||
|
this.Controls.Add(this.label7);
|
||||||
|
this.Controls.Add(this.label6);
|
||||||
|
this.Controls.Add(this.label5);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Name = "frmPatientAdd";
|
||||||
|
this.Text = "frmPatientAdd";
|
||||||
|
this.Load += new System.EventHandler(this.frmPatientAdd_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
private System.Windows.Forms.TextBox txtPatientID;
|
||||||
|
private System.Windows.Forms.TextBox txtFname;
|
||||||
|
private System.Windows.Forms.TextBox txtLname;
|
||||||
|
private System.Windows.Forms.TextBox txtMidInit;
|
||||||
|
private System.Windows.Forms.TextBox txtWeight;
|
||||||
|
private System.Windows.Forms.TextBox txtHeightFt;
|
||||||
|
private System.Windows.Forms.TextBox txtHeightIn;
|
||||||
|
private System.Windows.Forms.TextBox txtDOB;
|
||||||
|
private System.Windows.Forms.TextBox txtGender;
|
||||||
|
private System.Windows.Forms.TextBox txtCity;
|
||||||
|
private System.Windows.Forms.TextBox txtZip;
|
||||||
|
private System.Windows.Forms.TextBox txtState;
|
||||||
|
private System.Windows.Forms.TextBox txtPhone;
|
||||||
|
private System.Windows.Forms.Label lblDisPurpose;
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.Label label8;
|
||||||
|
private System.Windows.Forms.Label label9;
|
||||||
|
private System.Windows.Forms.Label label10;
|
||||||
|
private System.Windows.Forms.Label label11;
|
||||||
|
private System.Windows.Forms.Label label12;
|
||||||
|
private System.Windows.Forms.Label label13;
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
54
Louis'-Pharmacy_CNSA212-FP/frmPatientAdd.cs
Normal file
54
Louis'-Pharmacy_CNSA212-FP/frmPatientAdd.cs
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user