From 994df5e702537879539610da647d385e6ad3e856 Mon Sep 17 00:00:00 2001 From: Noah Date: Tue, 20 Feb 2024 12:50:18 -0500 Subject: [PATCH] Updated frmPrescription labels and text boxes. --- .../frmPrescription.Designer.cs | 135 +++++++++--------- Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs | 5 + 2 files changed, 73 insertions(+), 67 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs index 65160f9..74ac412 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs @@ -29,13 +29,13 @@ namespace Louis__Pharmacy_CNSA212_FP /// private void InitializeComponent() { - this.txtRxNum = new System.Windows.Forms.TextBox(); - this.txtPurpose = new System.Windows.Forms.TextBox(); - this.txtDosage = new System.Windows.Forms.TextBox(); - this.txtFrequency = new System.Windows.Forms.TextBox(); - this.txtIntake = new System.Windows.Forms.TextBox(); - this.txtName = new System.Windows.Forms.TextBox(); + this.txtMaxRefills = new System.Windows.Forms.TextBox(); + this.txtCompletedRefills = new System.Windows.Forms.TextBox(); + this.txtPhysID = new System.Windows.Forms.TextBox(); + this.txtPhysName = new System.Windows.Forms.TextBox(); this.txtMedID = new System.Windows.Forms.TextBox(); + this.txtPatID = new System.Windows.Forms.TextBox(); + this.txtRxNumber = new System.Windows.Forms.TextBox(); this.lblDisPurpose = new System.Windows.Forms.Label(); this.btnCancel = new System.Windows.Forms.Button(); this.btnGO = new System.Windows.Forms.Button(); @@ -48,61 +48,61 @@ namespace Louis__Pharmacy_CNSA212_FP this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // - // txtRxNum + // txtMaxRefills // - this.txtRxNum.Location = new System.Drawing.Point(433, 347); - this.txtRxNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.txtRxNum.Name = "txtRxNum"; - this.txtRxNum.Size = new System.Drawing.Size(163, 22); - this.txtRxNum.TabIndex = 33; + this.txtMaxRefills.Location = new System.Drawing.Point(433, 347); + this.txtMaxRefills.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txtMaxRefills.Name = "txtMaxRefills"; + this.txtMaxRefills.Size = new System.Drawing.Size(163, 22); + this.txtMaxRefills.TabIndex = 33; // - // txtPurpose + // txtCompletedRefills // - this.txtPurpose.Location = new System.Drawing.Point(433, 313); - this.txtPurpose.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.txtPurpose.Name = "txtPurpose"; - this.txtPurpose.Size = new System.Drawing.Size(163, 22); - this.txtPurpose.TabIndex = 32; + this.txtCompletedRefills.Location = new System.Drawing.Point(433, 313); + this.txtCompletedRefills.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txtCompletedRefills.Name = "txtCompletedRefills"; + this.txtCompletedRefills.Size = new System.Drawing.Size(163, 22); + this.txtCompletedRefills.TabIndex = 32; // - // txtDosage + // txtPhysID // - this.txtDosage.Location = new System.Drawing.Point(433, 279); - this.txtDosage.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.txtDosage.Name = "txtDosage"; - this.txtDosage.Size = new System.Drawing.Size(163, 22); - this.txtDosage.TabIndex = 31; + this.txtPhysID.Location = new System.Drawing.Point(433, 279); + this.txtPhysID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txtPhysID.Name = "txtPhysID"; + this.txtPhysID.Size = new System.Drawing.Size(163, 22); + this.txtPhysID.TabIndex = 31; // - // txtFrequency + // txtPhysName // - this.txtFrequency.Location = new System.Drawing.Point(433, 244); - this.txtFrequency.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.txtFrequency.Name = "txtFrequency"; - this.txtFrequency.Size = new System.Drawing.Size(163, 22); - this.txtFrequency.TabIndex = 30; - // - // txtIntake - // - this.txtIntake.Location = new System.Drawing.Point(433, 210); - this.txtIntake.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.txtIntake.Name = "txtIntake"; - this.txtIntake.Size = new System.Drawing.Size(163, 22); - this.txtIntake.TabIndex = 29; - // - // txtName - // - this.txtName.Location = new System.Drawing.Point(433, 175); - this.txtName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.txtName.Name = "txtName"; - this.txtName.Size = new System.Drawing.Size(163, 22); - this.txtName.TabIndex = 28; + this.txtPhysName.Location = new System.Drawing.Point(433, 244); + this.txtPhysName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txtPhysName.Name = "txtPhysName"; + this.txtPhysName.Size = new System.Drawing.Size(163, 22); + this.txtPhysName.TabIndex = 30; // // txtMedID // - this.txtMedID.Location = new System.Drawing.Point(433, 141); + this.txtMedID.Location = new System.Drawing.Point(433, 210); this.txtMedID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtMedID.Name = "txtMedID"; this.txtMedID.Size = new System.Drawing.Size(163, 22); - this.txtMedID.TabIndex = 27; + this.txtMedID.TabIndex = 29; + // + // txtPatID + // + this.txtPatID.Location = new System.Drawing.Point(433, 175); + this.txtPatID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txtPatID.Name = "txtPatID"; + this.txtPatID.Size = new System.Drawing.Size(163, 22); + this.txtPatID.TabIndex = 28; + // + // txtRxNumber + // + this.txtRxNumber.Location = new System.Drawing.Point(433, 141); + this.txtRxNumber.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txtRxNumber.Name = "txtRxNumber"; + this.txtRxNumber.Size = new System.Drawing.Size(163, 22); + this.txtRxNumber.TabIndex = 27; // // lblDisPurpose // @@ -139,7 +139,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(145, 34); this.label7.TabIndex = 23; - this.label7.Text = "Rx Number:"; + this.label7.Text = "Max Refills:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label6 @@ -148,7 +148,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(145, 34); this.label6.TabIndex = 22; - this.label6.Text = "Purpose:"; + this.label6.Text = "Completed Refills:"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label5 @@ -157,7 +157,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(145, 34); this.label5.TabIndex = 21; - this.label5.Text = "Dosage:"; + this.label5.Text = "Physician ID:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 @@ -166,7 +166,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(145, 34); this.label4.TabIndex = 20; - this.label4.Text = "Frequency:"; + this.label4.Text = "Physician Name:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 @@ -175,7 +175,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(145, 34); this.label3.TabIndex = 19; - this.label3.Text = "Intake Method:"; + this.label3.Text = "Medication ID:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 @@ -184,7 +184,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(145, 34); this.label2.TabIndex = 18; - this.label2.Text = "Name:"; + this.label2.Text = "Patient ID:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 @@ -193,7 +193,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(145, 34); this.label1.TabIndex = 17; - this.label1.Text = "Medication ID:"; + this.label1.Text = "RX Number:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // frmPrescription @@ -201,13 +201,13 @@ namespace Louis__Pharmacy_CNSA212_FP this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(929, 523); - this.Controls.Add(this.txtRxNum); - this.Controls.Add(this.txtPurpose); - this.Controls.Add(this.txtDosage); - this.Controls.Add(this.txtFrequency); - this.Controls.Add(this.txtIntake); - this.Controls.Add(this.txtName); + this.Controls.Add(this.txtMaxRefills); + this.Controls.Add(this.txtCompletedRefills); + this.Controls.Add(this.txtPhysID); + this.Controls.Add(this.txtPhysName); this.Controls.Add(this.txtMedID); + this.Controls.Add(this.txtPatID); + this.Controls.Add(this.txtRxNumber); this.Controls.Add(this.lblDisPurpose); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnGO); @@ -220,6 +220,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.Controls.Add(this.label1); this.Name = "frmPrescription"; this.Text = "frmPrescription"; + this.Load += new System.EventHandler(this.frmPrescription_Load); this.ResumeLayout(false); this.PerformLayout(); @@ -227,13 +228,13 @@ namespace Louis__Pharmacy_CNSA212_FP #endregion - private System.Windows.Forms.TextBox txtRxNum; - private System.Windows.Forms.TextBox txtPurpose; - private System.Windows.Forms.TextBox txtDosage; - private System.Windows.Forms.TextBox txtFrequency; - private System.Windows.Forms.TextBox txtIntake; - private System.Windows.Forms.TextBox txtName; + private System.Windows.Forms.TextBox txtMaxRefills; + private System.Windows.Forms.TextBox txtCompletedRefills; + private System.Windows.Forms.TextBox txtPhysID; + private System.Windows.Forms.TextBox txtPhysName; private System.Windows.Forms.TextBox txtMedID; + private System.Windows.Forms.TextBox txtPatID; + private System.Windows.Forms.TextBox txtRxNumber; private System.Windows.Forms.Label lblDisPurpose; private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Button btnGO; diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs index 1d8ba7e..de716ee 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs @@ -16,5 +16,10 @@ namespace Louis__Pharmacy_CNSA212_FP { InitializeComponent(); } + + private void frmPrescription_Load(object sender, EventArgs e) + { + + } } }