Updated frmPrescription labels and text boxes.

This commit is contained in:
Noah 2024-02-20 12:50:18 -05:00
parent 6b71c1202e
commit 994df5e702
2 changed files with 73 additions and 67 deletions

View File

@ -29,13 +29,13 @@ namespace Louis__Pharmacy_CNSA212_FP
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.txtRxNum = new System.Windows.Forms.TextBox(); this.txtMaxRefills = new System.Windows.Forms.TextBox();
this.txtPurpose = new System.Windows.Forms.TextBox(); this.txtCompletedRefills = new System.Windows.Forms.TextBox();
this.txtDosage = new System.Windows.Forms.TextBox(); this.txtPhysID = new System.Windows.Forms.TextBox();
this.txtFrequency = new System.Windows.Forms.TextBox(); this.txtPhysName = new System.Windows.Forms.TextBox();
this.txtIntake = new System.Windows.Forms.TextBox();
this.txtName = new System.Windows.Forms.TextBox();
this.txtMedID = 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.lblDisPurpose = new System.Windows.Forms.Label();
this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button();
this.btnGO = 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.label1 = new System.Windows.Forms.Label();
this.SuspendLayout(); this.SuspendLayout();
// //
// txtRxNum // txtMaxRefills
// //
this.txtRxNum.Location = new System.Drawing.Point(433, 347); this.txtMaxRefills.Location = new System.Drawing.Point(433, 347);
this.txtRxNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtMaxRefills.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtRxNum.Name = "txtRxNum"; this.txtMaxRefills.Name = "txtMaxRefills";
this.txtRxNum.Size = new System.Drawing.Size(163, 22); this.txtMaxRefills.Size = new System.Drawing.Size(163, 22);
this.txtRxNum.TabIndex = 33; this.txtMaxRefills.TabIndex = 33;
// //
// txtPurpose // txtCompletedRefills
// //
this.txtPurpose.Location = new System.Drawing.Point(433, 313); this.txtCompletedRefills.Location = new System.Drawing.Point(433, 313);
this.txtPurpose.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtCompletedRefills.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtPurpose.Name = "txtPurpose"; this.txtCompletedRefills.Name = "txtCompletedRefills";
this.txtPurpose.Size = new System.Drawing.Size(163, 22); this.txtCompletedRefills.Size = new System.Drawing.Size(163, 22);
this.txtPurpose.TabIndex = 32; this.txtCompletedRefills.TabIndex = 32;
// //
// txtDosage // txtPhysID
// //
this.txtDosage.Location = new System.Drawing.Point(433, 279); this.txtPhysID.Location = new System.Drawing.Point(433, 279);
this.txtDosage.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtPhysID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtDosage.Name = "txtDosage"; this.txtPhysID.Name = "txtPhysID";
this.txtDosage.Size = new System.Drawing.Size(163, 22); this.txtPhysID.Size = new System.Drawing.Size(163, 22);
this.txtDosage.TabIndex = 31; this.txtPhysID.TabIndex = 31;
// //
// txtFrequency // txtPhysName
// //
this.txtFrequency.Location = new System.Drawing.Point(433, 244); this.txtPhysName.Location = new System.Drawing.Point(433, 244);
this.txtFrequency.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtPhysName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtFrequency.Name = "txtFrequency"; this.txtPhysName.Name = "txtPhysName";
this.txtFrequency.Size = new System.Drawing.Size(163, 22); this.txtPhysName.Size = new System.Drawing.Size(163, 22);
this.txtFrequency.TabIndex = 30; this.txtPhysName.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;
// //
// txtMedID // 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.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.txtMedID.Name = "txtMedID"; this.txtMedID.Name = "txtMedID";
this.txtMedID.Size = new System.Drawing.Size(163, 22); 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 // lblDisPurpose
// //
@ -139,7 +139,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(145, 34); this.label7.Size = new System.Drawing.Size(145, 34);
this.label7.TabIndex = 23; this.label7.TabIndex = 23;
this.label7.Text = "Rx Number:"; this.label7.Text = "Max Refills:";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// label6 // label6
@ -148,7 +148,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(145, 34); this.label6.Size = new System.Drawing.Size(145, 34);
this.label6.TabIndex = 22; this.label6.TabIndex = 22;
this.label6.Text = "Purpose:"; this.label6.Text = "Completed Refills:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// label5 // label5
@ -157,7 +157,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(145, 34); this.label5.Size = new System.Drawing.Size(145, 34);
this.label5.TabIndex = 21; this.label5.TabIndex = 21;
this.label5.Text = "Dosage:"; this.label5.Text = "Physician ID:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// label4 // label4
@ -166,7 +166,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(145, 34); this.label4.Size = new System.Drawing.Size(145, 34);
this.label4.TabIndex = 20; this.label4.TabIndex = 20;
this.label4.Text = "Frequency:"; this.label4.Text = "Physician Name:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// label3 // label3
@ -175,7 +175,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(145, 34); this.label3.Size = new System.Drawing.Size(145, 34);
this.label3.TabIndex = 19; this.label3.TabIndex = 19;
this.label3.Text = "Intake Method:"; this.label3.Text = "Medication ID:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// label2 // label2
@ -184,7 +184,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(145, 34); this.label2.Size = new System.Drawing.Size(145, 34);
this.label2.TabIndex = 18; this.label2.TabIndex = 18;
this.label2.Text = "Name:"; this.label2.Text = "Patient ID:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// label1 // label1
@ -193,7 +193,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(145, 34); this.label1.Size = new System.Drawing.Size(145, 34);
this.label1.TabIndex = 17; this.label1.TabIndex = 17;
this.label1.Text = "Medication ID:"; this.label1.Text = "RX Number:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// frmPrescription // frmPrescription
@ -201,13 +201,13 @@ namespace Louis__Pharmacy_CNSA212_FP
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(929, 523); this.ClientSize = new System.Drawing.Size(929, 523);
this.Controls.Add(this.txtRxNum); this.Controls.Add(this.txtMaxRefills);
this.Controls.Add(this.txtPurpose); this.Controls.Add(this.txtCompletedRefills);
this.Controls.Add(this.txtDosage); this.Controls.Add(this.txtPhysID);
this.Controls.Add(this.txtFrequency); this.Controls.Add(this.txtPhysName);
this.Controls.Add(this.txtIntake);
this.Controls.Add(this.txtName);
this.Controls.Add(this.txtMedID); this.Controls.Add(this.txtMedID);
this.Controls.Add(this.txtPatID);
this.Controls.Add(this.txtRxNumber);
this.Controls.Add(this.lblDisPurpose); this.Controls.Add(this.lblDisPurpose);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnGO); this.Controls.Add(this.btnGO);
@ -220,6 +220,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.Name = "frmPrescription"; this.Name = "frmPrescription";
this.Text = "frmPrescription"; this.Text = "frmPrescription";
this.Load += new System.EventHandler(this.frmPrescription_Load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -227,13 +228,13 @@ namespace Louis__Pharmacy_CNSA212_FP
#endregion #endregion
private System.Windows.Forms.TextBox txtRxNum; private System.Windows.Forms.TextBox txtMaxRefills;
private System.Windows.Forms.TextBox txtPurpose; private System.Windows.Forms.TextBox txtCompletedRefills;
private System.Windows.Forms.TextBox txtDosage; private System.Windows.Forms.TextBox txtPhysID;
private System.Windows.Forms.TextBox txtFrequency; private System.Windows.Forms.TextBox txtPhysName;
private System.Windows.Forms.TextBox txtIntake;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.TextBox txtMedID; 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.Label lblDisPurpose;
private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Button btnGO; private System.Windows.Forms.Button btnGO;

View File

@ -16,5 +16,10 @@ namespace Louis__Pharmacy_CNSA212_FP
{ {
InitializeComponent(); InitializeComponent();
} }
private void frmPrescription_Load(object sender, EventArgs e)
{
}
} }
} }