From 79f42ca41f7b1e0b3d2fe7825de8433024ce82c2 Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Tue, 13 Feb 2024 23:04:42 -0500 Subject: [PATCH] Added columns to add refill dgv in the refill form. --- .../frmRefill.Designer.cs | 306 ++++++++---------- Louis'-Pharmacy_CNSA212-FP/frmRefill.resx | 94 +----- 2 files changed, 140 insertions(+), 260 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs index c3ed96d..6466534 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs @@ -29,32 +29,14 @@ namespace Louis__Pharmacy_CNSA212_FP /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); 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.rEFILLSDataGridView = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.rEFILLSBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.dgvAddRefill = new System.Windows.Forms.DataGridView(); this.tbUpdateRefill = new System.Windows.Forms.TabPage(); - this.rEFILLSDataGridView1 = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dgvUpdateRefill = new System.Windows.Forms.DataGridView(); this.tbDeleteRefill = new System.Windows.Forms.TabPage(); - this.rEFILLSDataGridView2 = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.rEFILLSBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components); + 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(); @@ -67,16 +49,18 @@ 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.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.rEFILLSDataGridView)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvAddRefill)).BeginInit(); this.tbUpdateRefill.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvUpdateRefill)).BeginInit(); this.tbDeleteRefill.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingNavigator)).BeginInit(); - this.rEFILLSBindingNavigator.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvDeleteRefill)).BeginInit(); this.SuspendLayout(); // // tabControl1 @@ -93,7 +77,7 @@ namespace Louis__Pharmacy_CNSA212_FP // tbAddRefill // this.tbAddRefill.AutoScroll = true; - this.tbAddRefill.Controls.Add(this.rEFILLSDataGridView); + 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); @@ -102,57 +86,25 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbAddRefill.Text = "Add Refill"; this.tbAddRefill.UseVisualStyleBackColor = true; // - // rEFILLSDataGridView + // dgvAddRefill // - this.rEFILLSDataGridView.AllowUserToDeleteRows = false; - this.rEFILLSDataGridView.AutoGenerateColumns = false; - this.rEFILLSDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.rEFILLSDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn1, - this.dataGridViewTextBoxColumn2, - this.dataGridViewTextBoxColumn3, - this.dataGridViewTextBoxColumn4, - this.dataGridViewTextBoxColumn5}); - this.rEFILLSDataGridView.DataSource = this.rEFILLSBindingSource; - this.rEFILLSDataGridView.Location = new System.Drawing.Point(6, 6); - this.rEFILLSDataGridView.Name = "rEFILLSDataGridView"; - this.rEFILLSDataGridView.Size = new System.Drawing.Size(556, 304); - this.rEFILLSDataGridView.TabIndex = 0; - // - // dataGridViewTextBoxColumn1 - // - this.dataGridViewTextBoxColumn1.DataPropertyName = "Refill_id"; - this.dataGridViewTextBoxColumn1.HeaderText = "Refill_id"; - this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; - // - // dataGridViewTextBoxColumn2 - // - this.dataGridViewTextBoxColumn2.DataPropertyName = "Numrefill"; - this.dataGridViewTextBoxColumn2.HeaderText = "Numrefill"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - // - // dataGridViewTextBoxColumn3 - // - this.dataGridViewTextBoxColumn3.DataPropertyName = "StartDate"; - this.dataGridViewTextBoxColumn3.HeaderText = "StartDate"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; - // - // dataGridViewTextBoxColumn4 - // - this.dataGridViewTextBoxColumn4.DataPropertyName = "EndDate"; - this.dataGridViewTextBoxColumn4.HeaderText = "EndDate"; - this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; - // - // dataGridViewTextBoxColumn5 - // - this.dataGridViewTextBoxColumn5.DataPropertyName = "NotesAndComments"; - this.dataGridViewTextBoxColumn5.HeaderText = "NotesAndComments"; - this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; + 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.rEFILLSDataGridView1); + 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); @@ -161,58 +113,20 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbUpdateRefill.Text = "Update Refill"; this.tbUpdateRefill.UseVisualStyleBackColor = true; // - // rEFILLSDataGridView1 + // dgvUpdateRefill // - this.rEFILLSDataGridView1.AllowUserToAddRows = false; - this.rEFILLSDataGridView1.AllowUserToDeleteRows = false; - this.rEFILLSDataGridView1.AutoGenerateColumns = false; - this.rEFILLSDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.rEFILLSDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn6, - this.dataGridViewTextBoxColumn7, - this.dataGridViewTextBoxColumn8, - this.dataGridViewTextBoxColumn9, - this.dataGridViewTextBoxColumn10}); - this.rEFILLSDataGridView1.DataSource = this.rEFILLSBindingSource; - this.rEFILLSDataGridView1.Location = new System.Drawing.Point(6, 6); - this.rEFILLSDataGridView1.Name = "rEFILLSDataGridView1"; - this.rEFILLSDataGridView1.Size = new System.Drawing.Size(560, 282); - this.rEFILLSDataGridView1.TabIndex = 0; - // - // dataGridViewTextBoxColumn6 - // - this.dataGridViewTextBoxColumn6.DataPropertyName = "Refill_id"; - this.dataGridViewTextBoxColumn6.HeaderText = "Refill_id"; - this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; - // - // dataGridViewTextBoxColumn7 - // - this.dataGridViewTextBoxColumn7.DataPropertyName = "Numrefill"; - this.dataGridViewTextBoxColumn7.HeaderText = "Numrefill"; - this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; - // - // dataGridViewTextBoxColumn8 - // - this.dataGridViewTextBoxColumn8.DataPropertyName = "StartDate"; - this.dataGridViewTextBoxColumn8.HeaderText = "StartDate"; - this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; - // - // dataGridViewTextBoxColumn9 - // - this.dataGridViewTextBoxColumn9.DataPropertyName = "EndDate"; - this.dataGridViewTextBoxColumn9.HeaderText = "EndDate"; - this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; - // - // dataGridViewTextBoxColumn10 - // - this.dataGridViewTextBoxColumn10.DataPropertyName = "NotesAndComments"; - this.dataGridViewTextBoxColumn10.HeaderText = "NotesAndComments"; - this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; + 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.rEFILLSDataGridView2); + 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); @@ -220,65 +134,107 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbDeleteRefill.Text = "Delete Refill"; this.tbDeleteRefill.UseVisualStyleBackColor = true; // - // rEFILLSDataGridView2 + // dgvDeleteRefill // - this.rEFILLSDataGridView2.AllowUserToAddRows = false; - this.rEFILLSDataGridView2.AutoGenerateColumns = false; - this.rEFILLSDataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.rEFILLSDataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn11, - this.dataGridViewTextBoxColumn12, - this.dataGridViewTextBoxColumn13, - this.dataGridViewTextBoxColumn14, - this.dataGridViewTextBoxColumn15}); - this.rEFILLSDataGridView2.DataSource = this.rEFILLSBindingSource; - this.rEFILLSDataGridView2.Location = new System.Drawing.Point(3, 3); - this.rEFILLSDataGridView2.Name = "rEFILLSDataGridView2"; - this.rEFILLSDataGridView2.ReadOnly = true; - this.rEFILLSDataGridView2.Size = new System.Drawing.Size(566, 285); - this.rEFILLSDataGridView2.TabIndex = 0; + 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; // - // dataGridViewTextBoxColumn11 + // bindingNavigatorAddNewItem // - this.dataGridViewTextBoxColumn11.DataPropertyName = "Refill_id"; - this.dataGridViewTextBoxColumn11.HeaderText = "Refill_id"; - this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; - this.dataGridViewTextBoxColumn11.ReadOnly = true; + this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; + this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 23); // - // dataGridViewTextBoxColumn12 + // bindingNavigatorCountItem // - this.dataGridViewTextBoxColumn12.DataPropertyName = "Numrefill"; - this.dataGridViewTextBoxColumn12.HeaderText = "Numrefill"; - this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; - this.dataGridViewTextBoxColumn12.ReadOnly = true; + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(23, 23); // - // dataGridViewTextBoxColumn13 + // bindingNavigatorDeleteItem // - this.dataGridViewTextBoxColumn13.DataPropertyName = "StartDate"; - this.dataGridViewTextBoxColumn13.HeaderText = "StartDate"; - this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; - this.dataGridViewTextBoxColumn13.ReadOnly = true; + this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; + this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 23); // - // dataGridViewTextBoxColumn14 + // bindingNavigatorMoveFirstItem // - this.dataGridViewTextBoxColumn14.DataPropertyName = "EndDate"; - this.dataGridViewTextBoxColumn14.HeaderText = "EndDate"; - this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; - this.dataGridViewTextBoxColumn14.ReadOnly = true; + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 23); // - // dataGridViewTextBoxColumn15 + // bindingNavigatorMovePreviousItem // - this.dataGridViewTextBoxColumn15.DataPropertyName = "NotesAndComments"; - this.dataGridViewTextBoxColumn15.HeaderText = "NotesAndComments"; - this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; - this.dataGridViewTextBoxColumn15.ReadOnly = true; + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 23); + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 6); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("Segoe UI", 9F); + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(100, 23); + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 6); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 23); + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 23); + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 6); + // + // rEFILLSBindingNavigatorSaveItem + // + this.rEFILLSBindingNavigatorSaveItem.Name = "rEFILLSBindingNavigatorSaveItem"; + this.rEFILLSBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 23); + // + // refill_id + // + this.refill_id.HeaderText = "Refill ID"; + this.refill_id.Name = "refill_id"; + // + // refilldate + // + this.refilldate.HeaderText = "Date of Refill"; + this.refilldate.Name = "refilldate"; + // + // patient_id + // + this.patient_id.HeaderText = "Patient ID"; + this.patient_id.Name = "patient_id"; + // + // medication_id + // + this.medication_id.HeaderText = "Medication ID"; + this.medication_id.Name = "medication_id"; + // + // rxnum + // + this.rxnum.HeaderText = "Rx Number"; + this.rxnum.Name = "rxnum"; // // 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.rEFILLSBindingNavigator); this.Controls.Add(this.tabControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(2); @@ -287,17 +243,12 @@ namespace Louis__Pharmacy_CNSA212_FP this.Load += new System.EventHandler(this.frmRefill_Load); this.tabControl1.ResumeLayout(false); this.tbAddRefill.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvAddRefill)).EndInit(); this.tbUpdateRefill.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvUpdateRefill)).EndInit(); this.tbDeleteRefill.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingNavigator)).EndInit(); - this.rEFILLSBindingNavigator.ResumeLayout(false); - this.rEFILLSBindingNavigator.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvDeleteRefill)).EndInit(); this.ResumeLayout(false); - this.PerformLayout(); } @@ -307,8 +258,6 @@ namespace Louis__Pharmacy_CNSA212_FP private System.Windows.Forms.TabPage tbAddRefill; private System.Windows.Forms.TabPage tbUpdateRefill; private System.Windows.Forms.TabPage tbDeleteRefill; - private System.Windows.Forms.BindingSource rEFILLSBindingSource; - private System.Windows.Forms.BindingNavigator rEFILLSBindingNavigator; private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; @@ -321,23 +270,28 @@ 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 rEFILLSDataGridView; + 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 rEFILLSDataGridView1; + 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 rEFILLSDataGridView2; + 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.DataGridViewTextBoxColumn refilldate; + private System.Windows.Forms.DataGridViewTextBoxColumn patient_id; + private System.Windows.Forms.DataGridViewTextBoxColumn medication_id; + private System.Windows.Forms.DataGridViewTextBoxColumn rxnum; } } \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx b/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx index e092b46..a8a3b4d 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx @@ -117,96 +117,22 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 262, 17 + + True - - 17, 17 + + True - - 17, 17 + + True - - 430, 17 + + True - - 590, 17 - - - 759, 17 + + True - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC - pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ - Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ - /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA - zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ - IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E - rkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC - DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC - rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV - i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG - 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG - QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX - bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 - wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 - v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg - UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA - Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu - lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w - 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f - Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ - 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// - h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B - twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA - kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG - WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 - 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo - dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= - - AAABAAEAgIAAAAEAIAAoCAEAFgAAACgAAACAAAAAAAEAAAEAIAAAAAAAAAgBAAAAAAAAAAAAAAAAAAAA