Added labels and textboxes for searching to the prescription and physician tabs of the info form. Also added a search button to all three tabs.

This commit is contained in:
Adam McCane 2024-02-05 07:53:44 -05:00
parent 7b0dd09368
commit a344b8e040

View File

@ -36,28 +36,41 @@ namespace Louis__Pharmacy_CNSA212_FP
this.refillInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.refillInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.prescriptionInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.prescriptionInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tbcInfo = new System.Windows.Forms.TabControl(); this.tbcInfo = new System.Windows.Forms.TabControl();
this.tbpPhysician = new System.Windows.Forms.TabPage();
this.splcPhysician = new System.Windows.Forms.SplitContainer();
this.tbpPatient = new System.Windows.Forms.TabPage(); this.tbpPatient = new System.Windows.Forms.TabPage();
this.splcPatient = new System.Windows.Forms.SplitContainer();
this.txtPatientLast = new System.Windows.Forms.TextBox();
this.txtPatientFirst = new System.Windows.Forms.TextBox();
this.lblPatientLast = new System.Windows.Forms.Label();
this.lblPatientFirst = new System.Windows.Forms.Label();
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.splcPatient = new System.Windows.Forms.SplitContainer(); this.tbpPhysician = new System.Windows.Forms.TabPage();
this.lblPatientFirst = new System.Windows.Forms.Label(); this.splcPhysician = new System.Windows.Forms.SplitContainer();
this.lblPatientLast = new System.Windows.Forms.Label(); this.lblRxNumber = new System.Windows.Forms.Label();
this.txtPatientFirst = new System.Windows.Forms.TextBox(); this.lblPrescriptionLast = new System.Windows.Forms.Label();
this.txtPatientLast = new System.Windows.Forms.TextBox(); this.btnPatientSearch = new System.Windows.Forms.Button();
this.txtRxNumber = new System.Windows.Forms.TextBox();
this.txtPrescriptionLast = new System.Windows.Forms.TextBox();
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
this.lblPhysicianFirst = new System.Windows.Forms.Label();
this.lblPhysicianLast = new System.Windows.Forms.Label();
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.txtPhysicianLast = new System.Windows.Forms.TextBox();
this.btnPhysicianSearch = new System.Windows.Forms.Button();
this.mnusNavigation.SuspendLayout(); this.mnusNavigation.SuspendLayout();
this.tbcInfo.SuspendLayout(); this.tbcInfo.SuspendLayout();
this.tbpPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
this.splcPhysician.SuspendLayout();
this.tbpPatient.SuspendLayout(); this.tbpPatient.SuspendLayout();
this.tbpPrescription.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
this.splcPrescription.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit();
this.splcPatient.Panel1.SuspendLayout(); this.splcPatient.Panel1.SuspendLayout();
this.splcPatient.SuspendLayout(); this.splcPatient.SuspendLayout();
this.tbpPrescription.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
this.splcPrescription.Panel1.SuspendLayout();
this.splcPrescription.SuspendLayout();
this.tbpPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
this.splcPhysician.Panel1.SuspendLayout();
this.splcPhysician.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// mnusNavigation // mnusNavigation
@ -109,6 +122,94 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbcInfo.Size = new System.Drawing.Size(666, 341); this.tbcInfo.Size = new System.Drawing.Size(666, 341);
this.tbcInfo.TabIndex = 1; this.tbcInfo.TabIndex = 1;
// //
// tbpPatient
//
this.tbpPatient.Controls.Add(this.splcPatient);
this.tbpPatient.Location = new System.Drawing.Point(4, 22);
this.tbpPatient.Name = "tbpPatient";
this.tbpPatient.Size = new System.Drawing.Size(658, 315);
this.tbpPatient.TabIndex = 3;
this.tbpPatient.Text = "Patient Info";
this.tbpPatient.UseVisualStyleBackColor = true;
//
// splcPatient
//
this.splcPatient.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPatient.Location = new System.Drawing.Point(0, 0);
this.splcPatient.Name = "splcPatient";
this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPatient.Panel1
//
this.splcPatient.Panel1.Controls.Add(this.btnPatientSearch);
this.splcPatient.Panel1.Controls.Add(this.txtPatientLast);
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst);
this.splcPatient.Panel1.Controls.Add(this.lblPatientLast);
this.splcPatient.Panel1.Controls.Add(this.lblPatientFirst);
this.splcPatient.Size = new System.Drawing.Size(658, 315);
this.splcPatient.SplitterDistance = 159;
this.splcPatient.TabIndex = 0;
//
// txtPatientLast
//
this.txtPatientLast.Location = new System.Drawing.Point(141, 67);
this.txtPatientLast.Name = "txtPatientLast";
this.txtPatientLast.Size = new System.Drawing.Size(100, 20);
this.txtPatientLast.TabIndex = 3;
//
// txtPatientFirst
//
this.txtPatientFirst.Location = new System.Drawing.Point(141, 33);
this.txtPatientFirst.Name = "txtPatientFirst";
this.txtPatientFirst.Size = new System.Drawing.Size(100, 20);
this.txtPatientFirst.TabIndex = 2;
//
// lblPatientLast
//
this.lblPatientLast.AutoSize = true;
this.lblPatientLast.Location = new System.Drawing.Point(47, 67);
this.lblPatientLast.Name = "lblPatientLast";
this.lblPatientLast.Size = new System.Drawing.Size(61, 13);
this.lblPatientLast.TabIndex = 1;
this.lblPatientLast.Text = "Last Name:";
//
// lblPatientFirst
//
this.lblPatientFirst.AutoSize = true;
this.lblPatientFirst.Location = new System.Drawing.Point(44, 33);
this.lblPatientFirst.Name = "lblPatientFirst";
this.lblPatientFirst.Size = new System.Drawing.Size(60, 13);
this.lblPatientFirst.TabIndex = 0;
this.lblPatientFirst.Text = "First Name:";
//
// tbpPrescription
//
this.tbpPrescription.Controls.Add(this.splcPrescription);
this.tbpPrescription.Location = new System.Drawing.Point(4, 22);
this.tbpPrescription.Name = "tbpPrescription";
this.tbpPrescription.Size = new System.Drawing.Size(658, 315);
this.tbpPrescription.TabIndex = 4;
this.tbpPrescription.Text = "Prescription Info";
this.tbpPrescription.UseVisualStyleBackColor = true;
//
// splcPrescription
//
this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPrescription.Location = new System.Drawing.Point(0, 0);
this.splcPrescription.Name = "splcPrescription";
this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPrescription.Panel1
//
this.splcPrescription.Panel1.Controls.Add(this.btnPrescriptionSearch);
this.splcPrescription.Panel1.Controls.Add(this.txtPrescriptionLast);
this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber);
this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast);
this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber);
this.splcPrescription.Size = new System.Drawing.Size(658, 315);
this.splcPrescription.SplitterDistance = 160;
this.splcPrescription.TabIndex = 0;
//
// tbpPhysician // tbpPhysician
// //
this.tbpPhysician.Controls.Add(this.splcPhysician); this.tbpPhysician.Controls.Add(this.splcPhysician);
@ -129,89 +230,107 @@ namespace Louis__Pharmacy_CNSA212_FP
// //
// splcPhysician.Panel1 // splcPhysician.Panel1
// //
this.splcPhysician.Panel1.Controls.Add(this.btnPhysicianSearch);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianFirst);
this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.splcPhysician.Size = new System.Drawing.Size(652, 309); this.splcPhysician.Size = new System.Drawing.Size(652, 309);
this.splcPhysician.SplitterDistance = 158; this.splcPhysician.SplitterDistance = 158;
this.splcPhysician.TabIndex = 0; this.splcPhysician.TabIndex = 0;
// //
// tbpPatient // lblRxNumber
// //
this.tbpPatient.Controls.Add(this.splcPatient); this.lblRxNumber.AutoSize = true;
this.tbpPatient.Location = new System.Drawing.Point(4, 22); this.lblRxNumber.Location = new System.Drawing.Point(61, 25);
this.tbpPatient.Name = "tbpPatient"; this.lblRxNumber.Name = "lblRxNumber";
this.tbpPatient.Size = new System.Drawing.Size(658, 315); this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
this.tbpPatient.TabIndex = 3; this.lblRxNumber.TabIndex = 0;
this.tbpPatient.Text = "Patient Info"; this.lblRxNumber.Text = "Rx Number:";
this.tbpPatient.UseVisualStyleBackColor = true;
// //
// tbpPrescription // lblPrescriptionLast
// //
this.tbpPrescription.Controls.Add(this.splcPrescription); this.lblPrescriptionLast.AutoSize = true;
this.tbpPrescription.Location = new System.Drawing.Point(4, 22); this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74);
this.tbpPrescription.Name = "tbpPrescription"; this.lblPrescriptionLast.Name = "lblPrescriptionLast";
this.tbpPrescription.Size = new System.Drawing.Size(658, 315); this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13);
this.tbpPrescription.TabIndex = 4; this.lblPrescriptionLast.TabIndex = 1;
this.tbpPrescription.Text = "Prescription Info"; this.lblPrescriptionLast.Text = "Last Name:";
this.tbpPrescription.UseVisualStyleBackColor = true;
// //
// splcPrescription // btnPatientSearch
// //
this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill; this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
this.splcPrescription.Location = new System.Drawing.Point(0, 0); this.btnPatientSearch.Location = new System.Drawing.Point(50, 119);
this.splcPrescription.Name = "splcPrescription"; this.btnPatientSearch.Name = "btnPatientSearch";
this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal; this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
this.splcPrescription.Size = new System.Drawing.Size(658, 315); this.btnPatientSearch.TabIndex = 4;
this.splcPrescription.SplitterDistance = 160; this.btnPatientSearch.Text = "Search";
this.splcPrescription.TabIndex = 0; this.btnPatientSearch.UseVisualStyleBackColor = false;
// //
// splcPatient // txtRxNumber
// //
this.splcPatient.Dock = System.Windows.Forms.DockStyle.Fill; this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
this.splcPatient.Location = new System.Drawing.Point(0, 0); this.txtRxNumber.Name = "txtRxNumber";
this.splcPatient.Name = "splcPatient"; this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal; this.txtRxNumber.TabIndex = 2;
// //
// splcPatient.Panel1 // txtPrescriptionLast
// //
this.splcPatient.Panel1.Controls.Add(this.txtPatientLast); this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74);
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst); this.txtPrescriptionLast.Name = "txtPrescriptionLast";
this.splcPatient.Panel1.Controls.Add(this.lblPatientLast); this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20);
this.splcPatient.Panel1.Controls.Add(this.lblPatientFirst); this.txtPrescriptionLast.TabIndex = 3;
this.splcPatient.Size = new System.Drawing.Size(658, 315);
this.splcPatient.SplitterDistance = 159;
this.splcPatient.TabIndex = 0;
// //
// lblPatientFirst // btnPrescriptionSearch
// //
this.lblPatientFirst.AutoSize = true; this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
this.lblPatientFirst.Location = new System.Drawing.Point(44, 33); this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
this.lblPatientFirst.Name = "lblPatientFirst"; this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
this.lblPatientFirst.Size = new System.Drawing.Size(60, 13); this.btnPrescriptionSearch.TabIndex = 4;
this.lblPatientFirst.TabIndex = 0; this.btnPrescriptionSearch.Text = "Search";
this.lblPatientFirst.Text = "First Name:"; this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
// //
// lblPatientLast // lblPhysicianFirst
// //
this.lblPatientLast.AutoSize = true; this.lblPhysicianFirst.AutoSize = true;
this.lblPatientLast.Location = new System.Drawing.Point(47, 67); this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34);
this.lblPatientLast.Name = "lblPatientLast"; this.lblPhysicianFirst.Name = "lblPhysicianFirst";
this.lblPatientLast.Size = new System.Drawing.Size(61, 13); this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
this.lblPatientLast.TabIndex = 1; this.lblPhysicianFirst.TabIndex = 0;
this.lblPatientLast.Text = "Last Name:"; this.lblPhysicianFirst.Text = "First Name:";
// //
// txtPatientFirst // lblPhysicianLast
// //
this.txtPatientFirst.Location = new System.Drawing.Point(141, 33); this.lblPhysicianLast.AutoSize = true;
this.txtPatientFirst.Name = "txtPatientFirst"; this.lblPhysicianLast.Location = new System.Drawing.Point(50, 78);
this.txtPatientFirst.Size = new System.Drawing.Size(100, 20); this.lblPhysicianLast.Name = "lblPhysicianLast";
this.txtPatientFirst.TabIndex = 2; this.lblPhysicianLast.Size = new System.Drawing.Size(61, 13);
this.lblPhysicianLast.TabIndex = 1;
this.lblPhysicianLast.Text = "Last Name:";
// //
// txtPatientLast // txtPhysicianFirst
// //
this.txtPatientLast.Location = new System.Drawing.Point(141, 67); this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34);
this.txtPatientLast.Name = "txtPatientLast"; this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPatientLast.Size = new System.Drawing.Size(100, 20); this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPatientLast.TabIndex = 3; this.txtPhysicianFirst.TabIndex = 2;
//
// txtPhysicianLast
//
this.txtPhysicianLast.Location = new System.Drawing.Point(126, 78);
this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 3;
//
// btnPhysicianSearch
//
this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116);
this.btnPhysicianSearch.Name = "btnPhysicianSearch";
this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23);
this.btnPhysicianSearch.TabIndex = 4;
this.btnPhysicianSearch.Text = "Search";
this.btnPhysicianSearch.UseVisualStyleBackColor = true;
// //
// frmInfo // frmInfo
// //
@ -229,17 +348,21 @@ namespace Louis__Pharmacy_CNSA212_FP
this.mnusNavigation.ResumeLayout(false); this.mnusNavigation.ResumeLayout(false);
this.mnusNavigation.PerformLayout(); this.mnusNavigation.PerformLayout();
this.tbcInfo.ResumeLayout(false); this.tbcInfo.ResumeLayout(false);
this.tbpPhysician.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
this.splcPhysician.ResumeLayout(false);
this.tbpPatient.ResumeLayout(false); this.tbpPatient.ResumeLayout(false);
this.tbpPrescription.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit();
this.splcPrescription.ResumeLayout(false);
this.splcPatient.Panel1.ResumeLayout(false); this.splcPatient.Panel1.ResumeLayout(false);
this.splcPatient.Panel1.PerformLayout(); this.splcPatient.Panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
this.splcPatient.ResumeLayout(false); this.splcPatient.ResumeLayout(false);
this.tbpPrescription.ResumeLayout(false);
this.splcPrescription.Panel1.ResumeLayout(false);
this.splcPrescription.Panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit();
this.splcPrescription.ResumeLayout(false);
this.tbpPhysician.ResumeLayout(false);
this.splcPhysician.Panel1.ResumeLayout(false);
this.splcPhysician.Panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
this.splcPhysician.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -263,5 +386,16 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.Label lblPatientLast; private System.Windows.Forms.Label lblPatientLast;
private System.Windows.Forms.Label lblPatientFirst; private System.Windows.Forms.Label lblPatientFirst;
private System.Windows.Forms.TextBox txtPatientLast; private System.Windows.Forms.TextBox txtPatientLast;
private System.Windows.Forms.Button btnPatientSearch;
private System.Windows.Forms.TextBox txtRxNumber;
private System.Windows.Forms.Label lblPrescriptionLast;
private System.Windows.Forms.Label lblRxNumber;
private System.Windows.Forms.TextBox txtPrescriptionLast;
private System.Windows.Forms.Button btnPrescriptionSearch;
private System.Windows.Forms.TextBox txtPhysicianLast;
private System.Windows.Forms.TextBox txtPhysicianFirst;
private System.Windows.Forms.Label lblPhysicianLast;
private System.Windows.Forms.Label lblPhysicianFirst;
private System.Windows.Forms.Button btnPhysicianSearch;
} }
} }