void ReleaseDesignerOutlets() { if (AvailableLabel != null) { AvailableLabel.Dispose(); AvailableLabel = null; } if (mapView != null) { mapView.Dispose(); mapView = null; } if (MarkLocButton != null) { MarkLocButton.Dispose(); MarkLocButton = null; } if (ProgressFinishButton != null) { ProgressFinishButton.Dispose(); ProgressFinishButton = null; } if (TaskDescLabel != null) { TaskDescLabel.Dispose(); TaskDescLabel = null; } }
void ReleaseDesignerOutlets() { if (AttachedSensorsTable != null) { AttachedSensorsTable.Dispose(); AttachedSensorsTable = null; } if (AvailableLabel != null) { AvailableLabel.Dispose(); AvailableLabel = null; } if (AvailableSensorsTable != null) { AvailableSensorsTable.Dispose(); AvailableSensorsTable = null; } }