diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs index 59d6c78..5c9cfb0 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.Designer.cs @@ -30,63 +30,328 @@ 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.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.tabPatientPhysician.SuspendLayout(); + this.label20 = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.txtPhysFirstName = new System.Windows.Forms.TextBox(); + this.txtPhysMiddleName = new System.Windows.Forms.TextBox(); + this.txtPhysLastName = new System.Windows.Forms.TextBox(); + this.txtPhysDOB = new System.Windows.Forms.TextBox(); + this.txtPhysAddress1 = new System.Windows.Forms.TextBox(); + this.txtPhysAddress2 = new System.Windows.Forms.TextBox(); + this.txtPhysCity = new System.Windows.Forms.TextBox(); + this.txtPhysState = new System.Windows.Forms.TextBox(); + this.txtPhysZIP = new System.Windows.Forms.TextBox(); + this.rdoPhysMale = new System.Windows.Forms.RadioButton(); + this.rdoPhysFemale = new System.Windows.Forms.RadioButton(); + this.rdoPhysOther = new System.Windows.Forms.RadioButton(); + this.btnPhysSearch = new System.Windows.Forms.Button(); + this.btnPhysSubmit = new System.Windows.Forms.Button(); + this.tabPatient = new System.Windows.Forms.TabPage(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + 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.txtPatientFirstName = new System.Windows.Forms.TextBox(); + this.txtPatientMiddleName = new System.Windows.Forms.TextBox(); + this.txtPatientLastName = new System.Windows.Forms.TextBox(); + this.txtPatientDOB = new System.Windows.Forms.TextBox(); + this.txtPatientAddress1 = new System.Windows.Forms.TextBox(); + this.txtPatientAddress2 = new System.Windows.Forms.TextBox(); + this.txtPatientCity = new System.Windows.Forms.TextBox(); + this.txtPatientState = new System.Windows.Forms.TextBox(); + this.txtPatientZIP = new System.Windows.Forms.TextBox(); + this.rdoPatientMale = new System.Windows.Forms.RadioButton(); + this.rdoPatientFemale = new System.Windows.Forms.RadioButton(); + this.rdoPatientOther = new System.Windows.Forms.RadioButton(); + this.btnPatientSearch = new System.Windows.Forms.Button(); + this.btnPatientSubmit = new System.Windows.Forms.Button(); + this.tabPatientPhysician = new System.Windows.Forms.TabControl(); + this.tabPhysician.SuspendLayout(); this.tabPatient.SuspendLayout(); + this.tabPatientPhysician.SuspendLayout(); this.SuspendLayout(); // - // tabPatientPhysician + // tabPhysician // - this.tabPatientPhysician.Controls.Add(this.tabPatient); - this.tabPatientPhysician.Controls.Add(this.tabPhysician); - this.tabPatientPhysician.Location = new System.Drawing.Point(12, 27); - this.tabPatientPhysician.Name = "tabPatientPhysician"; - this.tabPatientPhysician.SelectedIndex = 0; - this.tabPatientPhysician.Size = new System.Drawing.Size(776, 411); - this.tabPatientPhysician.TabIndex = 0; + this.tabPhysician.Controls.Add(this.btnPhysSubmit); + this.tabPhysician.Controls.Add(this.btnPhysSearch); + this.tabPhysician.Controls.Add(this.rdoPhysOther); + this.tabPhysician.Controls.Add(this.rdoPhysFemale); + this.tabPhysician.Controls.Add(this.rdoPhysMale); + this.tabPhysician.Controls.Add(this.txtPhysZIP); + this.tabPhysician.Controls.Add(this.txtPhysState); + this.tabPhysician.Controls.Add(this.txtPhysCity); + this.tabPhysician.Controls.Add(this.txtPhysAddress2); + this.tabPhysician.Controls.Add(this.txtPhysAddress1); + this.tabPhysician.Controls.Add(this.txtPhysDOB); + this.tabPhysician.Controls.Add(this.txtPhysLastName); + this.tabPhysician.Controls.Add(this.txtPhysMiddleName); + this.tabPhysician.Controls.Add(this.txtPhysFirstName); + this.tabPhysician.Controls.Add(this.label5); + this.tabPhysician.Controls.Add(this.label12); + this.tabPhysician.Controls.Add(this.label13); + this.tabPhysician.Controls.Add(this.label14); + this.tabPhysician.Controls.Add(this.label15); + this.tabPhysician.Controls.Add(this.label16); + this.tabPhysician.Controls.Add(this.label17); + this.tabPhysician.Controls.Add(this.label18); + this.tabPhysician.Controls.Add(this.label19); + this.tabPhysician.Controls.Add(this.label20); + 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(768, 382); + this.tabPhysician.TabIndex = 1; + this.tabPhysician.Text = "Physician"; + this.tabPhysician.UseVisualStyleBackColor = true; + // + // label20 + // + this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label20.Location = new System.Drawing.Point(24, 61); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(100, 23); + this.label20.TabIndex = 30; + this.label20.Text = "First Name:"; + this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label19 + // + this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label19.Location = new System.Drawing.Point(8, 110); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(116, 23); + this.label19.TabIndex = 31; + this.label19.Text = "Middle Name:"; + this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label18 + // + this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label18.Location = new System.Drawing.Point(24, 160); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(100, 23); + this.label18.TabIndex = 32; + this.label18.Text = "Last Name:"; + this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label17 + // + this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label17.Location = new System.Drawing.Point(24, 209); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(100, 23); + this.label17.TabIndex = 33; + this.label17.Text = "DOB:"; + this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label16 + // + this.label16.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.label16.Location = new System.Drawing.Point(206, 12); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(332, 23); + this.label16.TabIndex = 34; + this.label16.Text = "Physician Information"; + this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label15 + // + this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label15.Location = new System.Drawing.Point(391, 61); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(100, 23); + this.label15.TabIndex = 35; + this.label15.Text = "Address 1:"; + this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label14 + // + this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label14.Location = new System.Drawing.Point(391, 110); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(100, 23); + this.label14.TabIndex = 36; + this.label14.Text = "Address 2:"; + this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label13 + // + this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label13.Location = new System.Drawing.Point(391, 160); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(100, 23); + this.label13.TabIndex = 37; + this.label13.Text = "City:"; + this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label12 + // + this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label12.Location = new System.Drawing.Point(391, 209); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(100, 23); + this.label12.TabIndex = 38; + this.label12.Text = "State:"; + this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label5 + // + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.Location = new System.Drawing.Point(391, 265); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(100, 23); + this.label5.TabIndex = 39; + this.label5.Text = "ZIP:"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // txtPhysFirstName + // + this.txtPhysFirstName.Location = new System.Drawing.Point(131, 61); + this.txtPhysFirstName.Name = "txtPhysFirstName"; + this.txtPhysFirstName.Size = new System.Drawing.Size(243, 22); + this.txtPhysFirstName.TabIndex = 0; + // + // txtPhysMiddleName + // + this.txtPhysMiddleName.Location = new System.Drawing.Point(131, 111); + this.txtPhysMiddleName.Name = "txtPhysMiddleName"; + this.txtPhysMiddleName.Size = new System.Drawing.Size(243, 22); + this.txtPhysMiddleName.TabIndex = 1; + // + // txtPhysLastName + // + this.txtPhysLastName.Location = new System.Drawing.Point(131, 161); + this.txtPhysLastName.Name = "txtPhysLastName"; + this.txtPhysLastName.Size = new System.Drawing.Size(243, 22); + this.txtPhysLastName.TabIndex = 2; + // + // txtPhysDOB + // + this.txtPhysDOB.Location = new System.Drawing.Point(131, 210); + this.txtPhysDOB.Name = "txtPhysDOB"; + this.txtPhysDOB.Size = new System.Drawing.Size(243, 22); + this.txtPhysDOB.TabIndex = 3; + // + // txtPhysAddress1 + // + this.txtPhysAddress1.Location = new System.Drawing.Point(497, 62); + this.txtPhysAddress1.Name = "txtPhysAddress1"; + this.txtPhysAddress1.Size = new System.Drawing.Size(243, 22); + this.txtPhysAddress1.TabIndex = 7; + // + // txtPhysAddress2 + // + this.txtPhysAddress2.Location = new System.Drawing.Point(497, 111); + this.txtPhysAddress2.Name = "txtPhysAddress2"; + this.txtPhysAddress2.Size = new System.Drawing.Size(243, 22); + this.txtPhysAddress2.TabIndex = 8; + // + // txtPhysCity + // + this.txtPhysCity.Location = new System.Drawing.Point(497, 161); + this.txtPhysCity.Name = "txtPhysCity"; + this.txtPhysCity.Size = new System.Drawing.Size(243, 22); + this.txtPhysCity.TabIndex = 9; + // + // txtPhysState + // + this.txtPhysState.Location = new System.Drawing.Point(497, 210); + this.txtPhysState.Name = "txtPhysState"; + this.txtPhysState.Size = new System.Drawing.Size(243, 22); + this.txtPhysState.TabIndex = 10; + // + // txtPhysZIP + // + this.txtPhysZIP.Location = new System.Drawing.Point(497, 266); + this.txtPhysZIP.Name = "txtPhysZIP"; + this.txtPhysZIP.Size = new System.Drawing.Size(243, 22); + this.txtPhysZIP.TabIndex = 11; + // + // rdoPhysMale + // + this.rdoPhysMale.AutoSize = true; + this.rdoPhysMale.Location = new System.Drawing.Point(131, 267); + this.rdoPhysMale.Name = "rdoPhysMale"; + this.rdoPhysMale.Size = new System.Drawing.Size(59, 21); + this.rdoPhysMale.TabIndex = 4; + this.rdoPhysMale.TabStop = true; + this.rdoPhysMale.Text = "Male"; + this.rdoPhysMale.UseVisualStyleBackColor = true; + // + // rdoPhysFemale + // + this.rdoPhysFemale.AutoSize = true; + this.rdoPhysFemale.Location = new System.Drawing.Point(210, 267); + this.rdoPhysFemale.Name = "rdoPhysFemale"; + this.rdoPhysFemale.Size = new System.Drawing.Size(75, 21); + this.rdoPhysFemale.TabIndex = 5; + this.rdoPhysFemale.TabStop = true; + this.rdoPhysFemale.Text = "Female"; + this.rdoPhysFemale.UseVisualStyleBackColor = true; + // + // rdoPhysOther + // + this.rdoPhysOther.AutoSize = true; + this.rdoPhysOther.Location = new System.Drawing.Point(309, 267); + this.rdoPhysOther.Name = "rdoPhysOther"; + this.rdoPhysOther.Size = new System.Drawing.Size(65, 21); + this.rdoPhysOther.TabIndex = 6; + this.rdoPhysOther.TabStop = true; + this.rdoPhysOther.Text = "Other"; + this.rdoPhysOther.UseVisualStyleBackColor = true; + // + // btnPhysSearch + // + this.btnPhysSearch.BackColor = System.Drawing.SystemColors.ButtonFace; + this.btnPhysSearch.Location = new System.Drawing.Point(233, 327); + this.btnPhysSearch.Name = "btnPhysSearch"; + this.btnPhysSearch.Size = new System.Drawing.Size(121, 26); + this.btnPhysSearch.TabIndex = 12; + this.btnPhysSearch.Text = "&Search"; + this.btnPhysSearch.UseVisualStyleBackColor = false; + // + // btnPhysSubmit + // + this.btnPhysSubmit.BackColor = System.Drawing.SystemColors.ButtonFace; + this.btnPhysSubmit.Location = new System.Drawing.Point(400, 327); + this.btnPhysSubmit.Name = "btnPhysSubmit"; + this.btnPhysSubmit.Size = new System.Drawing.Size(121, 26); + this.btnPhysSubmit.TabIndex = 13; + this.btnPhysSubmit.Text = "&Submit"; + this.btnPhysSubmit.UseVisualStyleBackColor = false; // // 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.btnPatientSubmit); + this.tabPatient.Controls.Add(this.btnPatientSearch); + this.tabPatient.Controls.Add(this.rdoPatientOther); + this.tabPatient.Controls.Add(this.rdoPatientFemale); + this.tabPatient.Controls.Add(this.rdoPatientMale); + this.tabPatient.Controls.Add(this.txtPatientZIP); + this.tabPatient.Controls.Add(this.txtPatientState); + this.tabPatient.Controls.Add(this.txtPatientCity); + this.tabPatient.Controls.Add(this.txtPatientAddress2); + this.tabPatient.Controls.Add(this.txtPatientAddress1); + this.tabPatient.Controls.Add(this.txtPatientDOB); + this.tabPatient.Controls.Add(this.txtPatientLastName); + this.tabPatient.Controls.Add(this.txtPatientMiddleName); + this.tabPatient.Controls.Add(this.txtPatientFirstName); this.tabPatient.Controls.Add(this.label11); this.tabPatient.Controls.Add(this.label10); this.tabPatient.Controls.Add(this.label9); @@ -105,201 +370,15 @@ namespace Louis__Pharmacy_CNSA212_FP this.tabPatient.Text = "Patient"; this.tabPatient.UseVisualStyleBackColor = true; // - // Submit + // label1 // - 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))); - 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; + 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; // // label2 // @@ -311,25 +390,211 @@ namespace Louis__Pharmacy_CNSA212_FP this.label2.Text = "Middle Name:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // label1 + // label3 // - 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; + 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; // - // tabPhysician + // label4 // - 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(768, 382); - this.tabPhysician.TabIndex = 1; - this.tabPhysician.Text = "Physician"; - this.tabPhysician.UseVisualStyleBackColor = true; + 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; + // + // 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; + // + // txtPatientFirstName + // + this.txtPatientFirstName.Location = new System.Drawing.Point(131, 61); + this.txtPatientFirstName.Name = "txtPatientFirstName"; + this.txtPatientFirstName.Size = new System.Drawing.Size(243, 22); + this.txtPatientFirstName.TabIndex = 0; + // + // txtPatientMiddleName + // + this.txtPatientMiddleName.Location = new System.Drawing.Point(131, 111); + this.txtPatientMiddleName.Name = "txtPatientMiddleName"; + this.txtPatientMiddleName.Size = new System.Drawing.Size(243, 22); + this.txtPatientMiddleName.TabIndex = 1; + // + // txtPatientLastName + // + this.txtPatientLastName.Location = new System.Drawing.Point(131, 161); + this.txtPatientLastName.Name = "txtPatientLastName"; + this.txtPatientLastName.Size = new System.Drawing.Size(243, 22); + this.txtPatientLastName.TabIndex = 2; + // + // txtPatientDOB + // + this.txtPatientDOB.Location = new System.Drawing.Point(131, 210); + this.txtPatientDOB.Name = "txtPatientDOB"; + this.txtPatientDOB.Size = new System.Drawing.Size(243, 22); + this.txtPatientDOB.TabIndex = 3; + // + // txtPatientAddress1 + // + this.txtPatientAddress1.Location = new System.Drawing.Point(497, 62); + this.txtPatientAddress1.Name = "txtPatientAddress1"; + this.txtPatientAddress1.Size = new System.Drawing.Size(243, 22); + this.txtPatientAddress1.TabIndex = 7; + // + // txtPatientAddress2 + // + this.txtPatientAddress2.Location = new System.Drawing.Point(497, 111); + this.txtPatientAddress2.Name = "txtPatientAddress2"; + this.txtPatientAddress2.Size = new System.Drawing.Size(243, 22); + this.txtPatientAddress2.TabIndex = 8; + // + // txtPatientCity + // + this.txtPatientCity.Location = new System.Drawing.Point(497, 161); + this.txtPatientCity.Name = "txtPatientCity"; + this.txtPatientCity.Size = new System.Drawing.Size(243, 22); + this.txtPatientCity.TabIndex = 9; + // + // txtPatientState + // + this.txtPatientState.Location = new System.Drawing.Point(497, 210); + this.txtPatientState.Name = "txtPatientState"; + this.txtPatientState.Size = new System.Drawing.Size(243, 22); + this.txtPatientState.TabIndex = 10; + // + // txtPatientZIP + // + this.txtPatientZIP.Location = new System.Drawing.Point(497, 266); + this.txtPatientZIP.Name = "txtPatientZIP"; + this.txtPatientZIP.Size = new System.Drawing.Size(243, 22); + this.txtPatientZIP.TabIndex = 11; + // + // rdoPatientMale + // + this.rdoPatientMale.AutoSize = true; + this.rdoPatientMale.Location = new System.Drawing.Point(131, 267); + this.rdoPatientMale.Name = "rdoPatientMale"; + this.rdoPatientMale.Size = new System.Drawing.Size(59, 21); + this.rdoPatientMale.TabIndex = 4; + this.rdoPatientMale.TabStop = true; + this.rdoPatientMale.Text = "Male"; + this.rdoPatientMale.UseVisualStyleBackColor = true; + // + // rdoPatientFemale + // + this.rdoPatientFemale.AutoSize = true; + this.rdoPatientFemale.Location = new System.Drawing.Point(210, 267); + this.rdoPatientFemale.Name = "rdoPatientFemale"; + this.rdoPatientFemale.Size = new System.Drawing.Size(75, 21); + this.rdoPatientFemale.TabIndex = 5; + this.rdoPatientFemale.TabStop = true; + this.rdoPatientFemale.Text = "Female"; + this.rdoPatientFemale.UseVisualStyleBackColor = true; + // + // rdoPatientOther + // + this.rdoPatientOther.AutoSize = true; + this.rdoPatientOther.Location = new System.Drawing.Point(309, 267); + this.rdoPatientOther.Name = "rdoPatientOther"; + this.rdoPatientOther.Size = new System.Drawing.Size(65, 21); + this.rdoPatientOther.TabIndex = 6; + this.rdoPatientOther.TabStop = true; + this.rdoPatientOther.Text = "Other"; + this.rdoPatientOther.UseVisualStyleBackColor = true; + // + // btnPatientSearch + // + this.btnPatientSearch.BackColor = System.Drawing.SystemColors.ButtonFace; + this.btnPatientSearch.Location = new System.Drawing.Point(233, 327); + this.btnPatientSearch.Name = "btnPatientSearch"; + this.btnPatientSearch.Size = new System.Drawing.Size(121, 26); + this.btnPatientSearch.TabIndex = 12; + this.btnPatientSearch.Text = "&Search"; + this.btnPatientSearch.UseVisualStyleBackColor = false; + // + // btnPatientSubmit + // + this.btnPatientSubmit.BackColor = System.Drawing.SystemColors.ButtonFace; + this.btnPatientSubmit.Location = new System.Drawing.Point(400, 327); + this.btnPatientSubmit.Name = "btnPatientSubmit"; + this.btnPatientSubmit.Size = new System.Drawing.Size(121, 26); + this.btnPatientSubmit.TabIndex = 13; + this.btnPatientSubmit.Text = "&Submit"; + this.btnPatientSubmit.UseVisualStyleBackColor = false; + // + // tabPatientPhysician + // + this.tabPatientPhysician.Controls.Add(this.tabPatient); + this.tabPatientPhysician.Controls.Add(this.tabPhysician); + this.tabPatientPhysician.Location = new System.Drawing.Point(12, 27); + this.tabPatientPhysician.Name = "tabPatientPhysician"; + this.tabPatientPhysician.SelectedIndex = 0; + this.tabPatientPhysician.Size = new System.Drawing.Size(776, 411); + this.tabPatientPhysician.TabIndex = 0; // // frmPatientPhysician // @@ -340,41 +605,67 @@ namespace Louis__Pharmacy_CNSA212_FP 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.tabPhysician.ResumeLayout(false); + this.tabPhysician.PerformLayout(); this.tabPatient.ResumeLayout(false); this.tabPatient.PerformLayout(); + 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; - 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.Button btnPhysSubmit; + private System.Windows.Forms.Button btnPhysSearch; + private System.Windows.Forms.RadioButton rdoPhysOther; + private System.Windows.Forms.RadioButton rdoPhysFemale; + private System.Windows.Forms.RadioButton rdoPhysMale; + private System.Windows.Forms.TextBox txtPhysZIP; + private System.Windows.Forms.TextBox txtPhysState; + private System.Windows.Forms.TextBox txtPhysCity; + private System.Windows.Forms.TextBox txtPhysAddress2; + private System.Windows.Forms.TextBox txtPhysAddress1; + private System.Windows.Forms.TextBox txtPhysDOB; + private System.Windows.Forms.TextBox txtPhysLastName; + private System.Windows.Forms.TextBox txtPhysMiddleName; + private System.Windows.Forms.TextBox txtPhysFirstName; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.TabPage tabPatient; + private System.Windows.Forms.Button btnPatientSubmit; + private System.Windows.Forms.Button btnPatientSearch; + private System.Windows.Forms.RadioButton rdoPatientOther; + private System.Windows.Forms.RadioButton rdoPatientFemale; + private System.Windows.Forms.RadioButton rdoPatientMale; + private System.Windows.Forms.TextBox txtPatientZIP; + private System.Windows.Forms.TextBox txtPatientState; + private System.Windows.Forms.TextBox txtPatientCity; + private System.Windows.Forms.TextBox txtPatientAddress2; + private System.Windows.Forms.TextBox txtPatientAddress1; + private System.Windows.Forms.TextBox txtPatientDOB; + private System.Windows.Forms.TextBox txtPatientLastName; + private System.Windows.Forms.TextBox txtPatientMiddleName; + private System.Windows.Forms.TextBox txtPatientFirstName; 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; + private System.Windows.Forms.Label label6; + 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.TabControl tabPatientPhysician; } } \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs index 2382864..b19d1de 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPatientPhysician.cs @@ -26,5 +26,10 @@ namespace Louis__Pharmacy_CNSA212_FP { } + + private void label12_Click(object sender, EventArgs e) + { + + } } }