void ReleaseDesignerOutlets() { if (Acc != null) { Acc.Dispose(); Acc = null; } if (AccLbl != null) { AccLbl.Dispose(); AccLbl = null; } if (Alt != null) { Alt.Dispose(); Alt = null; } if (AltAcc != null) { AltAcc.Dispose(); AltAcc = null; } if (AltAccLbl != null) { AltAccLbl.Dispose(); AltAccLbl = null; } if (AltLbl != null) { AltLbl.Dispose(); AltLbl = null; } if (Error != null) { Error.Dispose(); Error = null; } if (ErrorLbl != null) { ErrorLbl.Dispose(); ErrorLbl = null; } if (Hdg != null) { Hdg.Dispose(); Hdg = null; } if (HdgAcc != null) { HdgAcc.Dispose(); HdgAcc = null; } if (HdgAccLbl != null) { HdgAccLbl.Dispose(); HdgAccLbl = null; } if (HdgLbl != null) { HdgLbl.Dispose(); HdgLbl = null; } if (Lat != null) { Lat.Dispose(); Lat = null; } if (LatLbl != null) { LatLbl.Dispose(); LatLbl = null; } if (Lon != null) { Lon.Dispose(); Lon = null; } if (LonLbl != null) { LonLbl.Dispose(); LonLbl = null; } if (Spd != null) { Spd.Dispose(); Spd = null; } if (SpdLbl != null) { SpdLbl.Dispose(); SpdLbl = null; } if (Updated != null) { Updated.Dispose(); Updated = null; } if (UpdatedLbl != null) { UpdatedLbl.Dispose(); UpdatedLbl = null; } }