diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index ebbc663..4773895 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -122,7 +122,8 @@ namespace Louis__Pharmacy_CNSA212_FP this.cmuPrescriptionNew = new System.Windows.Forms.ToolStripMenuItem(); this.cmuPrescriptionEdit = new System.Windows.Forms.ToolStripMenuItem(); this.cmuPrescriptionDelete = new System.Windows.Forms.ToolStripMenuItem(); - this.cmuAddRefill = new System.Windows.Forms.ToolStripMenuItem(); + this.cmuPrescriptionRefillThis = new System.Windows.Forms.ToolStripMenuItem(); + this.cmuPrescriptionViewRefills = new System.Windows.Forms.ToolStripMenuItem(); lblPatientFirst = new System.Windows.Forms.Label(); lblPatientLast = new System.Windows.Forms.Label(); lblPhysicianFirst = new System.Windows.Forms.Label(); @@ -284,22 +285,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); @@ -453,10 +439,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); // @@ -561,14 +544,7 @@ namespace Louis__Pharmacy_CNSA212_FP 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.Medication_id, - this.MedicationName, - this.IntakeMethod, - this.Frequency, - this.Dosage, - this.Purpose, - this.RxNum}); + this.dgvPrescription.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Medication_id, this.MedicationName, this.IntakeMethod, this.Frequency, this.Dosage, this.Purpose, this.RxNum }); this.dgvPrescription.ContextMenuStrip = this.cmuMedication; this.dgvPrescription.Location = new System.Drawing.Point(3, 3); this.dgvPrescription.Name = "dgvPrescription"; @@ -644,10 +620,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); // @@ -677,7 +650,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbpPhysician.Controls.Add(this.splcPhysician); this.tbpPhysician.Location = new System.Drawing.Point(4, 22); this.tbpPhysician.Name = "tbpPhysician"; - this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); + this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3); this.tbpPhysician.Size = new System.Drawing.Size(733, 484); this.tbpPhysician.TabIndex = 2; this.tbpPhysician.Text = "Physicians"; @@ -756,18 +729,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"; @@ -883,10 +845,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); // @@ -925,7 +884,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbcInfoPrescriptions.Controls.Add(this.dgvRx); this.tbcInfoPrescriptions.Location = new System.Drawing.Point(4, 22); this.tbcInfoPrescriptions.Name = "tbcInfoPrescriptions"; - this.tbcInfoPrescriptions.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); + this.tbcInfoPrescriptions.Padding = new System.Windows.Forms.Padding(3); this.tbcInfoPrescriptions.Size = new System.Drawing.Size(733, 484); this.tbcInfoPrescriptions.TabIndex = 5; this.tbcInfoPrescriptions.Text = "Prescriptions"; @@ -1019,39 +978,41 @@ 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.cmuAddRefill}); + 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(181, 114); + this.cmuPrescription.Size = new System.Drawing.Size(244, 136); // // cmuPrescriptionNew // this.cmuPrescriptionNew.Name = "cmuPrescriptionNew"; - this.cmuPrescriptionNew.Size = new System.Drawing.Size(180, 22); + this.cmuPrescriptionNew.Size = new System.Drawing.Size(243, 22); this.cmuPrescriptionNew.Text = "New"; // // cmuPrescriptionEdit // this.cmuPrescriptionEdit.Name = "cmuPrescriptionEdit"; - this.cmuPrescriptionEdit.Size = new System.Drawing.Size(180, 22); + this.cmuPrescriptionEdit.Size = new System.Drawing.Size(243, 22); this.cmuPrescriptionEdit.Text = "Edit"; this.cmuPrescriptionEdit.Click += new System.EventHandler(this.cmuPrescriptionEdit_Click); // // cmuPrescriptionDelete // this.cmuPrescriptionDelete.Name = "cmuPrescriptionDelete"; - this.cmuPrescriptionDelete.Size = new System.Drawing.Size(180, 22); + this.cmuPrescriptionDelete.Size = new System.Drawing.Size(243, 22); this.cmuPrescriptionDelete.Text = "Delete"; this.cmuPrescriptionDelete.Click += new System.EventHandler(this.cmuPrescriptionDelete_Click); // - // cmuAddRefill + // cmuPrescriptionRefillThis // - this.cmuAddRefill.Name = "cmuAddRefill"; - this.cmuAddRefill.Size = new System.Drawing.Size(180, 22); - this.cmuAddRefill.Text = "Add Refill"; + this.cmuPrescriptionRefillThis.Name = "cmuPrescriptionRefillThis"; + this.cmuPrescriptionRefillThis.Size = new System.Drawing.Size(243, 22); + this.cmuPrescriptionRefillThis.Text = "Refill This Prescription"; + // + // cmuPrescriptionViewRefills + // + this.cmuPrescriptionViewRefills.Name = "cmuPrescriptionViewRefills"; + this.cmuPrescriptionViewRefills.Size = new System.Drawing.Size(243, 22); + this.cmuPrescriptionViewRefills.Text = "View Refills For This Prescription"; // // frmInfo // @@ -1060,7 +1021,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.ClientSize = new System.Drawing.Size(777, 575); this.Controls.Add(this.tbcInfo); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.Margin = new System.Windows.Forms.Padding(2); this.Name = "frmInfo"; this.Text = "Louis\' Pharmacy - View Patient / Prescription Info"; this.Load += new System.EventHandler(this.frmInfo_Load); @@ -1094,9 +1055,10 @@ namespace Louis__Pharmacy_CNSA212_FP ((System.ComponentModel.ISupportInitialize)(this.dgvRx)).EndInit(); this.cmuPrescription.ResumeLayout(false); this.ResumeLayout(false); - } + private System.Windows.Forms.ToolStripMenuItem cmuPrescriptionViewRefills; + private System.Windows.Forms.TextBox txtRxPhysicianID; private System.Windows.Forms.TextBox txtRxMedicationID; private System.Windows.Forms.TextBox txtRxPatientID; @@ -1190,6 +1152,6 @@ namespace Louis__Pharmacy_CNSA212_FP System.Windows.Forms.Label label3 = new System.Windows.Forms.Label(); System.Windows.Forms.Label label4 = new System.Windows.Forms.Label(); System.Windows.Forms.TextBox txtRxPrescriptionID = new System.Windows.Forms.TextBox(); - private System.Windows.Forms.ToolStripMenuItem cmuAddRefill; + private System.Windows.Forms.ToolStripMenuItem cmuPrescriptionRefillThis; } } \ No newline at end of file