void ReleaseDesignerOutlets() { if (BtTapDescription != null) { BtTapDescription.Dispose(); BtTapDescription = null; } if (TvDescription != null) { TvDescription.Dispose(); TvDescription = null; } if (TvDuration != null) { TvDuration.Dispose(); TvDuration = null; } if (TvDurationDesc1 != null) { TvDurationDesc1.Dispose(); TvDurationDesc1 = null; } if (TvDurationDesc2 != null) { TvDurationDesc2.Dispose(); TvDurationDesc2 = null; } if (TvPrice != null) { TvPrice.Dispose(); TvPrice = null; } if (TvPriceDesc != null) { TvPriceDesc.Dispose(); TvPriceDesc = null; } if (TvPublisher != null) { TvPublisher.Dispose(); TvPublisher = null; } if (TvPublisherDesc != null) { TvPublisherDesc.Dispose(); TvPublisherDesc = null; } if (TvStartDate != null) { TvStartDate.Dispose(); TvStartDate = null; } if (TvStartDateDesc != null) { TvStartDateDesc.Dispose(); TvStartDateDesc = null; } }
public override void ViewDidLoad() { base.ViewDidLoad(); BtTapDescription.SetCommand("TouchUpInside", Application.Locator.CourseViewModel.SwitchDescriptionCommand); }