void ReleaseDesignerOutlets()
 {
     if (callUsButt != null) {
         callUsButt.Dispose ();
         callUsButt = null;
     }
     if (directionsButton != null) {
         directionsButton.Dispose ();
         directionsButton = null;
     }
     if (logoLabel != null) {
         logoLabel.Dispose ();
         logoLabel = null;
     }
 }
示例#2
0
 void ReleaseDesignerOutlets()
 {
     if (callUsButt != null)
     {
         callUsButt.Dispose();
         callUsButt = null;
     }
     if (directionsButton != null)
     {
         directionsButton.Dispose();
         directionsButton = null;
     }
     if (logoLabel != null)
     {
         logoLabel.Dispose();
         logoLabel = null;
     }
 }