From 72bfcec0f3e3f1c3a05a951e378348921c8b03d6 Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Tue, 13 Feb 2024 22:53:23 -0500 Subject: [PATCH] Added all of the columns to all three data grid views in the view info form. Formatted the cells properly and gave all the columns the right data source names. --- .../frmInfo.Designer.cs | 446 ++++++++++++++++-- Louis'-Pharmacy_CNSA212-FP/frmInfo.resx | 99 ++++ 2 files changed, 499 insertions(+), 46 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index 380bf75..73d71dd 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -33,6 +33,8 @@ namespace Louis__Pharmacy_CNSA212_FP System.Windows.Forms.Label lblPatientLast; System.Windows.Forms.Label lblPhysicianFirst; System.Windows.Forms.Label lblPhysicianLast; + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInfo)); this.tbcInfo = new System.Windows.Forms.TabControl(); this.tbpPatient = new System.Windows.Forms.TabPage(); @@ -40,20 +42,54 @@ namespace Louis__Pharmacy_CNSA212_FP this.txtPatientLast = new System.Windows.Forms.TextBox(); this.txtPatientFirst = new System.Windows.Forms.TextBox(); this.btnPatientSearch = new System.Windows.Forms.Button(); - this.pATIENTDataGridView = new System.Windows.Forms.DataGridView(); + this.dgvPatient = new System.Windows.Forms.DataGridView(); this.tbpPrescription = new System.Windows.Forms.TabPage(); this.splcPrescription = new System.Windows.Forms.SplitContainer(); this.btnPrescriptionSearch = new System.Windows.Forms.Button(); - this.txtPrescriptionLast = new System.Windows.Forms.TextBox(); + this.txtPrescriptionPatID = new System.Windows.Forms.TextBox(); this.txtRxNumber = new System.Windows.Forms.TextBox(); - this.lblPrescriptionLast = new System.Windows.Forms.Label(); + this.lblPrescriptionPatID = new System.Windows.Forms.Label(); this.lblRxNumber = new System.Windows.Forms.Label(); this.tbpPhysician = new System.Windows.Forms.TabPage(); this.splcPhysician = new System.Windows.Forms.SplitContainer(); this.txtPhysicianLast = new System.Windows.Forms.TextBox(); this.txtPhysicianFirst = new System.Windows.Forms.TextBox(); this.btnPhysicianSearch = new System.Windows.Forms.Button(); - this.pHYSICIANDataGridView = new System.Windows.Forms.DataGridView(); + this.dgvPhysician = new System.Windows.Forms.DataGridView(); + this.dgvPrescription = new System.Windows.Forms.DataGridView(); + this.pat_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.FirstName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.LastName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.MiddleInitials = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.City = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.UsState = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Zip = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Ibs = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Height_feet = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Height_inches = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Ailment = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DOB = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PhoneNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Gender = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Medications = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.RxNum_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.numRefills = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.pastNumRefills = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PrescribedBy = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Physician_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Medication_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Patient_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Phys_id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.namefirst = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.namelast = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.initialsmiddle = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cit = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.state = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.zipp = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dobb = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.numberphone = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.gennder = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Specialty = new System.Windows.Forms.DataGridViewTextBoxColumn(); lblPatientFirst = new System.Windows.Forms.Label(); lblPatientLast = new System.Windows.Forms.Label(); lblPhysicianFirst = new System.Windows.Forms.Label(); @@ -64,17 +100,19 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPatient.Panel1.SuspendLayout(); this.splcPatient.Panel2.SuspendLayout(); this.splcPatient.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).BeginInit(); this.tbpPrescription.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit(); this.splcPrescription.Panel1.SuspendLayout(); + this.splcPrescription.Panel2.SuspendLayout(); this.splcPrescription.SuspendLayout(); this.tbpPhysician.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit(); this.splcPhysician.Panel1.SuspendLayout(); this.splcPhysician.Panel2.SuspendLayout(); this.splcPhysician.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).BeginInit(); this.SuspendLayout(); // // lblPatientFirst @@ -152,7 +190,7 @@ namespace Louis__Pharmacy_CNSA212_FP // splcPatient.Panel2 // this.splcPatient.Panel2.AutoScroll = true; - this.splcPatient.Panel2.Controls.Add(this.pATIENTDataGridView); + this.splcPatient.Panel2.Controls.Add(this.dgvPatient); this.splcPatient.Size = new System.Drawing.Size(658, 415); this.splcPatient.SplitterDistance = 186; this.splcPatient.TabIndex = 0; @@ -181,16 +219,32 @@ namespace Louis__Pharmacy_CNSA212_FP this.btnPatientSearch.Text = "Search"; this.btnPatientSearch.UseVisualStyleBackColor = false; // - // pATIENTDataGridView + // dgvPatient // - this.pATIENTDataGridView.AllowUserToAddRows = false; - this.pATIENTDataGridView.AllowUserToDeleteRows = false; - this.pATIENTDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.pATIENTDataGridView.Location = new System.Drawing.Point(3, 3); - this.pATIENTDataGridView.Name = "pATIENTDataGridView"; - this.pATIENTDataGridView.ReadOnly = true; - this.pATIENTDataGridView.Size = new System.Drawing.Size(652, 219); - this.pATIENTDataGridView.TabIndex = 0; + this.dgvPatient.AllowUserToAddRows = false; + this.dgvPatient.AllowUserToDeleteRows = false; + 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.Location = new System.Drawing.Point(3, 3); + this.dgvPatient.Name = "dgvPatient"; + this.dgvPatient.ReadOnly = true; + this.dgvPatient.Size = new System.Drawing.Size(652, 219); + this.dgvPatient.TabIndex = 0; // // tbpPrescription // @@ -212,10 +266,14 @@ namespace Louis__Pharmacy_CNSA212_FP // splcPrescription.Panel1 // this.splcPrescription.Panel1.Controls.Add(this.btnPrescriptionSearch); - this.splcPrescription.Panel1.Controls.Add(this.txtPrescriptionLast); + this.splcPrescription.Panel1.Controls.Add(this.txtPrescriptionPatID); this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber); - this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast); + this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionPatID); this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber); + // + // splcPrescription.Panel2 + // + this.splcPrescription.Panel2.Controls.Add(this.dgvPrescription); this.splcPrescription.Size = new System.Drawing.Size(658, 415); this.splcPrescription.SplitterDistance = 210; this.splcPrescription.TabIndex = 0; @@ -229,12 +287,12 @@ namespace Louis__Pharmacy_CNSA212_FP this.btnPrescriptionSearch.Text = "Search"; this.btnPrescriptionSearch.UseVisualStyleBackColor = true; // - // txtPrescriptionLast + // txtPrescriptionPatID // - this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74); - this.txtPrescriptionLast.Name = "txtPrescriptionLast"; - this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20); - this.txtPrescriptionLast.TabIndex = 3; + this.txtPrescriptionPatID.Location = new System.Drawing.Point(184, 74); + this.txtPrescriptionPatID.Name = "txtPrescriptionPatID"; + this.txtPrescriptionPatID.Size = new System.Drawing.Size(100, 20); + this.txtPrescriptionPatID.TabIndex = 3; // // txtRxNumber // @@ -243,14 +301,14 @@ namespace Louis__Pharmacy_CNSA212_FP this.txtRxNumber.Size = new System.Drawing.Size(100, 20); this.txtRxNumber.TabIndex = 2; // - // lblPrescriptionLast + // lblPrescriptionPatID // - this.lblPrescriptionLast.AutoSize = true; - this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74); - this.lblPrescriptionLast.Name = "lblPrescriptionLast"; - this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13); - this.lblPrescriptionLast.TabIndex = 1; - this.lblPrescriptionLast.Text = "Last Name:"; + this.lblPrescriptionPatID.AutoSize = true; + this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74); + this.lblPrescriptionPatID.Name = "lblPrescriptionPatID"; + this.lblPrescriptionPatID.Size = new System.Drawing.Size(57, 13); + this.lblPrescriptionPatID.TabIndex = 1; + this.lblPrescriptionPatID.Text = "Patient ID:"; // // lblRxNumber // @@ -293,7 +351,7 @@ namespace Louis__Pharmacy_CNSA212_FP // splcPhysician.Panel2 // this.splcPhysician.Panel2.AutoScroll = true; - this.splcPhysician.Panel2.Controls.Add(this.pHYSICIANDataGridView); + this.splcPhysician.Panel2.Controls.Add(this.dgvPhysician); this.splcPhysician.Size = new System.Drawing.Size(652, 409); this.splcPhysician.SplitterDistance = 183; this.splcPhysician.TabIndex = 0; @@ -321,16 +379,276 @@ namespace Louis__Pharmacy_CNSA212_FP this.btnPhysicianSearch.Text = "Search"; this.btnPhysicianSearch.UseVisualStyleBackColor = true; // - // pHYSICIANDataGridView + // dgvPhysician // - this.pHYSICIANDataGridView.AllowUserToAddRows = false; - this.pHYSICIANDataGridView.AllowUserToDeleteRows = false; - this.pHYSICIANDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.pHYSICIANDataGridView.Location = new System.Drawing.Point(3, 3); - this.pHYSICIANDataGridView.Name = "pHYSICIANDataGridView"; - this.pHYSICIANDataGridView.ReadOnly = true; - this.pHYSICIANDataGridView.Size = new System.Drawing.Size(646, 216); - this.pHYSICIANDataGridView.TabIndex = 0; + this.dgvPhysician.AllowUserToAddRows = false; + this.dgvPhysician.AllowUserToDeleteRows = false; + 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.Location = new System.Drawing.Point(3, 3); + this.dgvPhysician.Name = "dgvPhysician"; + this.dgvPhysician.ReadOnly = true; + this.dgvPhysician.Size = new System.Drawing.Size(646, 216); + this.dgvPhysician.TabIndex = 0; + // + // dgvPrescription + // + this.dgvPrescription.AllowUserToAddRows = false; + this.dgvPrescription.AllowUserToDeleteRows = false; + 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.Location = new System.Drawing.Point(3, 3); + this.dgvPrescription.Name = "dgvPrescription"; + this.dgvPrescription.Size = new System.Drawing.Size(652, 195); + this.dgvPrescription.TabIndex = 0; + // + // pat_id + // + this.pat_id.DataPropertyName = "Patient_id"; + this.pat_id.HeaderText = "Patient ID"; + this.pat_id.Name = "pat_id"; + this.pat_id.ReadOnly = true; + // + // FirstName + // + this.FirstName.DataPropertyName = "FirstName"; + this.FirstName.HeaderText = "First Name"; + this.FirstName.Name = "FirstName"; + this.FirstName.ReadOnly = true; + // + // LastName + // + this.LastName.DataPropertyName = "LastName"; + this.LastName.HeaderText = "Last Name"; + this.LastName.Name = "LastName"; + this.LastName.ReadOnly = true; + // + // MiddleInitials + // + this.MiddleInitials.DataPropertyName = "MiddleInitials"; + this.MiddleInitials.HeaderText = "Middle Initial"; + this.MiddleInitials.Name = "MiddleInitials"; + this.MiddleInitials.ReadOnly = true; + // + // City + // + this.City.DataPropertyName = "City"; + this.City.HeaderText = "City"; + this.City.Name = "City"; + this.City.ReadOnly = true; + // + // UsState + // + this.UsState.DataPropertyName = "UsState"; + this.UsState.HeaderText = "State"; + this.UsState.Name = "UsState"; + this.UsState.ReadOnly = true; + // + // Zip + // + this.Zip.DataPropertyName = "Zip"; + this.Zip.HeaderText = "Zip"; + this.Zip.Name = "Zip"; + this.Zip.ReadOnly = true; + // + // Ibs + // + this.Ibs.DataPropertyName = "Ibs"; + this.Ibs.HeaderText = "Weight"; + this.Ibs.Name = "Ibs"; + this.Ibs.ReadOnly = true; + // + // Height_feet + // + this.Height_feet.DataPropertyName = "Height_feet"; + this.Height_feet.HeaderText = "Height (Feet)"; + this.Height_feet.Name = "Height_feet"; + this.Height_feet.ReadOnly = true; + // + // Height_inches + // + this.Height_inches.DataPropertyName = "Height_inches"; + this.Height_inches.HeaderText = "Height (inches)"; + this.Height_inches.Name = "Height_inches"; + this.Height_inches.ReadOnly = true; + // + // Ailment + // + this.Ailment.DataPropertyName = "Ailment"; + this.Ailment.HeaderText = "Ailment"; + this.Ailment.Name = "Ailment"; + this.Ailment.ReadOnly = true; + // + // DOB + // + this.DOB.DataPropertyName = "DOB"; + dataGridViewCellStyle1.Format = "d"; + dataGridViewCellStyle1.NullValue = null; + this.DOB.DefaultCellStyle = dataGridViewCellStyle1; + this.DOB.HeaderText = "DOB"; + this.DOB.Name = "DOB"; + this.DOB.ReadOnly = true; + // + // PhoneNumber + // + this.PhoneNumber.DataPropertyName = "PhoneNumber"; + this.PhoneNumber.HeaderText = "Phone Number"; + this.PhoneNumber.Name = "PhoneNumber"; + this.PhoneNumber.ReadOnly = true; + // + // Gender + // + this.Gender.DataPropertyName = "Gender"; + this.Gender.HeaderText = "Gender"; + this.Gender.Name = "Gender"; + this.Gender.ReadOnly = true; + // + // Medications + // + this.Medications.DataPropertyName = "Medications"; + this.Medications.HeaderText = "Medications"; + this.Medications.Name = "Medications"; + this.Medications.ReadOnly = true; + // + // RxNum_id + // + this.RxNum_id.DataPropertyName = "RxNum_id"; + this.RxNum_id.HeaderText = "Rx Number"; + this.RxNum_id.Name = "RxNum_id"; + // + // numRefills + // + this.numRefills.DataPropertyName = "numRefills"; + this.numRefills.HeaderText = "Number of Refills"; + this.numRefills.Name = "numRefills"; + // + // pastNumRefills + // + this.pastNumRefills.DataPropertyName = "pastNumRefills"; + this.pastNumRefills.HeaderText = "Past Number of Refills"; + this.pastNumRefills.Name = "pastNumRefills"; + // + // PrescribedBy + // + this.PrescribedBy.DataPropertyName = "PrescribedBy"; + this.PrescribedBy.HeaderText = "Prescribed By"; + this.PrescribedBy.Name = "PrescribedBy"; + // + // Physician_id + // + this.Physician_id.DataPropertyName = "Physician_id"; + this.Physician_id.HeaderText = "Physician ID"; + this.Physician_id.Name = "Physician_id"; + // + // Medication_id + // + this.Medication_id.DataPropertyName = "Medication_id"; + this.Medication_id.HeaderText = "Medication ID"; + this.Medication_id.Name = "Medication_id"; + // + // Patient_id + // + this.Patient_id.DataPropertyName = "Patient_id"; + this.Patient_id.HeaderText = "Patient ID"; + this.Patient_id.Name = "Patient_id"; + // + // Phys_id + // + this.Phys_id.DataPropertyName = "Physician_id"; + this.Phys_id.HeaderText = "Physician ID"; + this.Phys_id.Name = "Phys_id"; + this.Phys_id.ReadOnly = true; + // + // namefirst + // + this.namefirst.DataPropertyName = "FirstName"; + this.namefirst.HeaderText = "First Name"; + this.namefirst.Name = "namefirst"; + this.namefirst.ReadOnly = true; + // + // namelast + // + this.namelast.DataPropertyName = "LastName"; + this.namelast.HeaderText = "Last Name"; + this.namelast.Name = "namelast"; + this.namelast.ReadOnly = true; + // + // initialsmiddle + // + this.initialsmiddle.DataPropertyName = "MiddleInitials"; + this.initialsmiddle.HeaderText = "Middle Initial"; + this.initialsmiddle.Name = "initialsmiddle"; + this.initialsmiddle.ReadOnly = true; + // + // cit + // + this.cit.DataPropertyName = "City"; + this.cit.HeaderText = "City"; + this.cit.Name = "cit"; + this.cit.ReadOnly = true; + // + // state + // + this.state.DataPropertyName = "UsState"; + this.state.HeaderText = "State"; + this.state.Name = "state"; + this.state.ReadOnly = true; + // + // zipp + // + this.zipp.DataPropertyName = "Zip"; + this.zipp.HeaderText = "Zip"; + this.zipp.Name = "zipp"; + this.zipp.ReadOnly = true; + // + // dobb + // + this.dobb.DataPropertyName = "DOB"; + dataGridViewCellStyle2.Format = "d"; + dataGridViewCellStyle2.NullValue = null; + this.dobb.DefaultCellStyle = dataGridViewCellStyle2; + this.dobb.HeaderText = "DOB"; + this.dobb.Name = "dobb"; + this.dobb.ReadOnly = true; + // + // numberphone + // + this.numberphone.DataPropertyName = "PhoneNumber"; + this.numberphone.HeaderText = "Phone Number"; + this.numberphone.Name = "numberphone"; + this.numberphone.ReadOnly = true; + // + // gennder + // + this.gennder.DataPropertyName = "Gender"; + this.gennder.HeaderText = "Gender"; + this.gennder.Name = "gennder"; + this.gennder.ReadOnly = true; + // + // Specialty + // + this.Specialty.DataPropertyName = "Specialty"; + this.Specialty.HeaderText = "Specialty"; + this.Specialty.Name = "Specialty"; + this.Specialty.ReadOnly = true; // // frmInfo // @@ -350,10 +668,11 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPatient.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit(); this.splcPatient.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).EndInit(); this.tbpPrescription.ResumeLayout(false); this.splcPrescription.Panel1.ResumeLayout(false); this.splcPrescription.Panel1.PerformLayout(); + this.splcPrescription.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit(); this.splcPrescription.ResumeLayout(false); this.tbpPhysician.ResumeLayout(false); @@ -362,7 +681,8 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPhysician.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit(); this.splcPhysician.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).EndInit(); this.ResumeLayout(false); } @@ -377,16 +697,50 @@ namespace Louis__Pharmacy_CNSA212_FP private System.Windows.Forms.SplitContainer splcPrescription; private System.Windows.Forms.Button btnPatientSearch; private System.Windows.Forms.TextBox txtRxNumber; - private System.Windows.Forms.Label lblPrescriptionLast; + private System.Windows.Forms.Label lblPrescriptionPatID; private System.Windows.Forms.Label lblRxNumber; - private System.Windows.Forms.TextBox txtPrescriptionLast; + private System.Windows.Forms.TextBox txtPrescriptionPatID; private System.Windows.Forms.Button btnPrescriptionSearch; private System.Windows.Forms.Button btnPhysicianSearch; private System.Windows.Forms.TextBox txtPatientLast; private System.Windows.Forms.TextBox txtPatientFirst; - private System.Windows.Forms.DataGridView pATIENTDataGridView; + private System.Windows.Forms.DataGridView dgvPatient; private System.Windows.Forms.TextBox txtPhysicianLast; private System.Windows.Forms.TextBox txtPhysicianFirst; - private System.Windows.Forms.DataGridView pHYSICIANDataGridView; + private System.Windows.Forms.DataGridView dgvPhysician; + private System.Windows.Forms.DataGridView dgvPrescription; + private System.Windows.Forms.DataGridViewTextBoxColumn pat_id; + private System.Windows.Forms.DataGridViewTextBoxColumn FirstName; + private System.Windows.Forms.DataGridViewTextBoxColumn LastName; + private System.Windows.Forms.DataGridViewTextBoxColumn MiddleInitials; + private System.Windows.Forms.DataGridViewTextBoxColumn City; + private System.Windows.Forms.DataGridViewTextBoxColumn UsState; + private System.Windows.Forms.DataGridViewTextBoxColumn Zip; + private System.Windows.Forms.DataGridViewTextBoxColumn Ibs; + private System.Windows.Forms.DataGridViewTextBoxColumn Height_feet; + private System.Windows.Forms.DataGridViewTextBoxColumn Height_inches; + private System.Windows.Forms.DataGridViewTextBoxColumn Ailment; + private System.Windows.Forms.DataGridViewTextBoxColumn DOB; + private System.Windows.Forms.DataGridViewTextBoxColumn PhoneNumber; + private System.Windows.Forms.DataGridViewTextBoxColumn Gender; + private System.Windows.Forms.DataGridViewTextBoxColumn Medications; + private System.Windows.Forms.DataGridViewTextBoxColumn RxNum_id; + private System.Windows.Forms.DataGridViewTextBoxColumn numRefills; + private System.Windows.Forms.DataGridViewTextBoxColumn pastNumRefills; + private System.Windows.Forms.DataGridViewTextBoxColumn PrescribedBy; + private System.Windows.Forms.DataGridViewTextBoxColumn Physician_id; + private System.Windows.Forms.DataGridViewTextBoxColumn Medication_id; + private System.Windows.Forms.DataGridViewTextBoxColumn Patient_id; + private System.Windows.Forms.DataGridViewTextBoxColumn Phys_id; + private System.Windows.Forms.DataGridViewTextBoxColumn namefirst; + private System.Windows.Forms.DataGridViewTextBoxColumn namelast; + private System.Windows.Forms.DataGridViewTextBoxColumn initialsmiddle; + private System.Windows.Forms.DataGridViewTextBoxColumn cit; + private System.Windows.Forms.DataGridViewTextBoxColumn state; + private System.Windows.Forms.DataGridViewTextBoxColumn zipp; + private System.Windows.Forms.DataGridViewTextBoxColumn dobb; + private System.Windows.Forms.DataGridViewTextBoxColumn numberphone; + private System.Windows.Forms.DataGridViewTextBoxColumn gennder; + private System.Windows.Forms.DataGridViewTextBoxColumn Specialty; } } \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx b/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx index fc4c2dc..9925b64 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx @@ -129,6 +129,105 @@ False + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True +