GUI/MainForm.cs
changeset 299 072989c22a87
parent 298 96263190189a
child 304 16a86362c2ca
     1.1 --- a/GUI/MainForm.cs	Sun Jun 19 12:41:18 2011 +0000
     1.2 +++ b/GUI/MainForm.cs	Sun Jun 19 12:51:17 2011 +0000
     1.3 @@ -235,9 +235,9 @@
     1.4            gadget.Visible = showGadget.Value;
     1.5        };
     1.6  
     1.7 -      celciusMenuItem.Checked = 
     1.8 -        unitManager.TemperatureUnit == TemperatureUnit.Celcius;
     1.9 -      fahrenheitMenuItem.Checked = !celciusMenuItem.Checked;
    1.10 +      celsiusMenuItem.Checked = 
    1.11 +        unitManager.TemperatureUnit == TemperatureUnit.Celsius;
    1.12 +      fahrenheitMenuItem.Checked = !celsiusMenuItem.Checked;
    1.13  
    1.14        InitializePlotForm();
    1.15  
    1.16 @@ -689,14 +689,14 @@
    1.17        }
    1.18      }
    1.19  
    1.20 -    private void celciusMenuItem_Click(object sender, EventArgs e) {
    1.21 -      celciusMenuItem.Checked = true;
    1.22 +    private void celsiusMenuItem_Click(object sender, EventArgs e) {
    1.23 +      celsiusMenuItem.Checked = true;
    1.24        fahrenheitMenuItem.Checked = false;
    1.25 -      unitManager.TemperatureUnit = TemperatureUnit.Celcius;
    1.26 +      unitManager.TemperatureUnit = TemperatureUnit.Celsius;
    1.27      }
    1.28  
    1.29      private void fahrenheitMenuItem_Click(object sender, EventArgs e) {
    1.30 -      celciusMenuItem.Checked = false;
    1.31 +      celsiusMenuItem.Checked = false;
    1.32        fahrenheitMenuItem.Checked = true;
    1.33        unitManager.TemperatureUnit = TemperatureUnit.Fahrenheit;
    1.34      }