From e8e95df8b029d4da98ec5c083aaf19f4bd731618 Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Tue, 13 Feb 2024 23:10:18 -0500 Subject: [PATCH] Added patient and physician id text and label to the patient and physician info tabs in the view info form. --- .../frmInfo.Designer.cs | 52 +++++++++++++++++-- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index 73d71dd..f6cb60b 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -90,6 +90,10 @@ namespace Louis__Pharmacy_CNSA212_FP this.numberphone = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.gennder = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Specialty = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.lblPhysicianID = new System.Windows.Forms.Label(); + this.txtPhysicianID = new System.Windows.Forms.TextBox(); + this.lblPatientID = new System.Windows.Forms.Label(); + this.txtPatientID = new System.Windows.Forms.TextBox(); lblPatientFirst = new System.Windows.Forms.Label(); lblPatientLast = new System.Windows.Forms.Label(); lblPhysicianFirst = new System.Windows.Forms.Label(); @@ -181,6 +185,8 @@ namespace Louis__Pharmacy_CNSA212_FP // // splcPatient.Panel1 // + this.splcPatient.Panel1.Controls.Add(this.txtPatientID); + this.splcPatient.Panel1.Controls.Add(this.lblPatientID); this.splcPatient.Panel1.Controls.Add(lblPatientLast); this.splcPatient.Panel1.Controls.Add(this.txtPatientLast); this.splcPatient.Panel1.Controls.Add(lblPatientFirst); @@ -212,7 +218,7 @@ namespace Louis__Pharmacy_CNSA212_FP // btnPatientSearch // this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent; - this.btnPatientSearch.Location = new System.Drawing.Point(50, 119); + this.btnPatientSearch.Location = new System.Drawing.Point(23, 150); this.btnPatientSearch.Name = "btnPatientSearch"; this.btnPatientSearch.Size = new System.Drawing.Size(75, 23); this.btnPatientSearch.TabIndex = 4; @@ -341,6 +347,8 @@ namespace Louis__Pharmacy_CNSA212_FP // splcPhysician.Panel1 // this.splcPhysician.Panel1.AutoScroll = true; + this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianID); + this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianID); this.splcPhysician.Panel1.Controls.Add(lblPhysicianLast); this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianLast); this.splcPhysician.Panel1.Controls.Add(lblPhysicianFirst); @@ -358,21 +366,21 @@ namespace Louis__Pharmacy_CNSA212_FP // // txtPhysicianLast // - this.txtPhysicianLast.Location = new System.Drawing.Point(90, 67); + this.txtPhysicianLast.Location = new System.Drawing.Point(99, 67); this.txtPhysicianLast.Name = "txtPhysicianLast"; this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20); this.txtPhysicianLast.TabIndex = 6; // // txtPhysicianFirst // - this.txtPhysicianFirst.Location = new System.Drawing.Point(90, 23); + this.txtPhysicianFirst.Location = new System.Drawing.Point(99, 23); this.txtPhysicianFirst.Name = "txtPhysicianFirst"; this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20); this.txtPhysicianFirst.TabIndex = 5; // // btnPhysicianSearch // - this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116); + this.btnPhysicianSearch.Location = new System.Drawing.Point(45, 146); this.btnPhysicianSearch.Name = "btnPhysicianSearch"; this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23); this.btnPhysicianSearch.TabIndex = 4; @@ -650,6 +658,38 @@ namespace Louis__Pharmacy_CNSA212_FP this.Specialty.Name = "Specialty"; this.Specialty.ReadOnly = true; // + // lblPhysicianID + // + this.lblPhysicianID.AutoSize = true; + this.lblPhysicianID.Location = new System.Drawing.Point(24, 111); + this.lblPhysicianID.Name = "lblPhysicianID"; + this.lblPhysicianID.Size = new System.Drawing.Size(69, 13); + this.lblPhysicianID.TabIndex = 7; + this.lblPhysicianID.Text = "Physician ID:"; + // + // txtPhysicianID + // + this.txtPhysicianID.Location = new System.Drawing.Point(99, 111); + this.txtPhysicianID.Name = "txtPhysicianID"; + this.txtPhysicianID.Size = new System.Drawing.Size(100, 20); + this.txtPhysicianID.TabIndex = 8; + // + // lblPatientID + // + this.lblPatientID.AutoSize = true; + this.lblPatientID.Location = new System.Drawing.Point(23, 109); + this.lblPatientID.Name = "lblPatientID"; + this.lblPatientID.Size = new System.Drawing.Size(57, 13); + this.lblPatientID.TabIndex = 7; + this.lblPatientID.Text = "Patient ID:"; + // + // txtPatientID + // + this.txtPatientID.Location = new System.Drawing.Point(86, 109); + this.txtPatientID.Name = "txtPatientID"; + this.txtPatientID.Size = new System.Drawing.Size(100, 20); + this.txtPatientID.TabIndex = 8; + // // frmInfo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -742,5 +782,9 @@ namespace Louis__Pharmacy_CNSA212_FP private System.Windows.Forms.DataGridViewTextBoxColumn numberphone; private System.Windows.Forms.DataGridViewTextBoxColumn gennder; private System.Windows.Forms.DataGridViewTextBoxColumn Specialty; + private System.Windows.Forms.TextBox txtPhysicianID; + private System.Windows.Forms.Label lblPhysicianID; + private System.Windows.Forms.TextBox txtPatientID; + private System.Windows.Forms.Label lblPatientID; } } \ No newline at end of file