From 157b30b9df2bda4bb60a16e41dd7e4e58102f75b Mon Sep 17 00:00:00 2001 From: Noah Date: Wed, 7 Feb 2024 10:54:59 -0500 Subject: [PATCH] Removed navigation menus from all four forms --- .../frmInfo.Designer.cs | 91 +--- Louis'-Pharmacy_CNSA212-FP/frmInfo.resx | 3 - .../frmPatientPhysician.Designer.cs | 428 ++++++++---------- .../frmPatientPhysician.resx | 3 - 4 files changed, 213 insertions(+), 312 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index 4cd5502..ba974e2 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,53 +67,13 @@ 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.Margin = new System.Windows.Forms.Padding(4); this.tbcInfo.Name = "tbcInfo"; this.tbcInfo.SelectedIndex = 0; this.tbcInfo.Size = new System.Drawing.Size(888, 420); @@ -129,7 +83,7 @@ namespace Louis__Pharmacy_CNSA212_FP // 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.Margin = new System.Windows.Forms.Padding(4); this.tbpPatient.Name = "tbpPatient"; this.tbpPatient.Size = new System.Drawing.Size(880, 391); this.tbpPatient.TabIndex = 3; @@ -140,7 +94,7 @@ 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.Margin = new System.Windows.Forms.Padding(4); this.splcPatient.Name = "splcPatient"; this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -160,7 +114,7 @@ namespace Louis__Pharmacy_CNSA212_FP // 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.Margin = new System.Windows.Forms.Padding(4); this.btnPatientSearch.Name = "btnPatientSearch"; this.btnPatientSearch.Size = new System.Drawing.Size(100, 28); this.btnPatientSearch.TabIndex = 4; @@ -170,7 +124,7 @@ namespace Louis__Pharmacy_CNSA212_FP // txtPatientLast // this.txtPatientLast.Location = new System.Drawing.Point(188, 82); - this.txtPatientLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPatientLast.Margin = new System.Windows.Forms.Padding(4); this.txtPatientLast.Name = "txtPatientLast"; this.txtPatientLast.Size = new System.Drawing.Size(132, 22); this.txtPatientLast.TabIndex = 3; @@ -178,7 +132,7 @@ namespace Louis__Pharmacy_CNSA212_FP // txtPatientFirst // this.txtPatientFirst.Location = new System.Drawing.Point(188, 41); - this.txtPatientFirst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPatientFirst.Margin = new System.Windows.Forms.Padding(4); this.txtPatientFirst.Name = "txtPatientFirst"; this.txtPatientFirst.Size = new System.Drawing.Size(132, 22); this.txtPatientFirst.TabIndex = 2; @@ -207,7 +161,7 @@ namespace Louis__Pharmacy_CNSA212_FP // 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.Margin = new System.Windows.Forms.Padding(4); this.tbpPrescription.Name = "tbpPrescription"; this.tbpPrescription.Size = new System.Drawing.Size(880, 391); this.tbpPrescription.TabIndex = 4; @@ -218,7 +172,7 @@ 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.Margin = new System.Windows.Forms.Padding(4); this.splcPrescription.Name = "splcPrescription"; this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -237,7 +191,7 @@ namespace Louis__Pharmacy_CNSA212_FP // btnPrescriptionSearch // this.btnPrescriptionSearch.Location = new System.Drawing.Point(85, 144); - this.btnPrescriptionSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnPrescriptionSearch.Margin = new System.Windows.Forms.Padding(4); this.btnPrescriptionSearch.Name = "btnPrescriptionSearch"; this.btnPrescriptionSearch.Size = new System.Drawing.Size(100, 28); this.btnPrescriptionSearch.TabIndex = 4; @@ -247,7 +201,7 @@ namespace Louis__Pharmacy_CNSA212_FP // txtPrescriptionLast // this.txtPrescriptionLast.Location = new System.Drawing.Point(245, 91); - this.txtPrescriptionLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPrescriptionLast.Margin = new System.Windows.Forms.Padding(4); this.txtPrescriptionLast.Name = "txtPrescriptionLast"; this.txtPrescriptionLast.Size = new System.Drawing.Size(132, 22); this.txtPrescriptionLast.TabIndex = 3; @@ -255,7 +209,7 @@ namespace Louis__Pharmacy_CNSA212_FP // txtRxNumber // this.txtRxNumber.Location = new System.Drawing.Point(245, 31); - this.txtRxNumber.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtRxNumber.Margin = new System.Windows.Forms.Padding(4); this.txtRxNumber.Name = "txtRxNumber"; this.txtRxNumber.Size = new System.Drawing.Size(132, 22); this.txtRxNumber.TabIndex = 2; @@ -284,9 +238,9 @@ namespace Louis__Pharmacy_CNSA212_FP // 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.Margin = new System.Windows.Forms.Padding(4); this.tbpPhysician.Name = "tbpPhysician"; - this.tbpPhysician.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbpPhysician.Padding = new System.Windows.Forms.Padding(4); this.tbpPhysician.Size = new System.Drawing.Size(880, 391); this.tbpPhysician.TabIndex = 2; this.tbpPhysician.Text = "Physician Info"; @@ -296,7 +250,7 @@ namespace Louis__Pharmacy_CNSA212_FP // 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.Margin = new System.Windows.Forms.Padding(4); this.splcPhysician.Name = "splcPhysician"; this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -316,7 +270,7 @@ namespace Louis__Pharmacy_CNSA212_FP // btnPhysicianSearch // this.btnPhysicianSearch.Location = new System.Drawing.Point(83, 143); - this.btnPhysicianSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnPhysicianSearch.Margin = new System.Windows.Forms.Padding(4); this.btnPhysicianSearch.Name = "btnPhysicianSearch"; this.btnPhysicianSearch.Size = new System.Drawing.Size(100, 28); this.btnPhysicianSearch.TabIndex = 4; @@ -326,7 +280,7 @@ namespace Louis__Pharmacy_CNSA212_FP // txtPhysicianLast // this.txtPhysicianLast.Location = new System.Drawing.Point(168, 96); - this.txtPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPhysicianLast.Margin = new System.Windows.Forms.Padding(4); this.txtPhysicianLast.Name = "txtPhysicianLast"; this.txtPhysicianLast.Size = new System.Drawing.Size(132, 22); this.txtPhysicianLast.TabIndex = 3; @@ -334,7 +288,7 @@ namespace Louis__Pharmacy_CNSA212_FP // txtPhysicianFirst // this.txtPhysicianFirst.Location = new System.Drawing.Point(168, 42); - this.txtPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtPhysicianFirst.Margin = new System.Windows.Forms.Padding(4); this.txtPhysicianFirst.Name = "txtPhysicianFirst"; this.txtPhysicianFirst.Size = new System.Drawing.Size(132, 22); this.txtPhysicianFirst.TabIndex = 2; @@ -365,15 +319,11 @@ namespace Louis__Pharmacy_CNSA212_FP this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(920, 468); 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.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 +341,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 - diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs index 8660441..59d6c78 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs @@ -32,37 +32,33 @@ namespace Louis__Pharmacy_CNSA212_FP System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPatientPhysician)); this.tabPatientPhysician = new System.Windows.Forms.TabControl(); this.tabPatient = new System.Windows.Forms.TabPage(); + this.Submit = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.rdoOther = new System.Windows.Forms.RadioButton(); + this.rdoFemale = new System.Windows.Forms.RadioButton(); + this.rdoMale = new System.Windows.Forms.RadioButton(); + this.txtZIP = new System.Windows.Forms.TextBox(); + this.txtState = new System.Windows.Forms.TextBox(); + this.txtCity = new System.Windows.Forms.TextBox(); + this.txtAddress2 = new System.Windows.Forms.TextBox(); + this.txtAddress1 = new System.Windows.Forms.TextBox(); + this.txtDOB = new System.Windows.Forms.TextBox(); + this.txtLastName = new System.Windows.Forms.TextBox(); + this.txtMiddleName = new System.Windows.Forms.TextBox(); + this.txtFirstName = new System.Windows.Forms.TextBox(); + this.label11 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.tabPhysician = new System.Windows.Forms.TabPage(); - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.navigationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.addUpdatePatientAndPhysicianToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.label6 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.txtFirstName = new System.Windows.Forms.TextBox(); - this.txtMiddleName = new System.Windows.Forms.TextBox(); - this.txtLastName = new System.Windows.Forms.TextBox(); - this.txtDOB = new System.Windows.Forms.TextBox(); - this.txtAddress1 = new System.Windows.Forms.TextBox(); - this.txtAddress2 = new System.Windows.Forms.TextBox(); - this.txtCity = new System.Windows.Forms.TextBox(); - this.txtState = new System.Windows.Forms.TextBox(); - this.txtZIP = new System.Windows.Forms.TextBox(); - this.rdoMale = new System.Windows.Forms.RadioButton(); - this.rdoFemale = new System.Windows.Forms.RadioButton(); - this.rdoOther = new System.Windows.Forms.RadioButton(); - this.button1 = new System.Windows.Forms.Button(); - this.Submit = new System.Windows.Forms.Button(); this.tabPatientPhysician.SuspendLayout(); this.tabPatient.SuspendLayout(); - this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // tabPatientPhysician @@ -109,6 +105,182 @@ namespace Louis__Pharmacy_CNSA212_FP this.tabPatient.Text = "Patient"; this.tabPatient.UseVisualStyleBackColor = true; // + // Submit + // + this.Submit.BackColor = System.Drawing.SystemColors.ButtonFace; + this.Submit.Location = new System.Drawing.Point(400, 327); + this.Submit.Name = "Submit"; + this.Submit.Size = new System.Drawing.Size(121, 26); + this.Submit.TabIndex = 29; + this.Submit.Text = "&Submit"; + this.Submit.UseVisualStyleBackColor = false; + // + // button1 + // + this.button1.BackColor = System.Drawing.SystemColors.ButtonFace; + this.button1.Location = new System.Drawing.Point(233, 327); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(121, 26); + this.button1.TabIndex = 28; + this.button1.Text = "&Search"; + this.button1.UseVisualStyleBackColor = false; + // + // rdoOther + // + this.rdoOther.AutoSize = true; + this.rdoOther.Location = new System.Drawing.Point(309, 267); + this.rdoOther.Name = "rdoOther"; + this.rdoOther.Size = new System.Drawing.Size(65, 21); + this.rdoOther.TabIndex = 27; + this.rdoOther.TabStop = true; + this.rdoOther.Text = "Other"; + this.rdoOther.UseVisualStyleBackColor = true; + // + // rdoFemale + // + this.rdoFemale.AutoSize = true; + this.rdoFemale.Location = new System.Drawing.Point(210, 267); + this.rdoFemale.Name = "rdoFemale"; + this.rdoFemale.Size = new System.Drawing.Size(75, 21); + this.rdoFemale.TabIndex = 26; + this.rdoFemale.TabStop = true; + this.rdoFemale.Text = "Female"; + this.rdoFemale.UseVisualStyleBackColor = true; + // + // rdoMale + // + this.rdoMale.AutoSize = true; + this.rdoMale.Location = new System.Drawing.Point(131, 267); + this.rdoMale.Name = "rdoMale"; + this.rdoMale.Size = new System.Drawing.Size(59, 21); + this.rdoMale.TabIndex = 25; + this.rdoMale.TabStop = true; + this.rdoMale.Text = "Male"; + this.rdoMale.UseVisualStyleBackColor = true; + // + // txtZIP + // + this.txtZIP.Location = new System.Drawing.Point(497, 266); + this.txtZIP.Name = "txtZIP"; + this.txtZIP.Size = new System.Drawing.Size(243, 22); + this.txtZIP.TabIndex = 24; + // + // txtState + // + this.txtState.Location = new System.Drawing.Point(497, 210); + this.txtState.Name = "txtState"; + this.txtState.Size = new System.Drawing.Size(243, 22); + this.txtState.TabIndex = 23; + // + // txtCity + // + this.txtCity.Location = new System.Drawing.Point(497, 161); + this.txtCity.Name = "txtCity"; + this.txtCity.Size = new System.Drawing.Size(243, 22); + this.txtCity.TabIndex = 22; + // + // txtAddress2 + // + this.txtAddress2.Location = new System.Drawing.Point(497, 111); + this.txtAddress2.Name = "txtAddress2"; + this.txtAddress2.Size = new System.Drawing.Size(243, 22); + this.txtAddress2.TabIndex = 21; + // + // txtAddress1 + // + this.txtAddress1.Location = new System.Drawing.Point(497, 62); + this.txtAddress1.Name = "txtAddress1"; + this.txtAddress1.Size = new System.Drawing.Size(243, 22); + this.txtAddress1.TabIndex = 20; + // + // txtDOB + // + this.txtDOB.Location = new System.Drawing.Point(131, 210); + this.txtDOB.Name = "txtDOB"; + this.txtDOB.Size = new System.Drawing.Size(243, 22); + this.txtDOB.TabIndex = 19; + // + // txtLastName + // + this.txtLastName.Location = new System.Drawing.Point(131, 161); + this.txtLastName.Name = "txtLastName"; + this.txtLastName.Size = new System.Drawing.Size(243, 22); + this.txtLastName.TabIndex = 18; + // + // txtMiddleName + // + this.txtMiddleName.Location = new System.Drawing.Point(131, 111); + this.txtMiddleName.Name = "txtMiddleName"; + this.txtMiddleName.Size = new System.Drawing.Size(243, 22); + this.txtMiddleName.TabIndex = 17; + // + // txtFirstName + // + this.txtFirstName.Location = new System.Drawing.Point(131, 61); + this.txtFirstName.Name = "txtFirstName"; + this.txtFirstName.Size = new System.Drawing.Size(243, 22); + this.txtFirstName.TabIndex = 16; + // + // label11 + // + this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label11.Location = new System.Drawing.Point(391, 265); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(100, 23); + this.label11.TabIndex = 15; + this.label11.Text = "ZIP:"; + this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label10 + // + this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label10.Location = new System.Drawing.Point(391, 209); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(100, 23); + this.label10.TabIndex = 14; + this.label10.Text = "State:"; + this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label9 + // + this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.Location = new System.Drawing.Point(391, 160); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(100, 23); + this.label9.TabIndex = 13; + this.label9.Text = "City:"; + this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label8 + // + this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label8.Location = new System.Drawing.Point(391, 110); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(100, 23); + this.label8.TabIndex = 12; + this.label8.Text = "Address 2:"; + this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label7 + // + this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label7.Location = new System.Drawing.Point(391, 61); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(100, 23); + this.label7.TabIndex = 11; + this.label7.Text = "Address 1:"; + this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label6 + // + this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label6.Location = new System.Drawing.Point(206, 12); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(332, 23); + this.label6.TabIndex = 5; + this.label6.Text = "Patient Information"; + this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // label4 // this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -159,224 +331,19 @@ namespace Louis__Pharmacy_CNSA212_FP this.tabPhysician.Text = "Physician"; this.tabPhysician.UseVisualStyleBackColor = true; // - // menuStrip1 - // - this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.navigationToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(800, 28); - this.menuStrip1.TabIndex = 1; - this.menuStrip1.Text = "menuStrip1"; - // - // navigationToolStripMenuItem - // - this.navigationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.addUpdatePatientAndPhysicianToolStripMenuItem}); - 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"; - // - // label6 - // - this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label6.Location = new System.Drawing.Point(206, 12); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(332, 23); - this.label6.TabIndex = 5; - this.label6.Text = "Patient Information"; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label7 - // - this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label7.Location = new System.Drawing.Point(391, 61); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(100, 23); - this.label7.TabIndex = 11; - this.label7.Text = "Address 1:"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label8 - // - this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label8.Location = new System.Drawing.Point(391, 110); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(100, 23); - this.label8.TabIndex = 12; - this.label8.Text = "Address 2:"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label9 - // - this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label9.Location = new System.Drawing.Point(391, 160); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(100, 23); - this.label9.TabIndex = 13; - this.label9.Text = "City:"; - this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label10 - // - this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label10.Location = new System.Drawing.Point(391, 209); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(100, 23); - this.label10.TabIndex = 14; - this.label10.Text = "State:"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // label11 - // - this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label11.Location = new System.Drawing.Point(391, 265); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(100, 23); - this.label11.TabIndex = 15; - this.label11.Text = "ZIP:"; - this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // txtFirstName - // - this.txtFirstName.Location = new System.Drawing.Point(131, 61); - this.txtFirstName.Name = "txtFirstName"; - this.txtFirstName.Size = new System.Drawing.Size(243, 22); - this.txtFirstName.TabIndex = 16; - // - // txtMiddleName - // - this.txtMiddleName.Location = new System.Drawing.Point(131, 111); - this.txtMiddleName.Name = "txtMiddleName"; - this.txtMiddleName.Size = new System.Drawing.Size(243, 22); - this.txtMiddleName.TabIndex = 17; - // - // txtLastName - // - this.txtLastName.Location = new System.Drawing.Point(131, 161); - this.txtLastName.Name = "txtLastName"; - this.txtLastName.Size = new System.Drawing.Size(243, 22); - this.txtLastName.TabIndex = 18; - // - // txtDOB - // - this.txtDOB.Location = new System.Drawing.Point(131, 210); - this.txtDOB.Name = "txtDOB"; - this.txtDOB.Size = new System.Drawing.Size(243, 22); - this.txtDOB.TabIndex = 19; - // - // txtAddress1 - // - this.txtAddress1.Location = new System.Drawing.Point(497, 62); - this.txtAddress1.Name = "txtAddress1"; - this.txtAddress1.Size = new System.Drawing.Size(243, 22); - this.txtAddress1.TabIndex = 20; - // - // txtAddress2 - // - this.txtAddress2.Location = new System.Drawing.Point(497, 111); - this.txtAddress2.Name = "txtAddress2"; - this.txtAddress2.Size = new System.Drawing.Size(243, 22); - this.txtAddress2.TabIndex = 21; - // - // txtCity - // - this.txtCity.Location = new System.Drawing.Point(497, 161); - this.txtCity.Name = "txtCity"; - this.txtCity.Size = new System.Drawing.Size(243, 22); - this.txtCity.TabIndex = 22; - // - // txtState - // - this.txtState.Location = new System.Drawing.Point(497, 210); - this.txtState.Name = "txtState"; - this.txtState.Size = new System.Drawing.Size(243, 22); - this.txtState.TabIndex = 23; - // - // txtZIP - // - this.txtZIP.Location = new System.Drawing.Point(497, 266); - this.txtZIP.Name = "txtZIP"; - this.txtZIP.Size = new System.Drawing.Size(243, 22); - this.txtZIP.TabIndex = 24; - // - // rdoMale - // - this.rdoMale.AutoSize = true; - this.rdoMale.Location = new System.Drawing.Point(131, 267); - this.rdoMale.Name = "rdoMale"; - this.rdoMale.Size = new System.Drawing.Size(59, 21); - this.rdoMale.TabIndex = 25; - this.rdoMale.TabStop = true; - this.rdoMale.Text = "Male"; - this.rdoMale.UseVisualStyleBackColor = true; - // - // rdoFemale - // - this.rdoFemale.AutoSize = true; - this.rdoFemale.Location = new System.Drawing.Point(210, 267); - this.rdoFemale.Name = "rdoFemale"; - this.rdoFemale.Size = new System.Drawing.Size(75, 21); - this.rdoFemale.TabIndex = 26; - this.rdoFemale.TabStop = true; - this.rdoFemale.Text = "Female"; - this.rdoFemale.UseVisualStyleBackColor = true; - // - // rdoOther - // - this.rdoOther.AutoSize = true; - this.rdoOther.Location = new System.Drawing.Point(309, 267); - this.rdoOther.Name = "rdoOther"; - this.rdoOther.Size = new System.Drawing.Size(65, 21); - this.rdoOther.TabIndex = 27; - this.rdoOther.TabStop = true; - this.rdoOther.Text = "Other"; - this.rdoOther.UseVisualStyleBackColor = true; - // - // button1 - // - this.button1.BackColor = System.Drawing.SystemColors.ButtonFace; - this.button1.Location = new System.Drawing.Point(233, 327); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(121, 26); - this.button1.TabIndex = 28; - this.button1.Text = "&Search"; - this.button1.UseVisualStyleBackColor = false; - // - // Submit - // - this.Submit.BackColor = System.Drawing.SystemColors.ButtonFace; - this.Submit.Location = new System.Drawing.Point(400, 327); - this.Submit.Name = "Submit"; - this.Submit.Size = new System.Drawing.Size(121, 26); - this.Submit.TabIndex = 29; - this.Submit.Text = "&Submit"; - this.Submit.UseVisualStyleBackColor = false; - // // frmPatientPhysician // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.tabPatientPhysician); - this.Controls.Add(this.menuStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmPatientPhysician"; this.Text = "Louis\' Pharmacy - Add / Update Patient and Physician"; this.tabPatientPhysician.ResumeLayout(false); this.tabPatient.ResumeLayout(false); this.tabPatient.PerformLayout(); - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); this.ResumeLayout(false); - this.PerformLayout(); } @@ -385,9 +352,6 @@ namespace Louis__Pharmacy_CNSA212_FP private System.Windows.Forms.TabControl tabPatientPhysician; private System.Windows.Forms.TabPage tabPatient; private System.Windows.Forms.TabPage tabPhysician; - private System.Windows.Forms.MenuStrip menuStrip1; - private System.Windows.Forms.ToolStripMenuItem navigationToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem addUpdatePatientAndPhysicianToolStripMenuItem; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label2; diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx index 83d22ce..66296d6 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx @@ -117,9 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 -