diff --git a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj index 85ac6fe..023bee6 100644 --- a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj +++ b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj @@ -58,12 +58,6 @@ frmInfo.cs - - Form - - - frmMain.cs - Form @@ -90,9 +84,6 @@ frmInfo.cs - - frmMain.cs - frmPrescription.cs diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index 5ac08ae..dd20708 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -30,28 +30,34 @@ 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(); - 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.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.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.mnusNavigation.SuspendLayout(); this.tbcInfo.SuspendLayout(); this.tbpPatient.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit(); @@ -67,15 +73,53 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPhysician.SuspendLayout(); this.SuspendLayout(); // + // mnusNavigation + // + 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.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(77, 20); + this.navigationToolStripMenuItem.Text = "Navigation"; + // + // addUpdatePatientAndPhysicianToolStripMenuItem + // + this.addUpdatePatientAndPhysicianToolStripMenuItem.Name = "addUpdatePatientAndPhysicianToolStripMenuItem"; + this.addUpdatePatientAndPhysicianToolStripMenuItem.Size = new System.Drawing.Size(255, 22); + this.addUpdatePatientAndPhysicianToolStripMenuItem.Text = "Add/Update Patient and Physician"; + // + // refillInfoToolStripMenuItem + // + this.refillInfoToolStripMenuItem.Name = "refillInfoToolStripMenuItem"; + this.refillInfoToolStripMenuItem.Size = new System.Drawing.Size(255, 22); + this.refillInfoToolStripMenuItem.Text = "Refill Info"; + // + // prescriptionInfoToolStripMenuItem + // + this.prescriptionInfoToolStripMenuItem.Name = "prescriptionInfoToolStripMenuItem"; + this.prescriptionInfoToolStripMenuItem.Size = new System.Drawing.Size(255, 22); + 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(12, 12); + this.tbcInfo.Location = new System.Drawing.Point(12, 27); this.tbcInfo.Name = "tbcInfo"; this.tbcInfo.SelectedIndex = 0; - this.tbcInfo.Size = new System.Drawing.Size(666, 356); + this.tbcInfo.Size = new System.Drawing.Size(666, 341); this.tbcInfo.TabIndex = 1; // // tbpPatient @@ -83,7 +127,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.tbpPatient.Controls.Add(this.splcPatient); this.tbpPatient.Location = new System.Drawing.Point(4, 22); this.tbpPatient.Name = "tbpPatient"; - this.tbpPatient.Size = new System.Drawing.Size(658, 330); + this.tbpPatient.Size = new System.Drawing.Size(658, 315); this.tbpPatient.TabIndex = 3; this.tbpPatient.Text = "Patient Info"; this.tbpPatient.UseVisualStyleBackColor = true; @@ -102,20 +146,10 @@ 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, 330); - this.splcPatient.SplitterDistance = 166; + this.splcPatient.Size = new System.Drawing.Size(658, 315); + this.splcPatient.SplitterDistance = 159; this.splcPatient.TabIndex = 0; // - // 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; - // // txtPatientLast // this.txtPatientLast.Location = new System.Drawing.Point(141, 67); @@ -176,47 +210,6 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPrescription.SplitterDistance = 160; this.splcPrescription.TabIndex = 0; // - // 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; - // - // 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; - // - // 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; - // - // 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:"; - // - // 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:"; - // // tbpPhysician // this.tbpPhysician.Controls.Add(this.splcPhysician); @@ -247,37 +240,56 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPhysician.SplitterDistance = 158; this.splcPhysician.TabIndex = 0; // - // btnPhysicianSearch + // lblRxNumber // - this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116); - this.btnPhysicianSearch.Name = "btnPhysicianSearch"; - this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23); - this.btnPhysicianSearch.TabIndex = 4; - this.btnPhysicianSearch.Text = "Search"; - this.btnPhysicianSearch.UseVisualStyleBackColor = true; + 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:"; // - // txtPhysicianLast + // lblPrescriptionLast // - 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; + 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:"; // - // txtPhysicianFirst + // btnPatientSearch // - 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; + 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; // - // lblPhysicianLast + // txtRxNumber // - 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:"; + 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 // @@ -288,17 +300,53 @@ namespace Louis__Pharmacy_CNSA212_FP 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.Name = "btnPhysicianSearch"; + this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23); + this.btnPhysicianSearch.TabIndex = 4; + this.btnPhysicianSearch.Text = "Search"; + this.btnPhysicianSearch.UseVisualStyleBackColor = true; + // // frmInfo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 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(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); @@ -316,10 +364,17 @@ 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 66296d6..17aa33b 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.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/frmMain.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs deleted file mode 100644 index 56f0dd7..0000000 --- a/Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs +++ /dev/null @@ -1,93 +0,0 @@ -namespace Louis__Pharmacy_CNSA212_FP -{ - partial class frmMain - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.navigationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.menuStrip1.SuspendLayout(); - this.SuspendLayout(); - // - // menuStrip1 - // - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.navigationToolStripMenuItem, - this.helpToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(800, 24); - this.menuStrip1.TabIndex = 0; - this.menuStrip1.Text = "menuStrip1"; - // - // navigationToolStripMenuItem - // - this.navigationToolStripMenuItem.Name = "navigationToolStripMenuItem"; - this.navigationToolStripMenuItem.Size = new System.Drawing.Size(77, 20); - this.navigationToolStripMenuItem.Text = "Navigation"; - // - // helpToolStripMenuItem - // - this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.aboutToolStripMenuItem}); - this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.helpToolStripMenuItem.Text = "Help"; - // - // aboutToolStripMenuItem - // - this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; - this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.aboutToolStripMenuItem.Text = "About"; - // - // frmMain - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.menuStrip1); - this.IsMdiContainer = true; - this.MainMenuStrip = this.menuStrip1; - this.Name = "frmMain"; - this.Text = "frmMain"; - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.MenuStrip menuStrip1; - private System.Windows.Forms.ToolStripMenuItem navigationToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; - } -} \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmMain.cs b/Louis'-Pharmacy_CNSA212-FP/frmMain.cs deleted file mode 100644 index 8c9d377..0000000 --- a/Louis'-Pharmacy_CNSA212-FP/frmMain.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace Louis__Pharmacy_CNSA212_FP -{ - public partial class frmMain : Form - { - public frmMain() - { - InitializeComponent(); - } - } -} diff --git a/Louis'-Pharmacy_CNSA212-FP/frmMain.resx b/Louis'-Pharmacy_CNSA212-FP/frmMain.resx deleted file mode 100644 index d5494e3..0000000 --- a/Louis'-Pharmacy_CNSA212-FP/frmMain.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 17, 17 - - \ No newline at end of file