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:
parent
7b0dd09368
commit
a344b8e040
294
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
294
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
@ -36,28 +36,41 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.refillInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.prescriptionInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
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.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.splcPrescription = new System.Windows.Forms.SplitContainer();
|
||||
this.splcPatient = new System.Windows.Forms.SplitContainer();
|
||||
this.lblPatientFirst = new System.Windows.Forms.Label();
|
||||
this.lblPatientLast = new System.Windows.Forms.Label();
|
||||
this.txtPatientFirst = new System.Windows.Forms.TextBox();
|
||||
this.txtPatientLast = new System.Windows.Forms.TextBox();
|
||||
this.tbpPhysician = new System.Windows.Forms.TabPage();
|
||||
this.splcPhysician = new System.Windows.Forms.SplitContainer();
|
||||
this.lblRxNumber = new System.Windows.Forms.Label();
|
||||
this.lblPrescriptionLast = new System.Windows.Forms.Label();
|
||||
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.tbcInfo.SuspendLayout();
|
||||
this.tbpPhysician.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
|
||||
this.splcPhysician.SuspendLayout();
|
||||
this.tbpPatient.SuspendLayout();
|
||||
this.tbpPrescription.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
|
||||
this.splcPrescription.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit();
|
||||
this.splcPatient.Panel1.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();
|
||||
//
|
||||
// mnusNavigation
|
||||
@ -109,6 +122,94 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.tbcInfo.Size = new System.Drawing.Size(666, 341);
|
||||
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
|
||||
//
|
||||
this.tbpPhysician.Controls.Add(this.splcPhysician);
|
||||
@ -129,89 +230,107 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
// 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.Size = new System.Drawing.Size(652, 309);
|
||||
this.splcPhysician.SplitterDistance = 158;
|
||||
this.splcPhysician.TabIndex = 0;
|
||||
//
|
||||
// tbpPatient
|
||||
// lblRxNumber
|
||||
//
|
||||
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;
|
||||
this.lblRxNumber.AutoSize = true;
|
||||
this.lblRxNumber.Location = new System.Drawing.Point(61, 25);
|
||||
this.lblRxNumber.Name = "lblRxNumber";
|
||||
this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
|
||||
this.lblRxNumber.TabIndex = 0;
|
||||
this.lblRxNumber.Text = "Rx Number:";
|
||||
//
|
||||
// tbpPrescription
|
||||
// lblPrescriptionLast
|
||||
//
|
||||
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;
|
||||
this.lblPrescriptionLast.AutoSize = true;
|
||||
this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74);
|
||||
this.lblPrescriptionLast.Name = "lblPrescriptionLast";
|
||||
this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13);
|
||||
this.lblPrescriptionLast.TabIndex = 1;
|
||||
this.lblPrescriptionLast.Text = "Last Name:";
|
||||
//
|
||||
// splcPrescription
|
||||
// btnPatientSearch
|
||||
//
|
||||
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;
|
||||
this.splcPrescription.Size = new System.Drawing.Size(658, 315);
|
||||
this.splcPrescription.SplitterDistance = 160;
|
||||
this.splcPrescription.TabIndex = 0;
|
||||
this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
|
||||
this.btnPatientSearch.Location = new System.Drawing.Point(50, 119);
|
||||
this.btnPatientSearch.Name = "btnPatientSearch";
|
||||
this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPatientSearch.TabIndex = 4;
|
||||
this.btnPatientSearch.Text = "Search";
|
||||
this.btnPatientSearch.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// splcPatient
|
||||
// txtRxNumber
|
||||
//
|
||||
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;
|
||||
this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
|
||||
this.txtRxNumber.Name = "txtRxNumber";
|
||||
this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtRxNumber.TabIndex = 2;
|
||||
//
|
||||
// splcPatient.Panel1
|
||||
// txtPrescriptionLast
|
||||
//
|
||||
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;
|
||||
this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74);
|
||||
this.txtPrescriptionLast.Name = "txtPrescriptionLast";
|
||||
this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPrescriptionLast.TabIndex = 3;
|
||||
//
|
||||
// lblPatientFirst
|
||||
// btnPrescriptionSearch
|
||||
//
|
||||
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:";
|
||||
this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
|
||||
this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
|
||||
this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPrescriptionSearch.TabIndex = 4;
|
||||
this.btnPrescriptionSearch.Text = "Search";
|
||||
this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblPatientLast
|
||||
// lblPhysicianFirst
|
||||
//
|
||||
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:";
|
||||
this.lblPhysicianFirst.AutoSize = true;
|
||||
this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34);
|
||||
this.lblPhysicianFirst.Name = "lblPhysicianFirst";
|
||||
this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
|
||||
this.lblPhysicianFirst.TabIndex = 0;
|
||||
this.lblPhysicianFirst.Text = "First Name:";
|
||||
//
|
||||
// txtPatientFirst
|
||||
// lblPhysicianLast
|
||||
//
|
||||
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;
|
||||
this.lblPhysicianLast.AutoSize = true;
|
||||
this.lblPhysicianLast.Location = new System.Drawing.Point(50, 78);
|
||||
this.lblPhysicianLast.Name = "lblPhysicianLast";
|
||||
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.txtPatientLast.Name = "txtPatientLast";
|
||||
this.txtPatientLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPatientLast.TabIndex = 3;
|
||||
this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34);
|
||||
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
|
||||
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
|
||||
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
|
||||
//
|
||||
@ -229,17 +348,21 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.mnusNavigation.ResumeLayout(false);
|
||||
this.mnusNavigation.PerformLayout();
|
||||
this.tbcInfo.ResumeLayout(false);
|
||||
this.tbpPhysician.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
|
||||
this.splcPhysician.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.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
|
||||
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.PerformLayout();
|
||||
|
||||
@ -263,5 +386,16 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
private System.Windows.Forms.Label lblPatientLast;
|
||||
private System.Windows.Forms.Label lblPatientFirst;
|
||||
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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user