From 8771f393ce6e2c0fde90e7bd1f54660af574ef55 Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Wed, 21 Feb 2024 08:17:04 -0500 Subject: [PATCH] Deleted the cmu on the view refill form. --- .../frmRefill.Designer.cs | 43 ------------------- Louis'-Pharmacy_CNSA212-FP/frmRefill.resx | 3 -- 2 files changed, 46 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs index d410888..b2539b7 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs @@ -29,7 +29,6 @@ namespace Louis__Pharmacy_CNSA212_FP /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill)); this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); @@ -44,17 +43,12 @@ 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.cmuRefill = new System.Windows.Forms.ContextMenuStrip(this.components); - this.cmuAdd = new System.Windows.Forms.ToolStripMenuItem(); - this.cmuUpdate = new System.Windows.Forms.ToolStripMenuItem(); - this.cmuDelete = new System.Windows.Forms.ToolStripMenuItem(); this.dgvRefills = new System.Windows.Forms.DataGridView(); this.refillid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.refilldate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.patientid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.medicationid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.rxnumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.cmuRefill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvRefills)).BeginInit(); this.SuspendLayout(); // @@ -119,36 +113,6 @@ namespace Louis__Pharmacy_CNSA212_FP this.rEFILLSBindingNavigatorSaveItem.Name = "rEFILLSBindingNavigatorSaveItem"; this.rEFILLSBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 23); // - // cmuRefill - // - this.cmuRefill.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.cmuAdd, - this.cmuUpdate, - this.cmuDelete}); - this.cmuRefill.Name = "contextMenuStrip1"; - this.cmuRefill.Size = new System.Drawing.Size(113, 70); - // - // cmuAdd - // - this.cmuAdd.Name = "cmuAdd"; - this.cmuAdd.Size = new System.Drawing.Size(112, 22); - this.cmuAdd.Text = "Add"; - //this.cmuAdd.Click += new System.EventHandler(this.cmuAdd_Click); - // - // cmuUpdate - // - this.cmuUpdate.Name = "cmuUpdate"; - this.cmuUpdate.Size = new System.Drawing.Size(112, 22); - this.cmuUpdate.Text = "Update"; - //this.cmuUpdate.Click += new System.EventHandler(this.cmuUpdate_Click); - // - // cmuDelete - // - this.cmuDelete.Name = "cmuDelete"; - this.cmuDelete.Size = new System.Drawing.Size(112, 22); - this.cmuDelete.Text = "Delete"; - //this.cmuDelete.Click += new System.EventHandler(this.cmuDelete_Click); - // // dgvRefills // this.dgvRefills.AllowUserToAddRows = false; @@ -160,7 +124,6 @@ namespace Louis__Pharmacy_CNSA212_FP this.patientid, this.medicationid, this.rxnumber}); - this.dgvRefills.ContextMenuStrip = this.cmuRefill; this.dgvRefills.Location = new System.Drawing.Point(12, 12); this.dgvRefills.Name = "dgvRefills"; this.dgvRefills.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -210,8 +173,6 @@ namespace Louis__Pharmacy_CNSA212_FP 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.cmuRefill.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvRefills)).EndInit(); this.ResumeLayout(false); @@ -245,10 +206,6 @@ namespace Louis__Pharmacy_CNSA212_FP private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; - private System.Windows.Forms.ContextMenuStrip cmuRefill; - private System.Windows.Forms.ToolStripMenuItem cmuAdd; - private System.Windows.Forms.ToolStripMenuItem cmuUpdate; - private System.Windows.Forms.ToolStripMenuItem cmuDelete; private System.Windows.Forms.DataGridView dgvRefills; private System.Windows.Forms.DataGridViewTextBoxColumn refillid; private System.Windows.Forms.DataGridViewTextBoxColumn refilldate; diff --git a/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx b/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx index 697fe02..a0d70f5 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmRefill.resx @@ -117,9 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 - True