Added columns to add refill dgv in the refill form.

This commit is contained in:
Adam McCane 2024-02-13 23:04:42 -05:00
parent 72bfcec0f3
commit 79f42ca41f
2 changed files with 140 additions and 260 deletions

View File

@ -29,32 +29,14 @@ namespace Louis__Pharmacy_CNSA212_FP
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill));
this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabControl1 = new System.Windows.Forms.TabControl();
this.tbAddRefill = new System.Windows.Forms.TabPage(); this.tbAddRefill = new System.Windows.Forms.TabPage();
this.rEFILLSDataGridView = new System.Windows.Forms.DataGridView(); this.dgvAddRefill = 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.tbUpdateRefill = new System.Windows.Forms.TabPage(); this.tbUpdateRefill = new System.Windows.Forms.TabPage();
this.rEFILLSDataGridView1 = new System.Windows.Forms.DataGridView(); this.dgvUpdateRefill = 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.tbDeleteRefill = new System.Windows.Forms.TabPage(); this.tbDeleteRefill = new System.Windows.Forms.TabPage();
this.rEFILLSDataGridView2 = new System.Windows.Forms.DataGridView(); this.dgvDeleteRefill = 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.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
@ -67,16 +49,18 @@ namespace Louis__Pharmacy_CNSA212_FP
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.rEFILLSBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); 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.tabControl1.SuspendLayout();
this.tbAddRefill.SuspendLayout(); this.tbAddRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvAddRefill)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).BeginInit();
this.tbUpdateRefill.SuspendLayout(); this.tbUpdateRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvUpdateRefill)).BeginInit();
this.tbDeleteRefill.SuspendLayout(); this.tbDeleteRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDeleteRefill)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingNavigator)).BeginInit();
this.rEFILLSBindingNavigator.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// tabControl1 // tabControl1
@ -93,7 +77,7 @@ namespace Louis__Pharmacy_CNSA212_FP
// tbAddRefill // tbAddRefill
// //
this.tbAddRefill.AutoScroll = true; 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.Location = new System.Drawing.Point(4, 22);
this.tbAddRefill.Name = "tbAddRefill"; this.tbAddRefill.Name = "tbAddRefill";
this.tbAddRefill.Padding = new System.Windows.Forms.Padding(3); 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.Text = "Add Refill";
this.tbAddRefill.UseVisualStyleBackColor = true; this.tbAddRefill.UseVisualStyleBackColor = true;
// //
// rEFILLSDataGridView // dgvAddRefill
// //
this.rEFILLSDataGridView.AllowUserToDeleteRows = false; this.dgvAddRefill.AllowUserToDeleteRows = false;
this.rEFILLSDataGridView.AutoGenerateColumns = false; this.dgvAddRefill.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.rEFILLSDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvAddRefill.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.rEFILLSDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.refill_id,
this.dataGridViewTextBoxColumn1, this.refilldate,
this.dataGridViewTextBoxColumn2, this.patient_id,
this.dataGridViewTextBoxColumn3, this.medication_id,
this.dataGridViewTextBoxColumn4, this.rxnum});
this.dataGridViewTextBoxColumn5}); this.dgvAddRefill.Location = new System.Drawing.Point(6, 6);
this.rEFILLSDataGridView.DataSource = this.rEFILLSBindingSource; this.dgvAddRefill.Name = "dgvAddRefill";
this.rEFILLSDataGridView.Location = new System.Drawing.Point(6, 6); this.dgvAddRefill.Size = new System.Drawing.Size(556, 304);
this.rEFILLSDataGridView.Name = "rEFILLSDataGridView"; this.dgvAddRefill.TabIndex = 0;
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";
// //
// tbUpdateRefill // tbUpdateRefill
// //
this.tbUpdateRefill.AutoScroll = true; 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.Location = new System.Drawing.Point(4, 22);
this.tbUpdateRefill.Name = "tbUpdateRefill"; this.tbUpdateRefill.Name = "tbUpdateRefill";
this.tbUpdateRefill.Padding = new System.Windows.Forms.Padding(3); 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.Text = "Update Refill";
this.tbUpdateRefill.UseVisualStyleBackColor = true; this.tbUpdateRefill.UseVisualStyleBackColor = true;
// //
// rEFILLSDataGridView1 // dgvUpdateRefill
// //
this.rEFILLSDataGridView1.AllowUserToAddRows = false; this.dgvUpdateRefill.AllowUserToAddRows = false;
this.rEFILLSDataGridView1.AllowUserToDeleteRows = false; this.dgvUpdateRefill.AllowUserToDeleteRows = false;
this.rEFILLSDataGridView1.AutoGenerateColumns = false; this.dgvUpdateRefill.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.rEFILLSDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvUpdateRefill.Location = new System.Drawing.Point(6, 6);
this.rEFILLSDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgvUpdateRefill.Name = "dgvUpdateRefill";
this.dataGridViewTextBoxColumn6, this.dgvUpdateRefill.Size = new System.Drawing.Size(560, 282);
this.dataGridViewTextBoxColumn7, this.dgvUpdateRefill.TabIndex = 0;
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";
// //
// tbDeleteRefill // tbDeleteRefill
// //
this.tbDeleteRefill.AutoScroll = true; 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.Location = new System.Drawing.Point(4, 22);
this.tbDeleteRefill.Name = "tbDeleteRefill"; this.tbDeleteRefill.Name = "tbDeleteRefill";
this.tbDeleteRefill.Size = new System.Drawing.Size(572, 296); 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.Text = "Delete Refill";
this.tbDeleteRefill.UseVisualStyleBackColor = true; this.tbDeleteRefill.UseVisualStyleBackColor = true;
// //
// rEFILLSDataGridView2 // dgvDeleteRefill
// //
this.rEFILLSDataGridView2.AllowUserToAddRows = false; this.dgvDeleteRefill.AllowUserToAddRows = false;
this.rEFILLSDataGridView2.AutoGenerateColumns = false; this.dgvDeleteRefill.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.rEFILLSDataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvDeleteRefill.Location = new System.Drawing.Point(3, 3);
this.rEFILLSDataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgvDeleteRefill.Name = "dgvDeleteRefill";
this.dataGridViewTextBoxColumn11, this.dgvDeleteRefill.ReadOnly = true;
this.dataGridViewTextBoxColumn12, this.dgvDeleteRefill.Size = new System.Drawing.Size(566, 285);
this.dataGridViewTextBoxColumn13, this.dgvDeleteRefill.TabIndex = 0;
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;
// //
// dataGridViewTextBoxColumn11 // bindingNavigatorAddNewItem
// //
this.dataGridViewTextBoxColumn11.DataPropertyName = "Refill_id"; this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.dataGridViewTextBoxColumn11.HeaderText = "Refill_id"; this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 23);
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
this.dataGridViewTextBoxColumn11.ReadOnly = true;
// //
// dataGridViewTextBoxColumn12 // bindingNavigatorCountItem
// //
this.dataGridViewTextBoxColumn12.DataPropertyName = "Numrefill"; this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.dataGridViewTextBoxColumn12.HeaderText = "Numrefill"; this.bindingNavigatorCountItem.Size = new System.Drawing.Size(23, 23);
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
this.dataGridViewTextBoxColumn12.ReadOnly = true;
// //
// dataGridViewTextBoxColumn13 // bindingNavigatorDeleteItem
// //
this.dataGridViewTextBoxColumn13.DataPropertyName = "StartDate"; this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.dataGridViewTextBoxColumn13.HeaderText = "StartDate"; this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 23);
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
this.dataGridViewTextBoxColumn13.ReadOnly = true;
// //
// dataGridViewTextBoxColumn14 // bindingNavigatorMoveFirstItem
// //
this.dataGridViewTextBoxColumn14.DataPropertyName = "EndDate"; this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.dataGridViewTextBoxColumn14.HeaderText = "EndDate"; this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 23);
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
this.dataGridViewTextBoxColumn14.ReadOnly = true;
// //
// dataGridViewTextBoxColumn15 // bindingNavigatorMovePreviousItem
// //
this.dataGridViewTextBoxColumn15.DataPropertyName = "NotesAndComments"; this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.dataGridViewTextBoxColumn15.HeaderText = "NotesAndComments"; this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 23);
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; //
this.dataGridViewTextBoxColumn15.ReadOnly = true; // 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 // frmRefill
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(631, 350); this.ClientSize = new System.Drawing.Size(631, 350);
this.Controls.Add(this.rEFILLSBindingNavigator);
this.Controls.Add(this.tabControl1); this.Controls.Add(this.tabControl1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2); 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.Load += new System.EventHandler(this.frmRefill_Load);
this.tabControl1.ResumeLayout(false); this.tabControl1.ResumeLayout(false);
this.tbAddRefill.ResumeLayout(false); this.tbAddRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvAddRefill)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).EndInit();
this.tbUpdateRefill.ResumeLayout(false); this.tbUpdateRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvUpdateRefill)).EndInit();
this.tbDeleteRefill.ResumeLayout(false); this.tbDeleteRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvDeleteRefill)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingNavigator)).EndInit();
this.rEFILLSBindingNavigator.ResumeLayout(false);
this.rEFILLSBindingNavigator.PerformLayout();
this.ResumeLayout(false); 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 tbAddRefill;
private System.Windows.Forms.TabPage tbUpdateRefill; private System.Windows.Forms.TabPage tbUpdateRefill;
private System.Windows.Forms.TabPage tbDeleteRefill; 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.ToolStripButton bindingNavigatorAddNewItem;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; 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.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.ToolStripButton rEFILLSBindingNavigatorSaveItem; 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 dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; 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 dataGridViewTextBoxColumn6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; 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 dataGridViewTextBoxColumn11;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; 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;
} }
} }

View File

@ -117,96 +117,22 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="rEFILLSBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="refill_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>262, 17</value> <value>True</value>
</metadata> </metadata>
<metadata name="finalProjectOfficialPharmacyDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="refilldate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>17, 17</value> <value>True</value>
</metadata> </metadata>
<metadata name="finalProjectOfficialPharmacyDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="patient_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>17, 17</value> <value>True</value>
</metadata> </metadata>
<metadata name="rEFILLSTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="medication_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>430, 17</value> <value>True</value>
</metadata> </metadata>
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="rxnum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>590, 17</value> <value>True</value>
</metadata>
<metadata name="rEFILLSBindingNavigator.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>759, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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==
</value>
</data>
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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=
</value>
</data>
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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=
</value>
</data>
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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
</value>
</data>
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
</value>
</data>
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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==
</value>
</data>
<data name="rEFILLSBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAAEAgIAAAAEAIAAoCAEAFgAAACgAAACAAAAAAAEAAAEAIAAAAAAAAAgBAAAAAAAAAAAAAAAAAAAA AAABAAEAgIAAAAEAIAAoCAEAFgAAACgAAACAAAAAAAEAAAEAIAAAAAAAAAgBAAAAAAAAAAAAAAAAAAAA