From 5b5dedc7476880c31760e7310478070ac47ac3fe Mon Sep 17 00:00:00 2001 From: martinklusacek Date: Sun, 5 May 2024 01:20:00 +1000 Subject: [PATCH] Update Form1.cs a bit of cleanup --- BlackScholesModel/Form1.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/BlackScholesModel/Form1.cs b/BlackScholesModel/Form1.cs index c73e139..76d02ba 100644 --- a/BlackScholesModel/Form1.cs +++ b/BlackScholesModel/Form1.cs @@ -1,11 +1,4 @@ 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; using System.Diagnostics; @@ -25,13 +18,13 @@ public partial class Form1 : Form public Form1() { InitializeComponent(); - StopformResizing(); + StopFormResizing(); this.AdditemtoCombobox(); FillDefaultperiod(); } - private void StopformResizing() + private void StopFormResizing() { this.MaximizeBox = false; this.FormBorderStyle = FormBorderStyle.FixedSingle;