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.

This commit is contained in:
Adam McCane 2024-02-13 22:53:23 -05:00
parent be0156afbf
commit 72bfcec0f3
2 changed files with 499 additions and 46 deletions

View File

@ -33,6 +33,8 @@ namespace Louis__Pharmacy_CNSA212_FP
System.Windows.Forms.Label lblPatientLast; System.Windows.Forms.Label lblPatientLast;
System.Windows.Forms.Label lblPhysicianFirst; System.Windows.Forms.Label lblPhysicianFirst;
System.Windows.Forms.Label lblPhysicianLast; 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)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInfo));
this.tbcInfo = new System.Windows.Forms.TabControl(); this.tbcInfo = new System.Windows.Forms.TabControl();
this.tbpPatient = new System.Windows.Forms.TabPage(); this.tbpPatient = new System.Windows.Forms.TabPage();
@ -40,20 +42,54 @@ namespace Louis__Pharmacy_CNSA212_FP
this.txtPatientLast = new System.Windows.Forms.TextBox(); this.txtPatientLast = new System.Windows.Forms.TextBox();
this.txtPatientFirst = new System.Windows.Forms.TextBox(); this.txtPatientFirst = new System.Windows.Forms.TextBox();
this.btnPatientSearch = new System.Windows.Forms.Button(); 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.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();
this.txtPrescriptionLast = new System.Windows.Forms.TextBox(); this.txtPrescriptionPatID = new System.Windows.Forms.TextBox();
this.txtRxNumber = 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.lblRxNumber = new System.Windows.Forms.Label();
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.txtPhysicianLast = new System.Windows.Forms.TextBox(); this.txtPhysicianLast = new System.Windows.Forms.TextBox();
this.txtPhysicianFirst = new System.Windows.Forms.TextBox(); this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.btnPhysicianSearch = new System.Windows.Forms.Button(); 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(); 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();
@ -64,17 +100,19 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.Panel1.SuspendLayout(); this.splcPatient.Panel1.SuspendLayout();
this.splcPatient.Panel2.SuspendLayout(); this.splcPatient.Panel2.SuspendLayout();
this.splcPatient.SuspendLayout(); this.splcPatient.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).BeginInit();
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.SuspendLayout(); this.splcPrescription.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.pHYSICIANDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// lblPatientFirst // lblPatientFirst
@ -152,7 +190,7 @@ namespace Louis__Pharmacy_CNSA212_FP
// splcPatient.Panel2 // splcPatient.Panel2
// //
this.splcPatient.Panel2.AutoScroll = true; 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.Size = new System.Drawing.Size(658, 415);
this.splcPatient.SplitterDistance = 186; this.splcPatient.SplitterDistance = 186;
this.splcPatient.TabIndex = 0; this.splcPatient.TabIndex = 0;
@ -181,16 +219,32 @@ namespace Louis__Pharmacy_CNSA212_FP
this.btnPatientSearch.Text = "Search"; this.btnPatientSearch.Text = "Search";
this.btnPatientSearch.UseVisualStyleBackColor = false; this.btnPatientSearch.UseVisualStyleBackColor = false;
// //
// pATIENTDataGridView // dgvPatient
// //
this.pATIENTDataGridView.AllowUserToAddRows = false; this.dgvPatient.AllowUserToAddRows = false;
this.pATIENTDataGridView.AllowUserToDeleteRows = false; this.dgvPatient.AllowUserToDeleteRows = false;
this.pATIENTDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvPatient.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.pATIENTDataGridView.Location = new System.Drawing.Point(3, 3); this.dgvPatient.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.pATIENTDataGridView.Name = "pATIENTDataGridView"; this.pat_id,
this.pATIENTDataGridView.ReadOnly = true; this.FirstName,
this.pATIENTDataGridView.Size = new System.Drawing.Size(652, 219); this.LastName,
this.pATIENTDataGridView.TabIndex = 0; 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 // tbpPrescription
// //
@ -212,10 +266,14 @@ namespace Louis__Pharmacy_CNSA212_FP
// splcPrescription.Panel1 // splcPrescription.Panel1
// //
this.splcPrescription.Panel1.Controls.Add(this.btnPrescriptionSearch); 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.txtRxNumber);
this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast); this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionPatID);
this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber); 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.Size = new System.Drawing.Size(658, 415);
this.splcPrescription.SplitterDistance = 210; this.splcPrescription.SplitterDistance = 210;
this.splcPrescription.TabIndex = 0; this.splcPrescription.TabIndex = 0;
@ -229,12 +287,12 @@ namespace Louis__Pharmacy_CNSA212_FP
this.btnPrescriptionSearch.Text = "Search"; this.btnPrescriptionSearch.Text = "Search";
this.btnPrescriptionSearch.UseVisualStyleBackColor = true; this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
// //
// txtPrescriptionLast // txtPrescriptionPatID
// //
this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74); this.txtPrescriptionPatID.Location = new System.Drawing.Point(184, 74);
this.txtPrescriptionLast.Name = "txtPrescriptionLast"; this.txtPrescriptionPatID.Name = "txtPrescriptionPatID";
this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20); this.txtPrescriptionPatID.Size = new System.Drawing.Size(100, 20);
this.txtPrescriptionLast.TabIndex = 3; this.txtPrescriptionPatID.TabIndex = 3;
// //
// txtRxNumber // txtRxNumber
// //
@ -243,14 +301,14 @@ namespace Louis__Pharmacy_CNSA212_FP
this.txtRxNumber.Size = new System.Drawing.Size(100, 20); this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
this.txtRxNumber.TabIndex = 2; this.txtRxNumber.TabIndex = 2;
// //
// lblPrescriptionLast // lblPrescriptionPatID
// //
this.lblPrescriptionLast.AutoSize = true; this.lblPrescriptionPatID.AutoSize = true;
this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74); this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74);
this.lblPrescriptionLast.Name = "lblPrescriptionLast"; this.lblPrescriptionPatID.Name = "lblPrescriptionPatID";
this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13); this.lblPrescriptionPatID.Size = new System.Drawing.Size(57, 13);
this.lblPrescriptionLast.TabIndex = 1; this.lblPrescriptionPatID.TabIndex = 1;
this.lblPrescriptionLast.Text = "Last Name:"; this.lblPrescriptionPatID.Text = "Patient ID:";
// //
// lblRxNumber // lblRxNumber
// //
@ -293,7 +351,7 @@ namespace Louis__Pharmacy_CNSA212_FP
// splcPhysician.Panel2 // splcPhysician.Panel2
// //
this.splcPhysician.Panel2.AutoScroll = true; 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.Size = new System.Drawing.Size(652, 409);
this.splcPhysician.SplitterDistance = 183; this.splcPhysician.SplitterDistance = 183;
this.splcPhysician.TabIndex = 0; this.splcPhysician.TabIndex = 0;
@ -321,16 +379,276 @@ namespace Louis__Pharmacy_CNSA212_FP
this.btnPhysicianSearch.Text = "Search"; this.btnPhysicianSearch.Text = "Search";
this.btnPhysicianSearch.UseVisualStyleBackColor = true; this.btnPhysicianSearch.UseVisualStyleBackColor = true;
// //
// pHYSICIANDataGridView // dgvPhysician
// //
this.pHYSICIANDataGridView.AllowUserToAddRows = false; this.dgvPhysician.AllowUserToAddRows = false;
this.pHYSICIANDataGridView.AllowUserToDeleteRows = false; this.dgvPhysician.AllowUserToDeleteRows = false;
this.pHYSICIANDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvPhysician.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.pHYSICIANDataGridView.Location = new System.Drawing.Point(3, 3); this.dgvPhysician.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.pHYSICIANDataGridView.Name = "pHYSICIANDataGridView"; this.Phys_id,
this.pHYSICIANDataGridView.ReadOnly = true; this.namefirst,
this.pHYSICIANDataGridView.Size = new System.Drawing.Size(646, 216); this.namelast,
this.pHYSICIANDataGridView.TabIndex = 0; 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 // frmInfo
// //
@ -350,10 +668,11 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.Panel2.ResumeLayout(false); this.splcPatient.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
this.splcPatient.ResumeLayout(false); this.splcPatient.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvPatient)).EndInit();
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();
this.splcPrescription.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit();
this.splcPrescription.ResumeLayout(false); this.splcPrescription.ResumeLayout(false);
this.tbpPhysician.ResumeLayout(false); this.tbpPhysician.ResumeLayout(false);
@ -362,7 +681,8 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPhysician.Panel2.ResumeLayout(false); this.splcPhysician.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
this.splcPhysician.ResumeLayout(false); 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); this.ResumeLayout(false);
} }
@ -377,16 +697,50 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.SplitContainer splcPrescription; private System.Windows.Forms.SplitContainer splcPrescription;
private System.Windows.Forms.Button btnPatientSearch; private System.Windows.Forms.Button btnPatientSearch;
private System.Windows.Forms.TextBox txtRxNumber; 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.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 btnPrescriptionSearch;
private System.Windows.Forms.Button btnPhysicianSearch; private System.Windows.Forms.Button btnPhysicianSearch;
private System.Windows.Forms.TextBox txtPatientLast; private System.Windows.Forms.TextBox txtPatientLast;
private System.Windows.Forms.TextBox txtPatientFirst; 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 txtPhysicianLast;
private System.Windows.Forms.TextBox txtPhysicianFirst; 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;
} }
} }

View File

@ -129,6 +129,105 @@
<metadata name="lblPhysicianLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="lblPhysicianLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value> <value>False</value>
</metadata> </metadata>
<metadata name="pat_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="FirstName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="LastName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MiddleInitials.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="City.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="UsState.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Zip.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Ibs.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Height_feet.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Height_inches.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Ailment.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DOB.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PhoneNumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Gender.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Medications.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RxNum_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="numRefills.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="pastNumRefills.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PrescribedBy.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Physician_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Medication_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Patient_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Phys_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="namefirst.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="namelast.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="initialsmiddle.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="cit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="state.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="zipp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dobb.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="numberphone.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="gennder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Specialty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</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>