diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index c09a615..ebbc663 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -122,6 +122,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.cmuPrescriptionNew = new System.Windows.Forms.ToolStripMenuItem(); this.cmuPrescriptionEdit = new System.Windows.Forms.ToolStripMenuItem(); this.cmuPrescriptionDelete = new System.Windows.Forms.ToolStripMenuItem(); + this.cmuAddRefill = new System.Windows.Forms.ToolStripMenuItem(); lblPatientFirst = new System.Windows.Forms.Label(); lblPatientLast = new System.Windows.Forms.Label(); lblPhysicianFirst = new System.Windows.Forms.Label(); @@ -156,40 +157,36 @@ namespace Louis__Pharmacy_CNSA212_FP // lblPatientFirst // lblPatientFirst.AutoSize = true; - lblPatientFirst.Location = new System.Drawing.Point(27, 34); - lblPatientFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + lblPatientFirst.Location = new System.Drawing.Point(20, 28); lblPatientFirst.Name = "lblPatientFirst"; - lblPatientFirst.Size = new System.Drawing.Size(80, 17); + lblPatientFirst.Size = new System.Drawing.Size(60, 13); lblPatientFirst.TabIndex = 4; lblPatientFirst.Text = "First Name:"; // // lblPatientLast // lblPatientLast.AutoSize = true; - lblPatientLast.Location = new System.Drawing.Point(27, 85); - lblPatientLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + lblPatientLast.Location = new System.Drawing.Point(20, 69); lblPatientLast.Name = "lblPatientLast"; - lblPatientLast.Size = new System.Drawing.Size(80, 17); + lblPatientLast.Size = new System.Drawing.Size(61, 13); lblPatientLast.TabIndex = 5; lblPatientLast.Text = "Last Name:"; // // lblPhysicianFirst // lblPhysicianFirst.AutoSize = true; - lblPhysicianFirst.Location = new System.Drawing.Point(32, 32); - lblPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + lblPhysicianFirst.Location = new System.Drawing.Point(24, 26); lblPhysicianFirst.Name = "lblPhysicianFirst"; - lblPhysicianFirst.Size = new System.Drawing.Size(80, 17); + lblPhysicianFirst.Size = new System.Drawing.Size(60, 13); lblPhysicianFirst.TabIndex = 4; lblPhysicianFirst.Text = "First Name:"; // // lblPhysicianLast // lblPhysicianLast.AutoSize = true; - lblPhysicianLast.Location = new System.Drawing.Point(31, 86); - lblPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + lblPhysicianLast.Location = new System.Drawing.Point(23, 70); lblPhysicianLast.Name = "lblPhysicianLast"; - lblPhysicianLast.Size = new System.Drawing.Size(80, 17); + lblPhysicianLast.Size = new System.Drawing.Size(61, 13); lblPhysicianLast.TabIndex = 5; lblPhysicianLast.Text = "Last Name:"; // @@ -199,20 +196,18 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbcInfo.Controls.Add(this.tbpMedication); this.tbcInfo.Controls.Add(this.tbpPhysician); this.tbcInfo.Controls.Add(this.tbcInfoPrescriptions); - this.tbcInfo.Location = new System.Drawing.Point(16, 15); - this.tbcInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbcInfo.Location = new System.Drawing.Point(12, 12); this.tbcInfo.Name = "tbcInfo"; this.tbcInfo.SelectedIndex = 0; - this.tbcInfo.Size = new System.Drawing.Size(988, 628); + this.tbcInfo.Size = new System.Drawing.Size(741, 510); this.tbcInfo.TabIndex = 999999; // // tbpPatient // this.tbpPatient.Controls.Add(this.splcPatient); - this.tbpPatient.Location = new System.Drawing.Point(4, 25); - this.tbpPatient.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbpPatient.Location = new System.Drawing.Point(4, 22); this.tbpPatient.Name = "tbpPatient"; - this.tbpPatient.Size = new System.Drawing.Size(980, 599); + this.tbpPatient.Size = new System.Drawing.Size(733, 484); this.tbpPatient.TabIndex = 3; this.tbpPatient.Text = "Patients"; this.tbpPatient.UseVisualStyleBackColor = true; @@ -221,7 +216,6 @@ namespace Louis__Pharmacy_CNSA212_FP // this.splcPatient.Dock = System.Windows.Forms.DockStyle.Fill; this.splcPatient.Location = new System.Drawing.Point(0, 0); - this.splcPatient.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.splcPatient.Name = "splcPatient"; this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -240,52 +234,46 @@ namespace Louis__Pharmacy_CNSA212_FP // this.splcPatient.Panel2.AutoScroll = true; this.splcPatient.Panel2.Controls.Add(this.dgvPatient); - this.splcPatient.Size = new System.Drawing.Size(980, 599); - this.splcPatient.SplitterDistance = 261; - this.splcPatient.SplitterWidth = 5; + this.splcPatient.Size = new System.Drawing.Size(733, 484); + this.splcPatient.SplitterDistance = 210; this.splcPatient.TabIndex = 0; // // txtPatientID // - this.txtPatientID.Location = new System.Drawing.Point(115, 134); - this.txtPatientID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPatientID.Location = new System.Drawing.Point(86, 109); this.txtPatientID.Name = "txtPatientID"; - this.txtPatientID.Size = new System.Drawing.Size(132, 22); + this.txtPatientID.Size = new System.Drawing.Size(100, 20); this.txtPatientID.TabIndex = 3; // // lblPatientID // this.lblPatientID.AutoSize = true; - this.lblPatientID.Location = new System.Drawing.Point(31, 134); - this.lblPatientID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPatientID.Location = new System.Drawing.Point(23, 109); this.lblPatientID.Name = "lblPatientID"; - this.lblPatientID.Size = new System.Drawing.Size(73, 17); + 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(116, 81); - this.txtPatientLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPatientLast.Location = new System.Drawing.Point(87, 66); this.txtPatientLast.Name = "txtPatientLast"; - this.txtPatientLast.Size = new System.Drawing.Size(132, 22); + this.txtPatientLast.Size = new System.Drawing.Size(100, 20); this.txtPatientLast.TabIndex = 2; // // txtPatientFirst // - this.txtPatientFirst.Location = new System.Drawing.Point(115, 31); - this.txtPatientFirst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPatientFirst.Location = new System.Drawing.Point(86, 25); this.txtPatientFirst.Name = "txtPatientFirst"; - this.txtPatientFirst.Size = new System.Drawing.Size(132, 22); + this.txtPatientFirst.Size = new System.Drawing.Size(100, 20); this.txtPatientFirst.TabIndex = 1; // // btnPatientSearch // this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent; - this.btnPatientSearch.Location = new System.Drawing.Point(31, 185); - this.btnPatientSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnPatientSearch.Location = new System.Drawing.Point(23, 150); this.btnPatientSearch.Name = "btnPatientSearch"; - this.btnPatientSearch.Size = new System.Drawing.Size(100, 28); + this.btnPatientSearch.Size = new System.Drawing.Size(75, 23); this.btnPatientSearch.TabIndex = 4; this.btnPatientSearch.Text = "Search"; this.btnPatientSearch.UseVisualStyleBackColor = false; @@ -315,13 +303,12 @@ namespace Louis__Pharmacy_CNSA212_FP this.dgvPatient.ContextMenuStrip = this.cmuPatient; this.dgvPatient.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.dgvPatient.Location = new System.Drawing.Point(0, 0); - this.dgvPatient.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.dgvPatient.MultiSelect = false; this.dgvPatient.Name = "dgvPatient"; this.dgvPatient.ReadOnly = true; this.dgvPatient.RowHeadersWidth = 51; this.dgvPatient.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvPatient.Size = new System.Drawing.Size(977, 329); + this.dgvPatient.Size = new System.Drawing.Size(733, 267); this.dgvPatient.TabIndex = 0; this.dgvPatient.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPatient_CellContentClick); // @@ -471,36 +458,35 @@ namespace Louis__Pharmacy_CNSA212_FP this.cmuPatientEdit, this.cmuPatientDelete}); this.cmuPatient.Name = "contextMenuStrip1"; - this.cmuPatient.Size = new System.Drawing.Size(123, 76); + this.cmuPatient.Size = new System.Drawing.Size(108, 70); // // cmuPatientNew // this.cmuPatientNew.Name = "cmuPatientNew"; - this.cmuPatientNew.Size = new System.Drawing.Size(122, 24); + this.cmuPatientNew.Size = new System.Drawing.Size(107, 22); this.cmuPatientNew.Text = "New"; this.cmuPatientNew.Click += new System.EventHandler(this.cmuPatientNew_Click); // // cmuPatientEdit // this.cmuPatientEdit.Name = "cmuPatientEdit"; - this.cmuPatientEdit.Size = new System.Drawing.Size(122, 24); + this.cmuPatientEdit.Size = new System.Drawing.Size(107, 22); this.cmuPatientEdit.Text = "Edit"; this.cmuPatientEdit.Click += new System.EventHandler(this.cmuPatientEdit_Click); // // cmuPatientDelete // this.cmuPatientDelete.Name = "cmuPatientDelete"; - this.cmuPatientDelete.Size = new System.Drawing.Size(122, 24); + this.cmuPatientDelete.Size = new System.Drawing.Size(107, 22); this.cmuPatientDelete.Text = "Delete"; this.cmuPatientDelete.Click += new System.EventHandler(this.cmuPatientDelete_Click); // // tbpMedication // this.tbpMedication.Controls.Add(this.splcPrescription); - this.tbpMedication.Location = new System.Drawing.Point(4, 25); - this.tbpMedication.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbpMedication.Location = new System.Drawing.Point(4, 22); this.tbpMedication.Name = "tbpMedication"; - this.tbpMedication.Size = new System.Drawing.Size(980, 599); + this.tbpMedication.Size = new System.Drawing.Size(733, 484); this.tbpMedication.TabIndex = 4; this.tbpMedication.Text = "Medications"; this.tbpMedication.UseVisualStyleBackColor = true; @@ -509,7 +495,6 @@ namespace Louis__Pharmacy_CNSA212_FP // this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill; this.splcPrescription.Location = new System.Drawing.Point(0, 0); - this.splcPrescription.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.splcPrescription.Name = "splcPrescription"; this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -524,53 +509,49 @@ namespace Louis__Pharmacy_CNSA212_FP // splcPrescription.Panel2 // this.splcPrescription.Panel2.Controls.Add(this.dgvPrescription); - this.splcPrescription.Size = new System.Drawing.Size(980, 599); - this.splcPrescription.SplitterDistance = 299; - this.splcPrescription.SplitterWidth = 5; + this.splcPrescription.Size = new System.Drawing.Size(733, 484); + this.splcPrescription.SplitterDistance = 241; this.splcPrescription.TabIndex = 0; // // btnMedicationSearch // - this.btnMedicationSearch.Location = new System.Drawing.Point(85, 144); - this.btnMedicationSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnMedicationSearch.Location = new System.Drawing.Point(64, 117); this.btnMedicationSearch.Name = "btnMedicationSearch"; - this.btnMedicationSearch.Size = new System.Drawing.Size(100, 28); + this.btnMedicationSearch.Size = new System.Drawing.Size(75, 23); this.btnMedicationSearch.TabIndex = 4; this.btnMedicationSearch.Text = "Search"; this.btnMedicationSearch.UseVisualStyleBackColor = true; // // txtPrescriptionPatID // - this.txtPrescriptionPatID.Location = new System.Drawing.Point(245, 91); - this.txtPrescriptionPatID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPrescriptionPatID.Location = new System.Drawing.Point(184, 74); this.txtPrescriptionPatID.Name = "txtPrescriptionPatID"; - this.txtPrescriptionPatID.Size = new System.Drawing.Size(132, 22); + this.txtPrescriptionPatID.Size = new System.Drawing.Size(100, 20); this.txtPrescriptionPatID.TabIndex = 3; // // txtRxNumber // - this.txtRxNumber.Location = new System.Drawing.Point(245, 63); - this.txtRxNumber.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtRxNumber.Location = new System.Drawing.Point(184, 51); this.txtRxNumber.Name = "txtRxNumber"; - this.txtRxNumber.Size = new System.Drawing.Size(132, 22); + 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(81, 91); - this.lblPrescriptionPatID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74); this.lblPrescriptionPatID.Name = "lblPrescriptionPatID"; - this.lblPrescriptionPatID.Size = new System.Drawing.Size(121, 17); + this.lblPrescriptionPatID.Size = new System.Drawing.Size(93, 13); this.lblPrescriptionPatID.TabIndex = 1; this.lblPrescriptionPatID.Text = "Medication Name:"; // // lblDisMedicationNum // this.lblDisMedicationNum.AutoSize = true; - this.lblDisMedicationNum.Location = new System.Drawing.Point(81, 63); + this.lblDisMedicationNum.Location = new System.Drawing.Point(61, 51); + this.lblDisMedicationNum.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.lblDisMedicationNum.Name = "lblDisMedicationNum"; - this.lblDisMedicationNum.Size = new System.Drawing.Size(97, 17); + this.lblDisMedicationNum.Size = new System.Drawing.Size(76, 13); this.lblDisMedicationNum.TabIndex = 0; this.lblDisMedicationNum.Text = "Medication ID:"; this.lblDisMedicationNum.Click += new System.EventHandler(this.lblDisMedicationNum_Click); @@ -589,13 +570,12 @@ namespace Louis__Pharmacy_CNSA212_FP this.Purpose, this.RxNum}); this.dgvPrescription.ContextMenuStrip = this.cmuMedication; - this.dgvPrescription.Location = new System.Drawing.Point(4, 4); - this.dgvPrescription.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.dgvPrescription.Location = new System.Drawing.Point(3, 3); this.dgvPrescription.Name = "dgvPrescription"; this.dgvPrescription.ReadOnly = true; this.dgvPrescription.RowHeadersWidth = 51; this.dgvPrescription.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvPrescription.Size = new System.Drawing.Size(973, 292); + this.dgvPrescription.Size = new System.Drawing.Size(730, 237); this.dgvPrescription.TabIndex = 0; // // Medication_id @@ -669,37 +649,36 @@ namespace Louis__Pharmacy_CNSA212_FP this.cmuMedicationEdit, this.cmuMedicationDelete}); this.cmuMedication.Name = "cmuMedication"; - this.cmuMedication.Size = new System.Drawing.Size(123, 76); + this.cmuMedication.Size = new System.Drawing.Size(108, 70); // // cmuMedicationNew // this.cmuMedicationNew.Name = "cmuMedicationNew"; - this.cmuMedicationNew.Size = new System.Drawing.Size(122, 24); + this.cmuMedicationNew.Size = new System.Drawing.Size(107, 22); this.cmuMedicationNew.Text = "New"; this.cmuMedicationNew.Click += new System.EventHandler(this.cmuRxNew_Click); // // cmuMedicationEdit // this.cmuMedicationEdit.Name = "cmuMedicationEdit"; - this.cmuMedicationEdit.Size = new System.Drawing.Size(122, 24); + this.cmuMedicationEdit.Size = new System.Drawing.Size(107, 22); this.cmuMedicationEdit.Text = "Edit"; this.cmuMedicationEdit.Click += new System.EventHandler(this.cmuRxEdit_Click); // // cmuMedicationDelete // this.cmuMedicationDelete.Name = "cmuMedicationDelete"; - this.cmuMedicationDelete.Size = new System.Drawing.Size(122, 24); + this.cmuMedicationDelete.Size = new System.Drawing.Size(107, 22); this.cmuMedicationDelete.Text = "Delete"; this.cmuMedicationDelete.Click += new System.EventHandler(this.cmuMedicationDelete_Click); // // tbpPhysician // this.tbpPhysician.Controls.Add(this.splcPhysician); - this.tbpPhysician.Location = new System.Drawing.Point(4, 25); - this.tbpPhysician.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbpPhysician.Location = new System.Drawing.Point(4, 22); this.tbpPhysician.Name = "tbpPhysician"; - this.tbpPhysician.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.tbpPhysician.Size = new System.Drawing.Size(980, 599); + this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); + this.tbpPhysician.Size = new System.Drawing.Size(733, 484); this.tbpPhysician.TabIndex = 2; this.tbpPhysician.Text = "Physicians"; this.tbpPhysician.UseVisualStyleBackColor = true; @@ -707,8 +686,7 @@ namespace Louis__Pharmacy_CNSA212_FP // splcPhysician // this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill; - this.splcPhysician.Location = new System.Drawing.Point(4, 4); - this.splcPhysician.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.splcPhysician.Location = new System.Drawing.Point(3, 3); this.splcPhysician.Name = "splcPhysician"; this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -729,51 +707,45 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPhysician.Panel2.AutoScroll = true; this.splcPhysician.Panel2.Controls.Add(this.dgvPhysician); this.splcPhysician.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.Panel2_Paint); - this.splcPhysician.Size = new System.Drawing.Size(972, 591); - this.splcPhysician.SplitterDistance = 241; - this.splcPhysician.SplitterWidth = 5; + this.splcPhysician.Size = new System.Drawing.Size(727, 478); + this.splcPhysician.SplitterDistance = 194; this.splcPhysician.TabIndex = 0; // // txtPhysicianID // - this.txtPhysicianID.Location = new System.Drawing.Point(132, 137); - this.txtPhysicianID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPhysicianID.Location = new System.Drawing.Point(99, 111); this.txtPhysicianID.Name = "txtPhysicianID"; - this.txtPhysicianID.Size = new System.Drawing.Size(132, 22); + this.txtPhysicianID.Size = new System.Drawing.Size(100, 20); this.txtPhysicianID.TabIndex = 3; // // lblPhysicianID // this.lblPhysicianID.AutoSize = true; - this.lblPhysicianID.Location = new System.Drawing.Point(32, 137); - this.lblPhysicianID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPhysicianID.Location = new System.Drawing.Point(24, 111); this.lblPhysicianID.Name = "lblPhysicianID"; - this.lblPhysicianID.Size = new System.Drawing.Size(89, 17); + 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(132, 82); - this.txtPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPhysicianLast.Location = new System.Drawing.Point(99, 67); this.txtPhysicianLast.Name = "txtPhysicianLast"; - this.txtPhysicianLast.Size = new System.Drawing.Size(132, 22); + this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20); this.txtPhysicianLast.TabIndex = 2; // // txtPhysicianFirst // - this.txtPhysicianFirst.Location = new System.Drawing.Point(132, 28); - this.txtPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPhysicianFirst.Location = new System.Drawing.Point(99, 23); this.txtPhysicianFirst.Name = "txtPhysicianFirst"; - this.txtPhysicianFirst.Size = new System.Drawing.Size(132, 22); + this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20); this.txtPhysicianFirst.TabIndex = 1; // // btnPhysicianSearch // - this.btnPhysicianSearch.Location = new System.Drawing.Point(60, 180); - this.btnPhysicianSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnPhysicianSearch.Location = new System.Drawing.Point(45, 146); this.btnPhysicianSearch.Name = "btnPhysicianSearch"; - this.btnPhysicianSearch.Size = new System.Drawing.Size(100, 28); + this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23); this.btnPhysicianSearch.TabIndex = 4; this.btnPhysicianSearch.Text = "Search"; this.btnPhysicianSearch.UseVisualStyleBackColor = true; @@ -797,13 +769,12 @@ namespace Louis__Pharmacy_CNSA212_FP this.gennder, this.Specialty}); this.dgvPhysician.ContextMenuStrip = this.cmuPhysician; - this.dgvPhysician.Location = new System.Drawing.Point(0, 4); - this.dgvPhysician.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.dgvPhysician.Location = new System.Drawing.Point(0, 3); this.dgvPhysician.Name = "dgvPhysician"; this.dgvPhysician.ReadOnly = true; this.dgvPhysician.RowHeadersWidth = 51; this.dgvPhysician.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvPhysician.Size = new System.Drawing.Size(969, 320); + this.dgvPhysician.Size = new System.Drawing.Size(727, 260); this.dgvPhysician.TabIndex = 0; this.dgvPhysician.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPhysician_CellContentClick_1); // @@ -917,26 +888,26 @@ namespace Louis__Pharmacy_CNSA212_FP this.cmuPhysicianEdit, this.cmuPhysicianDelete}); this.cmuPhysician.Name = "cmuPhysician"; - this.cmuPhysician.Size = new System.Drawing.Size(123, 76); + this.cmuPhysician.Size = new System.Drawing.Size(108, 70); // // cmuPhysicianNew // this.cmuPhysicianNew.Name = "cmuPhysicianNew"; - this.cmuPhysicianNew.Size = new System.Drawing.Size(122, 24); + this.cmuPhysicianNew.Size = new System.Drawing.Size(107, 22); this.cmuPhysicianNew.Text = "New"; this.cmuPhysicianNew.Click += new System.EventHandler(this.cmuPhysicianNew_Click); // // cmuPhysicianEdit // this.cmuPhysicianEdit.Name = "cmuPhysicianEdit"; - this.cmuPhysicianEdit.Size = new System.Drawing.Size(122, 24); + this.cmuPhysicianEdit.Size = new System.Drawing.Size(107, 22); this.cmuPhysicianEdit.Text = "Edit"; this.cmuPhysicianEdit.Click += new System.EventHandler(this.cmuPhysicianEdit_Click); // // cmuPhysicianDelete // this.cmuPhysicianDelete.Name = "cmuPhysicianDelete"; - this.cmuPhysicianDelete.Size = new System.Drawing.Size(122, 24); + this.cmuPhysicianDelete.Size = new System.Drawing.Size(107, 22); this.cmuPhysicianDelete.Text = "Delete"; this.cmuPhysicianDelete.Click += new System.EventHandler(this.cmuPhysicianDelete_Click); // @@ -952,94 +923,84 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbcInfoPrescriptions.Controls.Add(this.label1); this.tbcInfoPrescriptions.Controls.Add(this.btnRxSearch); this.tbcInfoPrescriptions.Controls.Add(this.dgvRx); - this.tbcInfoPrescriptions.Location = new System.Drawing.Point(4, 25); - this.tbcInfoPrescriptions.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbcInfoPrescriptions.Location = new System.Drawing.Point(4, 22); this.tbcInfoPrescriptions.Name = "tbcInfoPrescriptions"; - this.tbcInfoPrescriptions.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.tbcInfoPrescriptions.Size = new System.Drawing.Size(980, 599); + this.tbcInfoPrescriptions.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); + this.tbcInfoPrescriptions.Size = new System.Drawing.Size(733, 484); this.tbcInfoPrescriptions.TabIndex = 5; this.tbcInfoPrescriptions.Text = "Prescriptions"; this.tbcInfoPrescriptions.UseVisualStyleBackColor = true; // // txtRxPatientID // - this.txtRxPatientID.Location = new System.Drawing.Point(184, 149); - this.txtRxPatientID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtRxPatientID.Location = new System.Drawing.Point(138, 121); this.txtRxPatientID.Name = "txtRxPatientID"; - this.txtRxPatientID.Size = new System.Drawing.Size(164, 22); + this.txtRxPatientID.Size = new System.Drawing.Size(124, 20); this.txtRxPatientID.TabIndex = 9; this.txtRxPatientID.TextChanged += new System.EventHandler(this.txtRxPatientID_TextChanged); // // txtRxMedicationID // - this.txtRxMedicationID.Location = new System.Drawing.Point(184, 121); - this.txtRxMedicationID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtRxMedicationID.Location = new System.Drawing.Point(138, 98); this.txtRxMedicationID.Name = "txtRxMedicationID"; - this.txtRxMedicationID.Size = new System.Drawing.Size(164, 22); + this.txtRxMedicationID.Size = new System.Drawing.Size(124, 20); this.txtRxMedicationID.TabIndex = 8; // // txtRxPhysicianID // - this.txtRxPhysicianID.Location = new System.Drawing.Point(184, 92); - this.txtRxPhysicianID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtRxPhysicianID.Location = new System.Drawing.Point(138, 75); this.txtRxPhysicianID.Name = "txtRxPhysicianID"; - this.txtRxPhysicianID.Size = new System.Drawing.Size(164, 22); + this.txtRxPhysicianID.Size = new System.Drawing.Size(124, 20); this.txtRxPhysicianID.TabIndex = 7; // // txtRxPrescriptionID // - this.txtRxPrescriptionID.Location = new System.Drawing.Point(184, 64); - this.txtRxPrescriptionID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtRxPrescriptionID.Location = new System.Drawing.Point(138, 52); this.txtRxPrescriptionID.Name = "txtRxPrescriptionID"; - this.txtRxPrescriptionID.Size = new System.Drawing.Size(164, 22); + this.txtRxPrescriptionID.Size = new System.Drawing.Size(124, 20); this.txtRxPrescriptionID.TabIndex = 6; // // label4 // - this.label4.Location = new System.Drawing.Point(43, 90); - this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label4.Location = new System.Drawing.Point(32, 73); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(133, 28); + this.label4.Size = new System.Drawing.Size(100, 23); this.label4.TabIndex = 5; this.label4.Text = "Physician ID:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // - this.label3.Location = new System.Drawing.Point(43, 118); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Location = new System.Drawing.Point(32, 96); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(133, 28); + this.label3.Size = new System.Drawing.Size(100, 23); this.label3.TabIndex = 4; this.label3.Text = "Medication ID:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // - this.label2.Location = new System.Drawing.Point(43, 146); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Location = new System.Drawing.Point(32, 119); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(133, 28); + this.label2.Size = new System.Drawing.Size(100, 23); this.label2.TabIndex = 3; this.label2.Text = "Patient ID:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // - this.label1.Location = new System.Drawing.Point(43, 62); - this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Location = new System.Drawing.Point(32, 50); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(133, 28); + this.label1.Size = new System.Drawing.Size(100, 23); this.label1.TabIndex = 2; this.label1.Text = "Prescription ID:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnRxSearch // - this.btnRxSearch.Location = new System.Drawing.Point(43, 229); - this.btnRxSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnRxSearch.Location = new System.Drawing.Point(32, 186); this.btnRxSearch.Name = "btnRxSearch"; - this.btnRxSearch.Size = new System.Drawing.Size(100, 28); + this.btnRxSearch.Size = new System.Drawing.Size(75, 23); this.btnRxSearch.TabIndex = 1; this.btnRxSearch.Text = "Search"; this.btnRxSearch.UseVisualStyleBackColor = true; @@ -1048,12 +1009,11 @@ namespace Louis__Pharmacy_CNSA212_FP // dgvRx // this.dgvRx.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvRx.Location = new System.Drawing.Point(0, 290); - this.dgvRx.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.dgvRx.Location = new System.Drawing.Point(0, 236); this.dgvRx.Name = "dgvRx"; this.dgvRx.RowHeadersWidth = 51; this.dgvRx.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvRx.Size = new System.Drawing.Size(973, 305); + this.dgvRx.Size = new System.Drawing.Size(730, 248); this.dgvRx.TabIndex = 0; // // cmuPrescription @@ -1062,38 +1022,45 @@ namespace Louis__Pharmacy_CNSA212_FP this.cmuPrescription.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPrescriptionNew, this.cmuPrescriptionEdit, - this.cmuPrescriptionDelete}); + this.cmuPrescriptionDelete, + this.cmuAddRefill}); this.cmuPrescription.Name = "cmuPrescription"; - this.cmuPrescription.Size = new System.Drawing.Size(123, 76); + this.cmuPrescription.Size = new System.Drawing.Size(181, 114); // // cmuPrescriptionNew // this.cmuPrescriptionNew.Name = "cmuPrescriptionNew"; - this.cmuPrescriptionNew.Size = new System.Drawing.Size(122, 24); + this.cmuPrescriptionNew.Size = new System.Drawing.Size(180, 22); this.cmuPrescriptionNew.Text = "New"; // // cmuPrescriptionEdit // this.cmuPrescriptionEdit.Name = "cmuPrescriptionEdit"; - this.cmuPrescriptionEdit.Size = new System.Drawing.Size(122, 24); + this.cmuPrescriptionEdit.Size = new System.Drawing.Size(180, 22); this.cmuPrescriptionEdit.Text = "Edit"; this.cmuPrescriptionEdit.Click += new System.EventHandler(this.cmuPrescriptionEdit_Click); // // cmuPrescriptionDelete // this.cmuPrescriptionDelete.Name = "cmuPrescriptionDelete"; - this.cmuPrescriptionDelete.Size = new System.Drawing.Size(122, 24); + this.cmuPrescriptionDelete.Size = new System.Drawing.Size(180, 22); this.cmuPrescriptionDelete.Text = "Delete"; this.cmuPrescriptionDelete.Click += new System.EventHandler(this.cmuPrescriptionDelete_Click); // + // cmuAddRefill + // + this.cmuAddRefill.Name = "cmuAddRefill"; + this.cmuAddRefill.Size = new System.Drawing.Size(180, 22); + this.cmuAddRefill.Text = "Add Refill"; + // // frmInfo // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1036, 708); + this.ClientSize = new System.Drawing.Size(777, 575); this.Controls.Add(this.tbcInfo); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Name = "frmInfo"; this.Text = "Louis\' Pharmacy - View Patient / Prescription Info"; this.Load += new System.EventHandler(this.frmInfo_Load); @@ -1223,5 +1190,6 @@ namespace Louis__Pharmacy_CNSA212_FP System.Windows.Forms.Label label3 = new System.Windows.Forms.Label(); System.Windows.Forms.Label label4 = new System.Windows.Forms.Label(); System.Windows.Forms.TextBox txtRxPrescriptionID = new System.Windows.Forms.TextBox(); + private System.Windows.Forms.ToolStripMenuItem cmuAddRefill; } } \ No newline at end of file