Deleted the tabs on the refill form.

This commit is contained in:
Adam McCane 2024-02-14 14:38:19 -05:00
parent e8e95df8b0
commit 2693444295
3 changed files with 280 additions and 363 deletions

View File

@ -39,24 +39,12 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbcInfo = new System.Windows.Forms.TabControl();
this.tbpPatient = new System.Windows.Forms.TabPage();
this.splcPatient = new System.Windows.Forms.SplitContainer();
this.txtPatientID = new System.Windows.Forms.TextBox();
this.lblPatientID = new System.Windows.Forms.Label();
this.txtPatientLast = new System.Windows.Forms.TextBox();
this.txtPatientFirst = new System.Windows.Forms.TextBox();
this.btnPatientSearch = new System.Windows.Forms.Button();
this.dgvPatient = new System.Windows.Forms.DataGridView();
this.tbpPrescription = new System.Windows.Forms.TabPage();
this.splcPrescription = new System.Windows.Forms.SplitContainer();
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
this.txtPrescriptionPatID = new System.Windows.Forms.TextBox();
this.txtRxNumber = new System.Windows.Forms.TextBox();
this.lblPrescriptionPatID = new System.Windows.Forms.Label();
this.lblRxNumber = new System.Windows.Forms.Label();
this.tbpPhysician = new System.Windows.Forms.TabPage();
this.splcPhysician = new System.Windows.Forms.SplitContainer();
this.txtPhysicianLast = new System.Windows.Forms.TextBox();
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.btnPhysicianSearch = new System.Windows.Forms.Button();
this.dgvPhysician = new System.Windows.Forms.DataGridView();
this.dgvPrescription = new System.Windows.Forms.DataGridView();
this.pat_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.FirstName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.LastName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -72,6 +60,14 @@ namespace Louis__Pharmacy_CNSA212_FP
this.PhoneNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Gender = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Medications = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tbpPrescription = new System.Windows.Forms.TabPage();
this.splcPrescription = new System.Windows.Forms.SplitContainer();
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
this.txtPrescriptionPatID = new System.Windows.Forms.TextBox();
this.txtRxNumber = new System.Windows.Forms.TextBox();
this.lblPrescriptionPatID = new System.Windows.Forms.Label();
this.lblRxNumber = new System.Windows.Forms.Label();
this.dgvPrescription = new System.Windows.Forms.DataGridView();
this.RxNum_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.numRefills = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pastNumRefills = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -79,6 +75,14 @@ namespace Louis__Pharmacy_CNSA212_FP
this.Physician_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Medication_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Patient_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tbpPhysician = new System.Windows.Forms.TabPage();
this.splcPhysician = new System.Windows.Forms.SplitContainer();
this.txtPhysicianID = new System.Windows.Forms.TextBox();
this.lblPhysicianID = new System.Windows.Forms.Label();
this.txtPhysicianLast = new System.Windows.Forms.TextBox();
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.btnPhysicianSearch = new System.Windows.Forms.Button();
this.dgvPhysician = new System.Windows.Forms.DataGridView();
this.Phys_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.namefirst = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.namelast = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -90,10 +94,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.numberphone = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.gennder = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Specialty = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lblPhysicianID = new System.Windows.Forms.Label();
this.txtPhysicianID = new System.Windows.Forms.TextBox();
this.lblPatientID = new System.Windows.Forms.Label();
this.txtPatientID = new System.Windows.Forms.TextBox();
lblPatientFirst = new System.Windows.Forms.Label();
lblPatientLast = new System.Windows.Forms.Label();
lblPhysicianFirst = new System.Windows.Forms.Label();
@ -110,13 +110,13 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPrescription.Panel1.SuspendLayout();
this.splcPrescription.Panel2.SuspendLayout();
this.splcPrescription.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).BeginInit();
this.tbpPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
this.splcPhysician.Panel1.SuspendLayout();
this.splcPhysician.Panel2.SuspendLayout();
this.splcPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).BeginInit();
this.SuspendLayout();
//
// lblPatientFirst
@ -201,6 +201,22 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.SplitterDistance = 186;
this.splcPatient.TabIndex = 0;
//
// txtPatientID
//
this.txtPatientID.Location = new System.Drawing.Point(86, 109);
this.txtPatientID.Name = "txtPatientID";
this.txtPatientID.Size = new System.Drawing.Size(100, 20);
this.txtPatientID.TabIndex = 8;
//
// lblPatientID
//
this.lblPatientID.AutoSize = true;
this.lblPatientID.Location = new System.Drawing.Point(23, 109);
this.lblPatientID.Name = "lblPatientID";
this.lblPatientID.Size = new System.Drawing.Size(57, 13);
this.lblPatientID.TabIndex = 7;
this.lblPatientID.Text = "Patient ID:";
//
// txtPatientLast
//
this.txtPatientLast.Location = new System.Drawing.Point(87, 66);
@ -252,182 +268,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.dgvPatient.Size = new System.Drawing.Size(652, 219);
this.dgvPatient.TabIndex = 0;
//
// 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, 415);
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.txtPrescriptionPatID);
this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber);
this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionPatID);
this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber);
//
// splcPrescription.Panel2
//
this.splcPrescription.Panel2.Controls.Add(this.dgvPrescription);
this.splcPrescription.Size = new System.Drawing.Size(658, 415);
this.splcPrescription.SplitterDistance = 210;
this.splcPrescription.TabIndex = 0;
//
// btnPrescriptionSearch
//
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;
//
// txtPrescriptionPatID
//
this.txtPrescriptionPatID.Location = new System.Drawing.Point(184, 74);
this.txtPrescriptionPatID.Name = "txtPrescriptionPatID";
this.txtPrescriptionPatID.Size = new System.Drawing.Size(100, 20);
this.txtPrescriptionPatID.TabIndex = 3;
//
// txtRxNumber
//
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;
//
// lblPrescriptionPatID
//
this.lblPrescriptionPatID.AutoSize = true;
this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74);
this.lblPrescriptionPatID.Name = "lblPrescriptionPatID";
this.lblPrescriptionPatID.Size = new System.Drawing.Size(57, 13);
this.lblPrescriptionPatID.TabIndex = 1;
this.lblPrescriptionPatID.Text = "Patient ID:";
//
// lblRxNumber
//
this.lblRxNumber.AutoSize = true;
this.lblRxNumber.Location = new System.Drawing.Point(61, 25);
this.lblRxNumber.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblRxNumber.Name = "lblRxNumber";
this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
this.lblRxNumber.TabIndex = 0;
this.lblRxNumber.Text = "Rx Number:";
//
// tbpPhysician
//
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);
this.tbpPhysician.Size = new System.Drawing.Size(658, 415);
this.tbpPhysician.TabIndex = 2;
this.tbpPhysician.Text = "Physician Info";
this.tbpPhysician.UseVisualStyleBackColor = true;
//
// splcPhysician
//
this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPhysician.Location = new System.Drawing.Point(3, 3);
this.splcPhysician.Name = "splcPhysician";
this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPhysician.Panel1
//
this.splcPhysician.Panel1.AutoScroll = true;
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianID);
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianID);
this.splcPhysician.Panel1.Controls.Add(lblPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(lblPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.btnPhysicianSearch);
this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
//
// splcPhysician.Panel2
//
this.splcPhysician.Panel2.AutoScroll = true;
this.splcPhysician.Panel2.Controls.Add(this.dgvPhysician);
this.splcPhysician.Size = new System.Drawing.Size(652, 409);
this.splcPhysician.SplitterDistance = 183;
this.splcPhysician.TabIndex = 0;
//
// txtPhysicianLast
//
this.txtPhysicianLast.Location = new System.Drawing.Point(99, 67);
this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 6;
//
// txtPhysicianFirst
//
this.txtPhysicianFirst.Location = new System.Drawing.Point(99, 23);
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianFirst.TabIndex = 5;
//
// btnPhysicianSearch
//
this.btnPhysicianSearch.Location = new System.Drawing.Point(45, 146);
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;
//
// dgvPhysician
//
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.Location = new System.Drawing.Point(3, 3);
this.dgvPhysician.Name = "dgvPhysician";
this.dgvPhysician.ReadOnly = true;
this.dgvPhysician.Size = new System.Drawing.Size(646, 216);
this.dgvPhysician.TabIndex = 0;
//
// dgvPrescription
//
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.RxNum_id,
this.numRefills,
this.pastNumRefills,
this.PrescribedBy,
this.Physician_id,
this.Medication_id,
this.Patient_id});
this.dgvPrescription.Location = new System.Drawing.Point(3, 3);
this.dgvPrescription.Name = "dgvPrescription";
this.dgvPrescription.Size = new System.Drawing.Size(652, 195);
this.dgvPrescription.TabIndex = 0;
//
// pat_id
//
this.pat_id.DataPropertyName = "Patient_id";
@ -536,6 +376,98 @@ namespace Louis__Pharmacy_CNSA212_FP
this.Medications.Name = "Medications";
this.Medications.ReadOnly = true;
//
// 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, 415);
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.txtPrescriptionPatID);
this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber);
this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionPatID);
this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber);
//
// splcPrescription.Panel2
//
this.splcPrescription.Panel2.Controls.Add(this.dgvPrescription);
this.splcPrescription.Size = new System.Drawing.Size(658, 415);
this.splcPrescription.SplitterDistance = 210;
this.splcPrescription.TabIndex = 0;
//
// btnPrescriptionSearch
//
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;
//
// txtPrescriptionPatID
//
this.txtPrescriptionPatID.Location = new System.Drawing.Point(184, 74);
this.txtPrescriptionPatID.Name = "txtPrescriptionPatID";
this.txtPrescriptionPatID.Size = new System.Drawing.Size(100, 20);
this.txtPrescriptionPatID.TabIndex = 3;
//
// txtRxNumber
//
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;
//
// lblPrescriptionPatID
//
this.lblPrescriptionPatID.AutoSize = true;
this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74);
this.lblPrescriptionPatID.Name = "lblPrescriptionPatID";
this.lblPrescriptionPatID.Size = new System.Drawing.Size(57, 13);
this.lblPrescriptionPatID.TabIndex = 1;
this.lblPrescriptionPatID.Text = "Patient ID:";
//
// lblRxNumber
//
this.lblRxNumber.AutoSize = true;
this.lblRxNumber.Location = new System.Drawing.Point(61, 25);
this.lblRxNumber.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblRxNumber.Name = "lblRxNumber";
this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
this.lblRxNumber.TabIndex = 0;
this.lblRxNumber.Text = "Rx Number:";
//
// dgvPrescription
//
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.RxNum_id,
this.numRefills,
this.pastNumRefills,
this.PrescribedBy,
this.Physician_id,
this.Medication_id,
this.Patient_id});
this.dgvPrescription.Location = new System.Drawing.Point(3, 3);
this.dgvPrescription.Name = "dgvPrescription";
this.dgvPrescription.Size = new System.Drawing.Size(652, 195);
this.dgvPrescription.TabIndex = 0;
//
// RxNum_id
//
this.RxNum_id.DataPropertyName = "RxNum_id";
@ -578,6 +510,106 @@ namespace Louis__Pharmacy_CNSA212_FP
this.Patient_id.HeaderText = "Patient ID";
this.Patient_id.Name = "Patient_id";
//
// tbpPhysician
//
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);
this.tbpPhysician.Size = new System.Drawing.Size(658, 415);
this.tbpPhysician.TabIndex = 2;
this.tbpPhysician.Text = "Physician Info";
this.tbpPhysician.UseVisualStyleBackColor = true;
//
// splcPhysician
//
this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPhysician.Location = new System.Drawing.Point(3, 3);
this.splcPhysician.Name = "splcPhysician";
this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPhysician.Panel1
//
this.splcPhysician.Panel1.AutoScroll = true;
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianID);
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianID);
this.splcPhysician.Panel1.Controls.Add(lblPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(lblPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.btnPhysicianSearch);
this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
//
// splcPhysician.Panel2
//
this.splcPhysician.Panel2.AutoScroll = true;
this.splcPhysician.Panel2.Controls.Add(this.dgvPhysician);
this.splcPhysician.Size = new System.Drawing.Size(652, 409);
this.splcPhysician.SplitterDistance = 183;
this.splcPhysician.TabIndex = 0;
//
// txtPhysicianID
//
this.txtPhysicianID.Location = new System.Drawing.Point(99, 111);
this.txtPhysicianID.Name = "txtPhysicianID";
this.txtPhysicianID.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianID.TabIndex = 8;
//
// lblPhysicianID
//
this.lblPhysicianID.AutoSize = true;
this.lblPhysicianID.Location = new System.Drawing.Point(24, 111);
this.lblPhysicianID.Name = "lblPhysicianID";
this.lblPhysicianID.Size = new System.Drawing.Size(69, 13);
this.lblPhysicianID.TabIndex = 7;
this.lblPhysicianID.Text = "Physician ID:";
//
// txtPhysicianLast
//
this.txtPhysicianLast.Location = new System.Drawing.Point(99, 67);
this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 6;
//
// txtPhysicianFirst
//
this.txtPhysicianFirst.Location = new System.Drawing.Point(99, 23);
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianFirst.TabIndex = 5;
//
// btnPhysicianSearch
//
this.btnPhysicianSearch.Location = new System.Drawing.Point(45, 146);
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;
//
// dgvPhysician
//
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.Location = new System.Drawing.Point(3, 3);
this.dgvPhysician.Name = "dgvPhysician";
this.dgvPhysician.ReadOnly = true;
this.dgvPhysician.Size = new System.Drawing.Size(646, 216);
this.dgvPhysician.TabIndex = 0;
//
// Phys_id
//
this.Phys_id.DataPropertyName = "Physician_id";
@ -658,38 +690,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.Specialty.Name = "Specialty";
this.Specialty.ReadOnly = true;
//
// lblPhysicianID
//
this.lblPhysicianID.AutoSize = true;
this.lblPhysicianID.Location = new System.Drawing.Point(24, 111);
this.lblPhysicianID.Name = "lblPhysicianID";
this.lblPhysicianID.Size = new System.Drawing.Size(69, 13);
this.lblPhysicianID.TabIndex = 7;
this.lblPhysicianID.Text = "Physician ID:";
//
// txtPhysicianID
//
this.txtPhysicianID.Location = new System.Drawing.Point(99, 111);
this.txtPhysicianID.Name = "txtPhysicianID";
this.txtPhysicianID.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianID.TabIndex = 8;
//
// lblPatientID
//
this.lblPatientID.AutoSize = true;
this.lblPatientID.Location = new System.Drawing.Point(23, 109);
this.lblPatientID.Name = "lblPatientID";
this.lblPatientID.Size = new System.Drawing.Size(57, 13);
this.lblPatientID.TabIndex = 7;
this.lblPatientID.Text = "Patient ID:";
//
// txtPatientID
//
this.txtPatientID.Location = new System.Drawing.Point(86, 109);
this.txtPatientID.Name = "txtPatientID";
this.txtPatientID.Size = new System.Drawing.Size(100, 20);
this.txtPatientID.TabIndex = 8;
//
// frmInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -715,6 +715,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPrescription.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit();
this.splcPrescription.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).EndInit();
this.tbpPhysician.ResumeLayout(false);
this.splcPhysician.Panel1.ResumeLayout(false);
this.splcPhysician.Panel1.PerformLayout();
@ -722,7 +723,6 @@ namespace Louis__Pharmacy_CNSA212_FP
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
this.splcPhysician.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvPhysician)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvPrescription)).EndInit();
this.ResumeLayout(false);
}

View File

@ -29,14 +29,8 @@ namespace Louis__Pharmacy_CNSA212_FP
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill));
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tbAddRefill = new System.Windows.Forms.TabPage();
this.dgvAddRefill = new System.Windows.Forms.DataGridView();
this.tbUpdateRefill = new System.Windows.Forms.TabPage();
this.dgvUpdateRefill = new System.Windows.Forms.DataGridView();
this.tbDeleteRefill = new System.Windows.Forms.TabPage();
this.dgvDeleteRefill = new System.Windows.Forms.DataGridView();
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
@ -49,101 +43,15 @@ namespace Louis__Pharmacy_CNSA212_FP
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.rEFILLSBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.refill_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.refillid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.refilldate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.patient_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.medication_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rxnum = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tabControl1.SuspendLayout();
this.tbAddRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvAddRefill)).BeginInit();
this.tbUpdateRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvUpdateRefill)).BeginInit();
this.tbDeleteRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDeleteRefill)).BeginInit();
this.patientid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.medicationid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rxnumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tbAddRefill);
this.tabControl1.Controls.Add(this.tbUpdateRefill);
this.tabControl1.Controls.Add(this.tbDeleteRefill);
this.tabControl1.Location = new System.Drawing.Point(12, 28);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(580, 322);
this.tabControl1.TabIndex = 0;
//
// tbAddRefill
//
this.tbAddRefill.AutoScroll = true;
this.tbAddRefill.Controls.Add(this.dgvAddRefill);
this.tbAddRefill.Location = new System.Drawing.Point(4, 22);
this.tbAddRefill.Name = "tbAddRefill";
this.tbAddRefill.Padding = new System.Windows.Forms.Padding(3);
this.tbAddRefill.Size = new System.Drawing.Size(572, 296);
this.tbAddRefill.TabIndex = 0;
this.tbAddRefill.Text = "Add Refill";
this.tbAddRefill.UseVisualStyleBackColor = true;
//
// dgvAddRefill
//
this.dgvAddRefill.AllowUserToDeleteRows = false;
this.dgvAddRefill.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvAddRefill.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.refill_id,
this.refilldate,
this.patient_id,
this.medication_id,
this.rxnum});
this.dgvAddRefill.Location = new System.Drawing.Point(6, 6);
this.dgvAddRefill.Name = "dgvAddRefill";
this.dgvAddRefill.Size = new System.Drawing.Size(556, 304);
this.dgvAddRefill.TabIndex = 0;
//
// tbUpdateRefill
//
this.tbUpdateRefill.AutoScroll = true;
this.tbUpdateRefill.Controls.Add(this.dgvUpdateRefill);
this.tbUpdateRefill.Location = new System.Drawing.Point(4, 22);
this.tbUpdateRefill.Name = "tbUpdateRefill";
this.tbUpdateRefill.Padding = new System.Windows.Forms.Padding(3);
this.tbUpdateRefill.Size = new System.Drawing.Size(572, 296);
this.tbUpdateRefill.TabIndex = 1;
this.tbUpdateRefill.Text = "Update Refill";
this.tbUpdateRefill.UseVisualStyleBackColor = true;
//
// dgvUpdateRefill
//
this.dgvUpdateRefill.AllowUserToAddRows = false;
this.dgvUpdateRefill.AllowUserToDeleteRows = false;
this.dgvUpdateRefill.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvUpdateRefill.Location = new System.Drawing.Point(6, 6);
this.dgvUpdateRefill.Name = "dgvUpdateRefill";
this.dgvUpdateRefill.Size = new System.Drawing.Size(560, 282);
this.dgvUpdateRefill.TabIndex = 0;
//
// tbDeleteRefill
//
this.tbDeleteRefill.AutoScroll = true;
this.tbDeleteRefill.Controls.Add(this.dgvDeleteRefill);
this.tbDeleteRefill.Location = new System.Drawing.Point(4, 22);
this.tbDeleteRefill.Name = "tbDeleteRefill";
this.tbDeleteRefill.Size = new System.Drawing.Size(572, 296);
this.tbDeleteRefill.TabIndex = 2;
this.tbDeleteRefill.Text = "Delete Refill";
this.tbDeleteRefill.UseVisualStyleBackColor = true;
//
// dgvDeleteRefill
//
this.dgvDeleteRefill.AllowUserToAddRows = false;
this.dgvDeleteRefill.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDeleteRefill.Location = new System.Drawing.Point(3, 3);
this.dgvDeleteRefill.Name = "dgvDeleteRefill";
this.dgvDeleteRefill.ReadOnly = true;
this.dgvDeleteRefill.Size = new System.Drawing.Size(566, 285);
this.dgvDeleteRefill.TabIndex = 0;
//
// bindingNavigatorAddNewItem
//
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
@ -205,59 +113,70 @@ namespace Louis__Pharmacy_CNSA212_FP
this.rEFILLSBindingNavigatorSaveItem.Name = "rEFILLSBindingNavigatorSaveItem";
this.rEFILLSBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 23);
//
// refill_id
// dataGridView1
//
this.refill_id.HeaderText = "Refill ID";
this.refill_id.Name = "refill_id";
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.refillid,
this.refilldate,
this.patientid,
this.medicationid,
this.rxnumber});
this.dataGridView1.Location = new System.Drawing.Point(12, 12);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.Size = new System.Drawing.Size(607, 326);
this.dataGridView1.TabIndex = 0;
//
// refillid
//
this.refillid.DataPropertyName = "Refill_id";
this.refillid.HeaderText = "Refill ID";
this.refillid.Name = "refillid";
//
// refilldate
//
this.refilldate.DataPropertyName = "RefillDate";
dataGridViewCellStyle1.Format = "d";
dataGridViewCellStyle1.NullValue = null;
this.refilldate.DefaultCellStyle = dataGridViewCellStyle1;
this.refilldate.HeaderText = "Date of Refill";
this.refilldate.Name = "refilldate";
//
// patient_id
// patientid
//
this.patient_id.HeaderText = "Patient ID";
this.patient_id.Name = "patient_id";
this.patientid.DataPropertyName = "Patient_id";
this.patientid.HeaderText = "Patient ID";
this.patientid.Name = "patientid";
//
// medication_id
// medicationid
//
this.medication_id.HeaderText = "Medication ID";
this.medication_id.Name = "medication_id";
this.medicationid.DataPropertyName = "Medication_id";
this.medicationid.HeaderText = "Medication ID";
this.medicationid.Name = "medicationid";
//
// rxnum
// rxnumber
//
this.rxnum.HeaderText = "Rx Number";
this.rxnum.Name = "rxnum";
this.rxnumber.DataPropertyName = "RxNum";
this.rxnumber.HeaderText = "Rx Number";
this.rxnumber.Name = "rxnumber";
//
// frmRefill
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(631, 350);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.dataGridView1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmRefill";
this.Text = "Louis\' Pharmacy - Prescription Refill";
this.Load += new System.EventHandler(this.frmRefill_Load);
this.tabControl1.ResumeLayout(false);
this.tbAddRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvAddRefill)).EndInit();
this.tbUpdateRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvUpdateRefill)).EndInit();
this.tbDeleteRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDeleteRefill)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tbAddRefill;
private System.Windows.Forms.TabPage tbUpdateRefill;
private System.Windows.Forms.TabPage tbDeleteRefill;
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
@ -270,28 +189,26 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.ToolStripButton rEFILLSBindingNavigatorSaveItem;
private System.Windows.Forms.DataGridView dgvAddRefill;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridView dgvUpdateRefill;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
private System.Windows.Forms.DataGridView dgvDeleteRefill;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
private System.Windows.Forms.DataGridViewTextBoxColumn refill_id;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn refillid;
private System.Windows.Forms.DataGridViewTextBoxColumn refilldate;
private System.Windows.Forms.DataGridViewTextBoxColumn patient_id;
private System.Windows.Forms.DataGridViewTextBoxColumn medication_id;
private System.Windows.Forms.DataGridViewTextBoxColumn rxnum;
private System.Windows.Forms.DataGridViewTextBoxColumn patientid;
private System.Windows.Forms.DataGridViewTextBoxColumn medicationid;
private System.Windows.Forms.DataGridViewTextBoxColumn rxnumber;
}
}

View File

@ -117,19 +117,19 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="refill_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="refillid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="refilldate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="patient_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="patientid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="medication_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="medicationid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="rxnum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="rxnumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />