removed spare row on prescription dgv
This commit is contained in:
		
							
								
								
									
										76
									
								
								Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										76
									
								
								Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -237,7 +237,6 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             this.splcPatient.Panel1.Controls.Add(lblPatientFirst); | ||||
|             this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst); | ||||
|             this.splcPatient.Panel1.Controls.Add(this.btnPatientSearch); | ||||
|             //this.splcPatient.Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.Panel1_Paint); | ||||
|             //  | ||||
|             // splcPatient.Panel2 | ||||
|             //  | ||||
| @@ -250,10 +249,7 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             // cmuPatient | ||||
|             //  | ||||
|             this.cmuPatient.ImageScalingSize = new System.Drawing.Size(20, 20); | ||||
|             this.cmuPatient.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.cmuPatientNew, | ||||
|             this.cmuPatientEdit, | ||||
|             this.cmuPatientDelete}); | ||||
|             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); | ||||
|             //  | ||||
| @@ -324,22 +320,7 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             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.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.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; | ||||
|             this.dgvPatient.Location = new System.Drawing.Point(0, 0); | ||||
| @@ -526,10 +507,7 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             // cmuMedication | ||||
|             //  | ||||
|             this.cmuMedication.ImageScalingSize = new System.Drawing.Size(20, 20); | ||||
|             this.cmuMedication.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.cmuMedicationNew, | ||||
|             this.cmuMedicationEdit, | ||||
|             this.cmuMedicationDelete}); | ||||
|             this.cmuMedication.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuMedicationNew, this.cmuMedicationEdit, this.cmuMedicationDelete }); | ||||
|             this.cmuMedication.Name = "cmuMedication"; | ||||
|             this.cmuMedication.Size = new System.Drawing.Size(108, 70); | ||||
|             //  | ||||
| @@ -603,14 +581,7 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             this.dgvMedication.AllowUserToAddRows = false; | ||||
|             this.dgvMedication.AllowUserToDeleteRows = false; | ||||
|             this.dgvMedication.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
|             this.dgvMedication.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.Medication_id, | ||||
|             this.MedicationName, | ||||
|             this.IntakeMethod, | ||||
|             this.Frequency, | ||||
|             this.Dosage, | ||||
|             this.Purpose, | ||||
|             this.RxNum}); | ||||
|             this.dgvMedication.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Medication_id, this.MedicationName, this.IntakeMethod, this.Frequency, this.Dosage, this.Purpose, this.RxNum }); | ||||
|             this.dgvMedication.ContextMenuStrip = this.cmuMedication; | ||||
|             this.dgvMedication.Location = new System.Drawing.Point(3, 3); | ||||
|             this.dgvMedication.Name = "dgvMedication"; | ||||
| @@ -726,10 +697,7 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             // cmuPhysician | ||||
|             //  | ||||
|             this.cmuPhysician.ImageScalingSize = new System.Drawing.Size(20, 20); | ||||
|             this.cmuPhysician.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.cmuPhysicianNew, | ||||
|             this.cmuPhysicianEdit, | ||||
|             this.cmuPhysicianDelete}); | ||||
|             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); | ||||
|             //  | ||||
| @@ -799,18 +767,7 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             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.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(0, 3); | ||||
|             this.dgvPhysician.Name = "dgvPhysician"; | ||||
| @@ -947,14 +904,9 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             // cmuPrescription | ||||
|             //  | ||||
|             this.cmuPrescription.ImageScalingSize = new System.Drawing.Size(20, 20); | ||||
|             this.cmuPrescription.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.cmuPrescriptionNew, | ||||
|             this.cmuPrescriptionEdit, | ||||
|             this.cmuPrescriptionDelete, | ||||
|             this.cmuPrescriptionRefillThis, | ||||
|             this.cmuPrescriptionViewRefills}); | ||||
|             this.cmuPrescription.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPrescriptionNew, this.cmuPrescriptionEdit, this.cmuPrescriptionDelete, this.cmuPrescriptionRefillThis, this.cmuPrescriptionViewRefills }); | ||||
|             this.cmuPrescription.Name = "cmuPrescription"; | ||||
|             this.cmuPrescription.Size = new System.Drawing.Size(244, 136); | ||||
|             this.cmuPrescription.Size = new System.Drawing.Size(244, 114); | ||||
|             //  | ||||
|             // cmuPrescriptionNew | ||||
|             //  | ||||
| @@ -1068,15 +1020,10 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             //  | ||||
|             // 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.Medicationid, | ||||
|             this.Patientid}); | ||||
|             this.dgvPrescription.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.RxNum_id, this.numRefills, this.pastNumRefills, this.PrescribedBy, this.Physician_id, this.Medicationid, this.Patientid }); | ||||
|             this.dgvPrescription.ContextMenuStrip = this.cmuPrescription; | ||||
|             this.dgvPrescription.Location = new System.Drawing.Point(0, 236); | ||||
|             this.dgvPrescription.Name = "dgvPrescription"; | ||||
| @@ -1177,7 +1124,6 @@ namespace Louis__Pharmacy_CNSA212_FP | ||||
|             this.cmuPrescription.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn RxNum_id; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user