From f6748bd914795877cb947e36c687c5a258d5ba0e Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Fri, 2 Feb 2024 14:33:29 -0500 Subject: [PATCH 1/2] Added Button to Add Patient/Physician Form. --- .../frmAddPatientPhysician.Designer.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs index 8caf93d..4835450 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs @@ -30,14 +30,26 @@ namespace Louis__Pharmacy_CNSA212_FP private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddPatientPhysician)); + this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // + // button1 + // + this.button1.Location = new System.Drawing.Point(358, 178); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 0; + this.button1.Text = "button1"; + this.button1.UseVisualStyleBackColor = true; + // // frmAddPatientPhysician // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); + this.ClientSize = new System.Drawing.Size(600, 366); + this.Controls.Add(this.button1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Name = "frmAddPatientPhysician"; this.Text = "Louis\' Pharmacy - Add Patient / Physician"; this.ResumeLayout(false); @@ -45,5 +57,7 @@ namespace Louis__Pharmacy_CNSA212_FP } #endregion + + private System.Windows.Forms.Button button1; } } \ No newline at end of file From 74a755251ebb82f70b3e74d71dddab1ffca4c702 Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Fri, 2 Feb 2024 14:35:34 -0500 Subject: [PATCH 2/2] Removed Button from Add/Update Form. --- .../frmAddPatientPhysician.Designer.cs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs index 4835450..4282843 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmAddPatientPhysician.Designer.cs @@ -30,26 +30,15 @@ namespace Louis__Pharmacy_CNSA212_FP private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddPatientPhysician)); - this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // - // button1 - // - this.button1.Location = new System.Drawing.Point(358, 178); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(75, 23); - this.button1.TabIndex = 0; - this.button1.Text = "button1"; - this.button1.UseVisualStyleBackColor = true; - // // frmAddPatientPhysician // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(600, 366); - this.Controls.Add(this.button1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.Margin = new System.Windows.Forms.Padding(2); this.Name = "frmAddPatientPhysician"; this.Text = "Louis\' Pharmacy - Add Patient / Physician"; this.ResumeLayout(false); @@ -57,7 +46,5 @@ namespace Louis__Pharmacy_CNSA212_FP } #endregion - - private System.Windows.Forms.Button button1; } } \ No newline at end of file