From d63271db23d87cfa99476b5717674db8a7c302cd Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Wed, 7 Feb 2024 10:53:01 -0500 Subject: [PATCH] Removed menu strip from info form. --- .../frmInfo.Designer.cs | 180 +++++------------- Louis'-Pharmacy_CNSA212-FP/frmInfo.resx | 3 - 2 files changed, 49 insertions(+), 134 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index 4cd5502..6ebb0f4 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -30,11 +30,6 @@ namespace Louis__Pharmacy_CNSA212_FP private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInfo)); - this.mnusNavigation = new System.Windows.Forms.MenuStrip(); - this.navigationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.addUpdatePatientAndPhysicianToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.refillInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.prescriptionInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tbcInfo = new System.Windows.Forms.TabControl(); this.tbpPatient = new System.Windows.Forms.TabPage(); this.splcPatient = new System.Windows.Forms.SplitContainer(); @@ -57,7 +52,6 @@ namespace Louis__Pharmacy_CNSA212_FP this.txtPhysicianFirst = new System.Windows.Forms.TextBox(); this.lblPhysicianLast = new System.Windows.Forms.Label(); this.lblPhysicianFirst = new System.Windows.Forms.Label(); - this.mnusNavigation.SuspendLayout(); this.tbcInfo.SuspendLayout(); this.tbpPatient.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit(); @@ -73,65 +67,23 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPhysician.SuspendLayout(); this.SuspendLayout(); // - // mnusNavigation - // - this.mnusNavigation.ImageScalingSize = new System.Drawing.Size(20, 20); - this.mnusNavigation.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.navigationToolStripMenuItem}); - this.mnusNavigation.Location = new System.Drawing.Point(0, 0); - this.mnusNavigation.Name = "mnusNavigation"; - this.mnusNavigation.Size = new System.Drawing.Size(920, 28); - this.mnusNavigation.TabIndex = 0; - this.mnusNavigation.Text = "Navigation"; - // - // navigationToolStripMenuItem - // - this.navigationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.addUpdatePatientAndPhysicianToolStripMenuItem, - this.refillInfoToolStripMenuItem, - this.prescriptionInfoToolStripMenuItem}); - this.navigationToolStripMenuItem.Name = "navigationToolStripMenuItem"; - this.navigationToolStripMenuItem.Size = new System.Drawing.Size(96, 24); - this.navigationToolStripMenuItem.Text = "Navigation"; - // - // addUpdatePatientAndPhysicianToolStripMenuItem - // - this.addUpdatePatientAndPhysicianToolStripMenuItem.Name = "addUpdatePatientAndPhysicianToolStripMenuItem"; - this.addUpdatePatientAndPhysicianToolStripMenuItem.Size = new System.Drawing.Size(317, 26); - this.addUpdatePatientAndPhysicianToolStripMenuItem.Text = "Add/Update Patient and Physician"; - this.addUpdatePatientAndPhysicianToolStripMenuItem.Click += new System.EventHandler(this.addUpdatePatientAndPhysicianToolStripMenuItem_Click); - // - // refillInfoToolStripMenuItem - // - this.refillInfoToolStripMenuItem.Name = "refillInfoToolStripMenuItem"; - this.refillInfoToolStripMenuItem.Size = new System.Drawing.Size(317, 26); - this.refillInfoToolStripMenuItem.Text = "Refill Info"; - // - // prescriptionInfoToolStripMenuItem - // - this.prescriptionInfoToolStripMenuItem.Name = "prescriptionInfoToolStripMenuItem"; - this.prescriptionInfoToolStripMenuItem.Size = new System.Drawing.Size(317, 26); - this.prescriptionInfoToolStripMenuItem.Text = "Prescription Info"; - // // tbcInfo // this.tbcInfo.Controls.Add(this.tbpPatient); this.tbcInfo.Controls.Add(this.tbpPrescription); this.tbcInfo.Controls.Add(this.tbpPhysician); - this.tbcInfo.Location = new System.Drawing.Point(16, 33); - this.tbcInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbcInfo.Location = new System.Drawing.Point(12, 27); this.tbcInfo.Name = "tbcInfo"; this.tbcInfo.SelectedIndex = 0; - this.tbcInfo.Size = new System.Drawing.Size(888, 420); + this.tbcInfo.Size = new System.Drawing.Size(666, 341); this.tbcInfo.TabIndex = 1; // // 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(880, 391); + this.tbpPatient.Size = new System.Drawing.Size(658, 315); this.tbpPatient.TabIndex = 3; this.tbpPatient.Text = "Patient Info"; this.tbpPatient.UseVisualStyleBackColor = true; @@ -140,7 +92,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; // @@ -151,65 +102,58 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst); this.splcPatient.Panel1.Controls.Add(this.lblPatientLast); this.splcPatient.Panel1.Controls.Add(this.lblPatientFirst); - this.splcPatient.Size = new System.Drawing.Size(880, 391); - this.splcPatient.SplitterDistance = 197; - this.splcPatient.SplitterWidth = 5; + this.splcPatient.Size = new System.Drawing.Size(658, 315); + this.splcPatient.SplitterDistance = 158; this.splcPatient.TabIndex = 0; // // btnPatientSearch // this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent; - this.btnPatientSearch.Location = new System.Drawing.Point(67, 146); - this.btnPatientSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnPatientSearch.Location = new System.Drawing.Point(50, 119); 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; // // txtPatientLast // - this.txtPatientLast.Location = new System.Drawing.Point(188, 82); - this.txtPatientLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPatientLast.Location = new System.Drawing.Point(141, 67); 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 = 3; // // txtPatientFirst // - this.txtPatientFirst.Location = new System.Drawing.Point(188, 41); - this.txtPatientFirst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPatientFirst.Location = new System.Drawing.Point(141, 33); 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 = 2; // // lblPatientLast // this.lblPatientLast.AutoSize = true; - this.lblPatientLast.Location = new System.Drawing.Point(63, 82); - this.lblPatientLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPatientLast.Location = new System.Drawing.Point(47, 67); this.lblPatientLast.Name = "lblPatientLast"; - this.lblPatientLast.Size = new System.Drawing.Size(80, 17); + this.lblPatientLast.Size = new System.Drawing.Size(61, 13); this.lblPatientLast.TabIndex = 1; this.lblPatientLast.Text = "Last Name:"; // // lblPatientFirst // this.lblPatientFirst.AutoSize = true; - this.lblPatientFirst.Location = new System.Drawing.Point(59, 41); - this.lblPatientFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPatientFirst.Location = new System.Drawing.Point(44, 33); this.lblPatientFirst.Name = "lblPatientFirst"; - this.lblPatientFirst.Size = new System.Drawing.Size(80, 17); + this.lblPatientFirst.Size = new System.Drawing.Size(60, 13); this.lblPatientFirst.TabIndex = 0; this.lblPatientFirst.Text = "First Name:"; // // tbpPrescription // this.tbpPrescription.Controls.Add(this.splcPrescription); - this.tbpPrescription.Location = new System.Drawing.Point(4, 25); - this.tbpPrescription.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbpPrescription.Location = new System.Drawing.Point(4, 22); this.tbpPrescription.Name = "tbpPrescription"; - this.tbpPrescription.Size = new System.Drawing.Size(880, 391); + this.tbpPrescription.Size = new System.Drawing.Size(658, 315); this.tbpPrescription.TabIndex = 4; this.tbpPrescription.Text = "Prescription Info"; this.tbpPrescription.UseVisualStyleBackColor = true; @@ -218,7 +162,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; // @@ -229,65 +172,58 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber); this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast); this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber); - this.splcPrescription.Size = new System.Drawing.Size(880, 391); - this.splcPrescription.SplitterDistance = 198; - this.splcPrescription.SplitterWidth = 5; + this.splcPrescription.Size = new System.Drawing.Size(658, 315); + this.splcPrescription.SplitterDistance = 159; this.splcPrescription.TabIndex = 0; // // btnPrescriptionSearch // - this.btnPrescriptionSearch.Location = new System.Drawing.Point(85, 144); - this.btnPrescriptionSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117); this.btnPrescriptionSearch.Name = "btnPrescriptionSearch"; - this.btnPrescriptionSearch.Size = new System.Drawing.Size(100, 28); + this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23); this.btnPrescriptionSearch.TabIndex = 4; this.btnPrescriptionSearch.Text = "Search"; this.btnPrescriptionSearch.UseVisualStyleBackColor = true; // // txtPrescriptionLast // - this.txtPrescriptionLast.Location = new System.Drawing.Point(245, 91); - this.txtPrescriptionLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74); this.txtPrescriptionLast.Name = "txtPrescriptionLast"; - this.txtPrescriptionLast.Size = new System.Drawing.Size(132, 22); + this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20); this.txtPrescriptionLast.TabIndex = 3; // // txtRxNumber // - this.txtRxNumber.Location = new System.Drawing.Point(245, 31); - this.txtRxNumber.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtRxNumber.Location = new System.Drawing.Point(184, 25); 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; // // lblPrescriptionLast // this.lblPrescriptionLast.AutoSize = true; - this.lblPrescriptionLast.Location = new System.Drawing.Point(81, 91); - this.lblPrescriptionLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74); this.lblPrescriptionLast.Name = "lblPrescriptionLast"; - this.lblPrescriptionLast.Size = new System.Drawing.Size(80, 17); + this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13); this.lblPrescriptionLast.TabIndex = 1; this.lblPrescriptionLast.Text = "Last Name:"; // // lblRxNumber // this.lblRxNumber.AutoSize = true; - this.lblRxNumber.Location = new System.Drawing.Point(81, 31); - this.lblRxNumber.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblRxNumber.Location = new System.Drawing.Point(61, 25); this.lblRxNumber.Name = "lblRxNumber"; - this.lblRxNumber.Size = new System.Drawing.Size(82, 17); + this.lblRxNumber.Size = new System.Drawing.Size(63, 13); this.lblRxNumber.TabIndex = 0; this.lblRxNumber.Text = "Rx Number:"; // // tbpPhysician // this.tbpPhysician.Controls.Add(this.splcPhysician); - this.tbpPhysician.Location = new System.Drawing.Point(4, 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(880, 391); + this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); + this.tbpPhysician.Size = new System.Drawing.Size(658, 315); this.tbpPhysician.TabIndex = 2; this.tbpPhysician.Text = "Physician Info"; this.tbpPhysician.UseVisualStyleBackColor = true; @@ -295,8 +231,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; // @@ -308,72 +243,62 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianLast); this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianFirst); this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.splcPhysician.Size = new System.Drawing.Size(872, 383); - this.splcPhysician.SplitterDistance = 195; - this.splcPhysician.SplitterWidth = 5; + this.splcPhysician.Size = new System.Drawing.Size(652, 309); + this.splcPhysician.SplitterDistance = 157; this.splcPhysician.TabIndex = 0; // // btnPhysicianSearch // - this.btnPhysicianSearch.Location = new System.Drawing.Point(83, 143); - this.btnPhysicianSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116); 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; // // txtPhysicianLast // - this.txtPhysicianLast.Location = new System.Drawing.Point(168, 96); - this.txtPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPhysicianLast.Location = new System.Drawing.Point(126, 78); 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 = 3; // // txtPhysicianFirst // - this.txtPhysicianFirst.Location = new System.Drawing.Point(168, 42); - this.txtPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34); 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 = 2; // // lblPhysicianLast // this.lblPhysicianLast.AutoSize = true; - this.lblPhysicianLast.Location = new System.Drawing.Point(67, 96); - this.lblPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPhysicianLast.Location = new System.Drawing.Point(50, 78); this.lblPhysicianLast.Name = "lblPhysicianLast"; - this.lblPhysicianLast.Size = new System.Drawing.Size(80, 17); + this.lblPhysicianLast.Size = new System.Drawing.Size(61, 13); this.lblPhysicianLast.TabIndex = 1; this.lblPhysicianLast.Text = "Last Name:"; // // lblPhysicianFirst // this.lblPhysicianFirst.AutoSize = true; - this.lblPhysicianFirst.Location = new System.Drawing.Point(63, 42); - this.lblPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34); this.lblPhysicianFirst.Name = "lblPhysicianFirst"; - this.lblPhysicianFirst.Size = new System.Drawing.Size(80, 17); + this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13); this.lblPhysicianFirst.TabIndex = 0; this.lblPhysicianFirst.Text = "First Name:"; // // 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(920, 468); + this.ClientSize = new System.Drawing.Size(690, 380); this.Controls.Add(this.tbcInfo); - this.Controls.Add(this.mnusNavigation); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.MainMenuStrip = this.mnusNavigation; - 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); - this.mnusNavigation.ResumeLayout(false); - this.mnusNavigation.PerformLayout(); this.tbcInfo.ResumeLayout(false); this.tbpPatient.ResumeLayout(false); this.splcPatient.Panel1.ResumeLayout(false); @@ -391,17 +316,10 @@ namespace Louis__Pharmacy_CNSA212_FP ((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit(); this.splcPhysician.ResumeLayout(false); this.ResumeLayout(false); - this.PerformLayout(); } #endregion - - private System.Windows.Forms.MenuStrip mnusNavigation; - private System.Windows.Forms.ToolStripMenuItem navigationToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem addUpdatePatientAndPhysicianToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem refillInfoToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem prescriptionInfoToolStripMenuItem; private System.Windows.Forms.TabControl tbcInfo; private System.Windows.Forms.TabPage tbpPhysician; private System.Windows.Forms.SplitContainer splcPhysician; diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx b/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx index 17aa33b..66296d6 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx @@ -117,9 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 -