GUI/SensorNotifyIcon.cs
changeset 85 ec4ccaa1210d
parent 72 c4dfd596a6c3
child 86 b4f0f206173d
     1.1 --- a/GUI/SensorNotifyIcon.cs	Sat Mar 27 13:04:34 2010 +0000
     1.2 +++ b/GUI/SensorNotifyIcon.cs	Sat Mar 27 19:55:09 2010 +0000
     1.3 @@ -129,7 +129,6 @@
     1.4        if (icon != null)
     1.5          icon.Dispose();      
     1.6        notifyIcon.Dispose();
     1.7 -      notifyIcon = null;
     1.8  
     1.9        if (brush != null)
    1.10          brush.Dispose();
    1.11 @@ -137,10 +136,8 @@
    1.12          darkBrush.Dispose();
    1.13        pen.Dispose();
    1.14        font.Dispose();
    1.15 -      graphics.Dispose();
    1.16 -      graphics = null;
    1.17 -      bitmap.Dispose();
    1.18 -      bitmap = null;
    1.19 +      graphics.Dispose();      
    1.20 +      bitmap.Dispose();      
    1.21      }
    1.22  
    1.23      private string GetString() {