From eca0e7efa6f8187651ff905e26dc678a240d0808 Mon Sep 17 00:00:00 2001 From: Noah Date: Tue, 6 Feb 2024 11:38:27 -0500 Subject: [PATCH 1/3] Deleted frmAddPatientPhyscian and replaced with new frmPatientPhysician. Updated frmPatientPhysician name and icon. --- .../Louis'-Pharmacy_CNSA212-FP.csproj | 18 +++++++++--------- ...gner.cs => frmPatientPhysician.Designer.cs} | 15 +++++++-------- ...ientPhysician.cs => frmPatientPhysician.cs} | 4 ++-- ...Physician.resx => frmPatientPhysician.resx} | 0 4 files changed, 18 insertions(+), 19 deletions(-) rename Louis'-Pharmacy_CNSA212-FP/{frmAddPatientPhysician.Designer.cs => frmPatientPhysician.Designer.cs} (79%) rename Louis'-Pharmacy_CNSA212-FP/{frmAddPatientPhysician.cs => frmPatientPhysician.cs} (77%) rename Louis'-Pharmacy_CNSA212-FP/{frmAddPatientPhysician.resx => frmPatientPhysician.resx} (100%) diff --git a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj index 023bee6..c50916c 100644 --- a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj +++ b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj @@ -46,18 +46,18 @@ - - Form - - - frmAddPatientPhysician.cs - Form frmInfo.cs + + Form + + + frmPatientPhysician.cs + Form @@ -78,12 +78,12 @@ - - frmAddPatientPhysician.cs - frmInfo.cs + + frmPatientPhysician.cs + frmPrescription.cs diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs similarity index 79% rename from Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs rename to Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs index 4282843..0362aa4 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs @@ -1,7 +1,7 @@  namespace Louis__Pharmacy_CNSA212_FP { - partial class frmAddPatientPhysician + partial class frmPatientPhysician { /// /// Required designer variable. @@ -29,18 +29,17 @@ namespace Louis__Pharmacy_CNSA212_FP /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddPatientPhysician)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPatientPhysician)); this.SuspendLayout(); // - // frmAddPatientPhysician + // frmPatientPhysician // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(600, 366); + this.ClientSize = new System.Drawing.Size(800, 450); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(2); - this.Name = "frmAddPatientPhysician"; - this.Text = "Louis\' Pharmacy - Add Patient / Physician"; + this.Name = "frmPatientPhysician"; + this.Text = "Louis\' Pharmacy - Add / Update Patient or Physician"; this.ResumeLayout(false); } diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs similarity index 77% rename from Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.cs rename to Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs index 61243c6..2e08adf 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs @@ -10,9 +10,9 @@ using System.Windows.Forms; namespace Louis__Pharmacy_CNSA212_FP { - public partial class frmAddPatientPhysician : Form + public partial class frmPatientPhysician : Form { - public frmAddPatientPhysician() + public frmPatientPhysician() { InitializeComponent(); } diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.resx b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx similarity index 100% rename from Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.resx rename to Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx From cf1abb313744ac8ae3d7b588387378d1d7a1b2e7 Mon Sep 17 00:00:00 2001 From: Noah Date: Tue, 6 Feb 2024 11:46:50 -0500 Subject: [PATCH 2/3] Updated frmWelcome labels --- .../frmInfo.Designer.cs | 281 ++++++++++-------- Louis'-Pharmacy_CNSA212-FP/frmInfo.cs | 5 + .../frmPatientPhysician.Designer.cs | 40 +++ .../frmWelcome.Designer.cs | 20 +- 4 files changed, 216 insertions(+), 130 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index dd20708..4cd5502 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -38,25 +38,25 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbcInfo = new System.Windows.Forms.TabControl(); this.tbpPatient = new System.Windows.Forms.TabPage(); this.splcPatient = new System.Windows.Forms.SplitContainer(); + this.btnPatientSearch = new System.Windows.Forms.Button(); this.txtPatientLast = new System.Windows.Forms.TextBox(); this.txtPatientFirst = new System.Windows.Forms.TextBox(); this.lblPatientLast = new System.Windows.Forms.Label(); this.lblPatientFirst = new System.Windows.Forms.Label(); this.tbpPrescription = new System.Windows.Forms.TabPage(); this.splcPrescription = new System.Windows.Forms.SplitContainer(); + this.btnPrescriptionSearch = new System.Windows.Forms.Button(); + this.txtPrescriptionLast = new System.Windows.Forms.TextBox(); + this.txtRxNumber = new System.Windows.Forms.TextBox(); + this.lblPrescriptionLast = new System.Windows.Forms.Label(); + this.lblRxNumber = new System.Windows.Forms.Label(); this.tbpPhysician = new System.Windows.Forms.TabPage(); this.splcPhysician = new System.Windows.Forms.SplitContainer(); - this.lblRxNumber = new System.Windows.Forms.Label(); - this.lblPrescriptionLast = new System.Windows.Forms.Label(); - this.btnPatientSearch = new System.Windows.Forms.Button(); - this.txtRxNumber = new System.Windows.Forms.TextBox(); - this.txtPrescriptionLast = new System.Windows.Forms.TextBox(); - this.btnPrescriptionSearch = new System.Windows.Forms.Button(); - this.lblPhysicianFirst = new System.Windows.Forms.Label(); - this.lblPhysicianLast = new System.Windows.Forms.Label(); - this.txtPhysicianFirst = new System.Windows.Forms.TextBox(); - this.txtPhysicianLast = new System.Windows.Forms.TextBox(); this.btnPhysicianSearch = new System.Windows.Forms.Button(); + this.txtPhysicianLast = new System.Windows.Forms.TextBox(); + 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(); @@ -75,11 +75,12 @@ namespace Louis__Pharmacy_CNSA212_FP // // 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(690, 24); + this.mnusNavigation.Size = new System.Drawing.Size(920, 28); this.mnusNavigation.TabIndex = 0; this.mnusNavigation.Text = "Navigation"; // @@ -90,25 +91,26 @@ namespace Louis__Pharmacy_CNSA212_FP this.refillInfoToolStripMenuItem, this.prescriptionInfoToolStripMenuItem}); this.navigationToolStripMenuItem.Name = "navigationToolStripMenuItem"; - this.navigationToolStripMenuItem.Size = new System.Drawing.Size(77, 20); + 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(255, 22); + 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(255, 22); + 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(255, 22); + this.prescriptionInfoToolStripMenuItem.Size = new System.Drawing.Size(317, 26); this.prescriptionInfoToolStripMenuItem.Text = "Prescription Info"; // // tbcInfo @@ -116,18 +118,20 @@ namespace Louis__Pharmacy_CNSA212_FP 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(12, 27); + this.tbcInfo.Location = new System.Drawing.Point(16, 33); + this.tbcInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbcInfo.Name = "tbcInfo"; this.tbcInfo.SelectedIndex = 0; - this.tbcInfo.Size = new System.Drawing.Size(666, 341); + this.tbcInfo.Size = new System.Drawing.Size(888, 420); this.tbcInfo.TabIndex = 1; // // tbpPatient // this.tbpPatient.Controls.Add(this.splcPatient); - this.tbpPatient.Location = new System.Drawing.Point(4, 22); + this.tbpPatient.Location = new System.Drawing.Point(4, 25); + this.tbpPatient.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbpPatient.Name = "tbpPatient"; - this.tbpPatient.Size = new System.Drawing.Size(658, 315); + this.tbpPatient.Size = new System.Drawing.Size(880, 391); this.tbpPatient.TabIndex = 3; this.tbpPatient.Text = "Patient Info"; this.tbpPatient.UseVisualStyleBackColor = true; @@ -136,6 +140,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.Name = "splcPatient"; this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -146,48 +151,65 @@ 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(658, 315); - this.splcPatient.SplitterDistance = 159; + this.splcPatient.Size = new System.Drawing.Size(880, 391); + this.splcPatient.SplitterDistance = 197; + this.splcPatient.SplitterWidth = 5; 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.Name = "btnPatientSearch"; + this.btnPatientSearch.Size = new System.Drawing.Size(100, 28); + this.btnPatientSearch.TabIndex = 4; + this.btnPatientSearch.Text = "Search"; + this.btnPatientSearch.UseVisualStyleBackColor = false; + // // txtPatientLast // - this.txtPatientLast.Location = new System.Drawing.Point(141, 67); + this.txtPatientLast.Location = new System.Drawing.Point(188, 82); + this.txtPatientLast.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtPatientLast.Name = "txtPatientLast"; - this.txtPatientLast.Size = new System.Drawing.Size(100, 20); + this.txtPatientLast.Size = new System.Drawing.Size(132, 22); this.txtPatientLast.TabIndex = 3; // // txtPatientFirst // - this.txtPatientFirst.Location = new System.Drawing.Point(141, 33); + this.txtPatientFirst.Location = new System.Drawing.Point(188, 41); + this.txtPatientFirst.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtPatientFirst.Name = "txtPatientFirst"; - this.txtPatientFirst.Size = new System.Drawing.Size(100, 20); + this.txtPatientFirst.Size = new System.Drawing.Size(132, 22); this.txtPatientFirst.TabIndex = 2; // // lblPatientLast // this.lblPatientLast.AutoSize = true; - this.lblPatientLast.Location = new System.Drawing.Point(47, 67); + this.lblPatientLast.Location = new System.Drawing.Point(63, 82); + this.lblPatientLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPatientLast.Name = "lblPatientLast"; - this.lblPatientLast.Size = new System.Drawing.Size(61, 13); + this.lblPatientLast.Size = new System.Drawing.Size(80, 17); this.lblPatientLast.TabIndex = 1; this.lblPatientLast.Text = "Last Name:"; // // lblPatientFirst // this.lblPatientFirst.AutoSize = true; - this.lblPatientFirst.Location = new System.Drawing.Point(44, 33); + this.lblPatientFirst.Location = new System.Drawing.Point(59, 41); + this.lblPatientFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPatientFirst.Name = "lblPatientFirst"; - this.lblPatientFirst.Size = new System.Drawing.Size(60, 13); + this.lblPatientFirst.Size = new System.Drawing.Size(80, 17); this.lblPatientFirst.TabIndex = 0; this.lblPatientFirst.Text = "First Name:"; // // tbpPrescription // this.tbpPrescription.Controls.Add(this.splcPrescription); - this.tbpPrescription.Location = new System.Drawing.Point(4, 22); + this.tbpPrescription.Location = new System.Drawing.Point(4, 25); + this.tbpPrescription.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbpPrescription.Name = "tbpPrescription"; - this.tbpPrescription.Size = new System.Drawing.Size(658, 315); + this.tbpPrescription.Size = new System.Drawing.Size(880, 391); this.tbpPrescription.TabIndex = 4; this.tbpPrescription.Text = "Prescription Info"; this.tbpPrescription.UseVisualStyleBackColor = true; @@ -196,6 +218,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.Name = "splcPrescription"; this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -206,17 +229,65 @@ 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(658, 315); - this.splcPrescription.SplitterDistance = 160; + this.splcPrescription.Size = new System.Drawing.Size(880, 391); + this.splcPrescription.SplitterDistance = 198; + this.splcPrescription.SplitterWidth = 5; 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.Name = "btnPrescriptionSearch"; + this.btnPrescriptionSearch.Size = new System.Drawing.Size(100, 28); + 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.Name = "txtPrescriptionLast"; + this.txtPrescriptionLast.Size = new System.Drawing.Size(132, 22); + 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.Name = "txtRxNumber"; + this.txtRxNumber.Size = new System.Drawing.Size(132, 22); + 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.Name = "lblPrescriptionLast"; + this.lblPrescriptionLast.Size = new System.Drawing.Size(80, 17); + 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.Name = "lblRxNumber"; + this.lblRxNumber.Size = new System.Drawing.Size(82, 17); + this.lblRxNumber.TabIndex = 0; + this.lblRxNumber.Text = "Rx Number:"; + // // tbpPhysician // this.tbpPhysician.Controls.Add(this.splcPhysician); - this.tbpPhysician.Location = new System.Drawing.Point(4, 22); + this.tbpPhysician.Location = new System.Drawing.Point(4, 25); + this.tbpPhysician.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbpPhysician.Name = "tbpPhysician"; - this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3); - this.tbpPhysician.Size = new System.Drawing.Size(658, 315); + this.tbpPhysician.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tbpPhysician.Size = new System.Drawing.Size(880, 391); this.tbpPhysician.TabIndex = 2; this.tbpPhysician.Text = "Physician Info"; this.tbpPhysician.UseVisualStyleBackColor = true; @@ -224,7 +295,8 @@ namespace Louis__Pharmacy_CNSA212_FP // splcPhysician // this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill; - this.splcPhysician.Location = new System.Drawing.Point(3, 3); + this.splcPhysician.Location = new System.Drawing.Point(4, 4); + this.splcPhysician.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.splcPhysician.Name = "splcPhysician"; this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -236,112 +308,67 @@ 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(652, 309); - this.splcPhysician.SplitterDistance = 158; + this.splcPhysician.Size = new System.Drawing.Size(872, 383); + this.splcPhysician.SplitterDistance = 195; + this.splcPhysician.SplitterWidth = 5; this.splcPhysician.TabIndex = 0; // - // lblRxNumber - // - this.lblRxNumber.AutoSize = true; - this.lblRxNumber.Location = new System.Drawing.Point(61, 25); - this.lblRxNumber.Name = "lblRxNumber"; - this.lblRxNumber.Size = new System.Drawing.Size(63, 13); - this.lblRxNumber.TabIndex = 0; - this.lblRxNumber.Text = "Rx Number:"; - // - // lblPrescriptionLast - // - this.lblPrescriptionLast.AutoSize = true; - this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74); - this.lblPrescriptionLast.Name = "lblPrescriptionLast"; - this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13); - this.lblPrescriptionLast.TabIndex = 1; - this.lblPrescriptionLast.Text = "Last Name:"; - // - // btnPatientSearch - // - this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent; - this.btnPatientSearch.Location = new System.Drawing.Point(50, 119); - this.btnPatientSearch.Name = "btnPatientSearch"; - this.btnPatientSearch.Size = new System.Drawing.Size(75, 23); - this.btnPatientSearch.TabIndex = 4; - this.btnPatientSearch.Text = "Search"; - this.btnPatientSearch.UseVisualStyleBackColor = false; - // - // txtRxNumber - // - this.txtRxNumber.Location = new System.Drawing.Point(184, 25); - this.txtRxNumber.Name = "txtRxNumber"; - this.txtRxNumber.Size = new System.Drawing.Size(100, 20); - this.txtRxNumber.TabIndex = 2; - // - // txtPrescriptionLast - // - this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74); - this.txtPrescriptionLast.Name = "txtPrescriptionLast"; - this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20); - this.txtPrescriptionLast.TabIndex = 3; - // - // btnPrescriptionSearch - // - this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117); - this.btnPrescriptionSearch.Name = "btnPrescriptionSearch"; - this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23); - this.btnPrescriptionSearch.TabIndex = 4; - this.btnPrescriptionSearch.Text = "Search"; - this.btnPrescriptionSearch.UseVisualStyleBackColor = true; - // - // lblPhysicianFirst - // - this.lblPhysicianFirst.AutoSize = true; - this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34); - this.lblPhysicianFirst.Name = "lblPhysicianFirst"; - this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13); - this.lblPhysicianFirst.TabIndex = 0; - this.lblPhysicianFirst.Text = "First Name:"; - // - // lblPhysicianLast - // - this.lblPhysicianLast.AutoSize = true; - this.lblPhysicianLast.Location = new System.Drawing.Point(50, 78); - this.lblPhysicianLast.Name = "lblPhysicianLast"; - this.lblPhysicianLast.Size = new System.Drawing.Size(61, 13); - this.lblPhysicianLast.TabIndex = 1; - this.lblPhysicianLast.Text = "Last Name:"; - // - // txtPhysicianFirst - // - this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34); - this.txtPhysicianFirst.Name = "txtPhysicianFirst"; - this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20); - this.txtPhysicianFirst.TabIndex = 2; - // - // txtPhysicianLast - // - this.txtPhysicianLast.Location = new System.Drawing.Point(126, 78); - this.txtPhysicianLast.Name = "txtPhysicianLast"; - this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20); - this.txtPhysicianLast.TabIndex = 3; - // // btnPhysicianSearch // - this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116); + this.btnPhysicianSearch.Location = new System.Drawing.Point(83, 143); + this.btnPhysicianSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnPhysicianSearch.Name = "btnPhysicianSearch"; - this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23); + this.btnPhysicianSearch.Size = new System.Drawing.Size(100, 28); 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.Name = "txtPhysicianLast"; + this.txtPhysicianLast.Size = new System.Drawing.Size(132, 22); + 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.Name = "txtPhysicianFirst"; + this.txtPhysicianFirst.Size = new System.Drawing.Size(132, 22); + 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.Name = "lblPhysicianLast"; + this.lblPhysicianLast.Size = new System.Drawing.Size(80, 17); + 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.Name = "lblPhysicianFirst"; + this.lblPhysicianFirst.Size = new System.Drawing.Size(80, 17); + this.lblPhysicianFirst.TabIndex = 0; + this.lblPhysicianFirst.Text = "First Name:"; + // // frmInfo // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(690, 380); + 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(2); + 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); diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs index cb97815..4311784 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs @@ -23,5 +23,10 @@ namespace Louis__Pharmacy_CNSA212_FP //this.patientCountTableAdapter.Fill(this.FPCASDataSet.patientCount); } + + private void addUpdatePatientAndPhysicianToolStripMenuItem_Click(object sender, EventArgs e) + { + + } } } diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs index 0362aa4..dc43931 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs @@ -30,20 +30,60 @@ namespace Louis__Pharmacy_CNSA212_FP private void InitializeComponent() { 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.tabPhysician = new System.Windows.Forms.TabPage(); + this.tabPatientPhysician.SuspendLayout(); this.SuspendLayout(); // + // tabPatientPhysician + // + this.tabPatientPhysician.Controls.Add(this.tabPatient); + this.tabPatientPhysician.Controls.Add(this.tabPhysician); + this.tabPatientPhysician.Location = new System.Drawing.Point(2, 12); + this.tabPatientPhysician.Name = "tabPatientPhysician"; + this.tabPatientPhysician.SelectedIndex = 0; + this.tabPatientPhysician.Size = new System.Drawing.Size(797, 436); + this.tabPatientPhysician.TabIndex = 0; + // + // tabPatient + // + this.tabPatient.Location = new System.Drawing.Point(4, 25); + this.tabPatient.Name = "tabPatient"; + this.tabPatient.Padding = new System.Windows.Forms.Padding(3); + this.tabPatient.Size = new System.Drawing.Size(789, 407); + this.tabPatient.TabIndex = 0; + this.tabPatient.Text = "Patient"; + this.tabPatient.UseVisualStyleBackColor = true; + // + // tabPhysician + // + this.tabPhysician.Location = new System.Drawing.Point(4, 25); + this.tabPhysician.Name = "tabPhysician"; + this.tabPhysician.Padding = new System.Windows.Forms.Padding(3); + this.tabPhysician.Size = new System.Drawing.Size(789, 406); + this.tabPhysician.TabIndex = 1; + this.tabPhysician.Text = "Physician"; + this.tabPhysician.UseVisualStyleBackColor = true; + // // 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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmPatientPhysician"; this.Text = "Louis\' Pharmacy - Add / Update Patient or Physician"; + this.tabPatientPhysician.ResumeLayout(false); this.ResumeLayout(false); } #endregion + + private System.Windows.Forms.TabControl tabPatientPhysician; + private System.Windows.Forms.TabPage tabPatient; + private System.Windows.Forms.TabPage tabPhysician; } } \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs index 7bd0965..a284d83 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs @@ -35,6 +35,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.btnViewInfo = new System.Windows.Forms.Button(); this.btnPrescription = new System.Windows.Forms.Button(); this.btnRefill = new System.Windows.Forms.Button(); + this.lblConfidential = new System.Windows.Forms.Label(); this.SuspendLayout(); // // lblWelcome @@ -42,11 +43,11 @@ namespace Louis__Pharmacy_CNSA212_FP this.lblWelcome.BackColor = System.Drawing.SystemColors.ControlLight; this.lblWelcome.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblWelcome.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblWelcome.Location = new System.Drawing.Point(67, 18); + this.lblWelcome.Location = new System.Drawing.Point(98, 19); this.lblWelcome.Name = "lblWelcome"; - this.lblWelcome.Size = new System.Drawing.Size(665, 60); + this.lblWelcome.Size = new System.Drawing.Size(605, 60); this.lblWelcome.TabIndex = 0; - this.lblWelcome.Text = "Welcome to the Louis\' Pharmacy Portal"; + this.lblWelcome.Text = "Welcome to Louis\' Pharmacy"; this.lblWelcome.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblWelcome.Click += new System.EventHandler(this.lblWelcome_Click); // @@ -98,11 +99,23 @@ namespace Louis__Pharmacy_CNSA212_FP this.btnRefill.Text = "Add / Update Refills"; this.btnRefill.UseVisualStyleBackColor = false; // + // lblConfidential + // + this.lblConfidential.ForeColor = System.Drawing.Color.Red; + this.lblConfidential.Location = new System.Drawing.Point(98, 394); + this.lblConfidential.Name = "lblConfidential"; + this.lblConfidential.Size = new System.Drawing.Size(605, 23); + this.lblConfidential.TabIndex = 6; + this.lblConfidential.Text = "Portal is for use by authorized Louis\' Pharmacy personnel only. All data is CONFI" + + "DENTIAL."; + this.lblConfidential.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // frmWelcome // 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.lblConfidential); this.Controls.Add(this.btnRefill); this.Controls.Add(this.btnPrescription); this.Controls.Add(this.btnViewInfo); @@ -123,5 +136,6 @@ namespace Louis__Pharmacy_CNSA212_FP private System.Windows.Forms.Button btnViewInfo; private System.Windows.Forms.Button btnPrescription; private System.Windows.Forms.Button btnRefill; + private System.Windows.Forms.Label lblConfidential; } } \ No newline at end of file From 218962714083ed806261b9c8e3cda38a654b06a7 Mon Sep 17 00:00:00 2001 From: Noah Date: Tue, 6 Feb 2024 12:19:31 -0500 Subject: [PATCH 3/3] Added tabcontrol to frmPatientPhysician. Added labels, textboxes, radiobuttions, and buttons to the Patient tab --- .../frmPatientPhysician.Designer.cs | 337 +++++++++++++++++- .../frmPatientPhysician.cs | 10 + .../frmPatientPhysician.resx | 3 + .../frmWelcome.Designer.cs | 2 +- 4 files changed, 346 insertions(+), 6 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs index dc43931..8660441 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs @@ -32,51 +32,351 @@ 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.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 // this.tabPatientPhysician.Controls.Add(this.tabPatient); this.tabPatientPhysician.Controls.Add(this.tabPhysician); - this.tabPatientPhysician.Location = new System.Drawing.Point(2, 12); + this.tabPatientPhysician.Location = new System.Drawing.Point(12, 27); this.tabPatientPhysician.Name = "tabPatientPhysician"; this.tabPatientPhysician.SelectedIndex = 0; - this.tabPatientPhysician.Size = new System.Drawing.Size(797, 436); + this.tabPatientPhysician.Size = new System.Drawing.Size(776, 411); this.tabPatientPhysician.TabIndex = 0; // // tabPatient // + this.tabPatient.Controls.Add(this.Submit); + this.tabPatient.Controls.Add(this.button1); + this.tabPatient.Controls.Add(this.rdoOther); + this.tabPatient.Controls.Add(this.rdoFemale); + this.tabPatient.Controls.Add(this.rdoMale); + this.tabPatient.Controls.Add(this.txtZIP); + this.tabPatient.Controls.Add(this.txtState); + this.tabPatient.Controls.Add(this.txtCity); + this.tabPatient.Controls.Add(this.txtAddress2); + this.tabPatient.Controls.Add(this.txtAddress1); + this.tabPatient.Controls.Add(this.txtDOB); + this.tabPatient.Controls.Add(this.txtLastName); + this.tabPatient.Controls.Add(this.txtMiddleName); + this.tabPatient.Controls.Add(this.txtFirstName); + this.tabPatient.Controls.Add(this.label11); + this.tabPatient.Controls.Add(this.label10); + this.tabPatient.Controls.Add(this.label9); + this.tabPatient.Controls.Add(this.label8); + this.tabPatient.Controls.Add(this.label7); + this.tabPatient.Controls.Add(this.label6); + this.tabPatient.Controls.Add(this.label4); + this.tabPatient.Controls.Add(this.label3); + this.tabPatient.Controls.Add(this.label2); + this.tabPatient.Controls.Add(this.label1); this.tabPatient.Location = new System.Drawing.Point(4, 25); this.tabPatient.Name = "tabPatient"; this.tabPatient.Padding = new System.Windows.Forms.Padding(3); - this.tabPatient.Size = new System.Drawing.Size(789, 407); + this.tabPatient.Size = new System.Drawing.Size(768, 382); this.tabPatient.TabIndex = 0; this.tabPatient.Text = "Patient"; this.tabPatient.UseVisualStyleBackColor = true; // + // label4 + // + this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(24, 209); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(100, 23); + this.label4.TabIndex = 3; + this.label4.Text = "DOB:"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label3 + // + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.Location = new System.Drawing.Point(24, 160); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(100, 23); + this.label3.TabIndex = 2; + this.label3.Text = "Last Name:"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label2 + // + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.Location = new System.Drawing.Point(8, 110); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(116, 23); + this.label2.TabIndex = 1; + this.label2.Text = "Middle Name:"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label1 + // + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(24, 61); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(100, 23); + this.label1.TabIndex = 0; + this.label1.Text = "First Name:"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // // tabPhysician // this.tabPhysician.Location = new System.Drawing.Point(4, 25); this.tabPhysician.Name = "tabPhysician"; this.tabPhysician.Padding = new System.Windows.Forms.Padding(3); - this.tabPhysician.Size = new System.Drawing.Size(789, 406); + this.tabPhysician.Size = new System.Drawing.Size(768, 382); this.tabPhysician.TabIndex = 1; 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 or Physician"; + 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(); } @@ -85,5 +385,32 @@ 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; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.RadioButton rdoOther; + private System.Windows.Forms.RadioButton rdoFemale; + private System.Windows.Forms.RadioButton rdoMale; + private System.Windows.Forms.TextBox txtZIP; + private System.Windows.Forms.TextBox txtState; + private System.Windows.Forms.TextBox txtCity; + private System.Windows.Forms.TextBox txtAddress2; + private System.Windows.Forms.TextBox txtAddress1; + private System.Windows.Forms.TextBox txtDOB; + private System.Windows.Forms.TextBox txtLastName; + private System.Windows.Forms.TextBox txtMiddleName; + private System.Windows.Forms.TextBox txtFirstName; + private System.Windows.Forms.Button Submit; + private System.Windows.Forms.Button button1; } } \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs index 2e08adf..2382864 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs @@ -16,5 +16,15 @@ namespace Louis__Pharmacy_CNSA212_FP { InitializeComponent(); } + + private void addUpdatePatientAndPhysicianToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void label5_Click(object sender, EventArgs e) + { + + } } } diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx index 66296d6..83d22ce 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + diff --git a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs index a284d83..9cdfcb5 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs @@ -60,7 +60,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.btnAddPatientPhysician.Name = "btnAddPatientPhysician"; this.btnAddPatientPhysician.Size = new System.Drawing.Size(253, 68); this.btnAddPatientPhysician.TabIndex = 1; - this.btnAddPatientPhysician.Text = "Add / Update User"; + this.btnAddPatientPhysician.Text = "Add / Update Person"; this.btnAddPatientPhysician.UseVisualStyleBackColor = false; // // btnViewInfo