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