void ReleaseDesignerOutlets() { if (LabelLat != null) { LabelLat.Dispose(); LabelLat = null; } if (LabelLng != null) { LabelLng.Dispose(); LabelLng = null; } }
void ReleaseDesignerOutlets() { if (CommandButton != null) { CommandButton.Dispose(); CommandButton = null; } if (StatusGroup != null) { StatusGroup.Dispose(); StatusGroup = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } }
void ReleaseDesignerOutlets() { if (lblMiles != null) { lblMiles.Dispose(); lblMiles = null; } if (lblTime != null) { lblTime.Dispose(); lblTime = null; } if (lblTypeCost != null) { lblTypeCost.Dispose(); lblTypeCost = null; } }