void ReleaseDesignerOutlets() { if (DividerView != null) { DividerView.Dispose(); DividerView = null; } if (RoomLabel != null) { RoomLabel.Dispose(); RoomLabel = null; } if (TimeLabel != null) { TimeLabel.Dispose(); TimeLabel = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (EndTimeLabel != null) { EndTimeLabel.Dispose(); EndTimeLabel = null; } }
void ReleaseDesignerOutlets() { if (BackCalcView != null) { BackCalcView.Dispose(); BackCalcView = null; } if (BackOddsInput != null) { BackOddsInput.Dispose(); BackOddsInput = null; } if (BackOddsLabel != null) { BackOddsLabel.Dispose(); BackOddsLabel = null; } if (BackStakeInput != null) { BackStakeInput.Dispose(); BackStakeInput = null; } if (BackStakeLabel != null) { BackStakeLabel.Dispose(); BackStakeLabel = null; } if (BetCalcView != null) { BetCalcView.Dispose(); BetCalcView = null; } if (BetTypeSegment != null) { BetTypeSegment.Dispose(); BetTypeSegment = null; } if (BookmakerWinsLabel != null) { BookmakerWinsLabel.Dispose(); BookmakerWinsLabel = null; } if (BookmakerWinsValueLabel != null) { BookmakerWinsValueLabel.Dispose(); BookmakerWinsValueLabel = null; } if (DividerView != null) { DividerView.Dispose(); DividerView = null; } if (ExchangeWinsLabel != null) { ExchangeWinsLabel.Dispose(); ExchangeWinsLabel = null; } if (ExchangeWinsValueLabel != null) { ExchangeWinsValueLabel.Dispose(); ExchangeWinsValueLabel = null; } if (LayCalcView != null) { LayCalcView.Dispose(); LayCalcView = null; } if (LayCommissionInput != null) { LayCommissionInput.Dispose(); LayCommissionInput = null; } if (LayCommissionLabel != null) { LayCommissionLabel.Dispose(); LayCommissionLabel = null; } if (LayOddsInput != null) { LayOddsInput.Dispose(); LayOddsInput = null; } if (LayOddsLabel != null) { LayOddsLabel.Dispose(); LayOddsLabel = null; } if (LayStakeLabel != null) { LayStakeLabel.Dispose(); LayStakeLabel = null; } if (LayStakeValueLabel != null) { LayStakeValueLabel.Dispose(); LayStakeValueLabel = null; } if (LiabilityLabel != null) { LiabilityLabel.Dispose(); LiabilityLabel = null; } if (LiabilityValueLabel != null) { LiabilityValueLabel.Dispose(); LiabilityValueLabel = null; } if (SpacerViewFive != null) { SpacerViewFive.Dispose(); SpacerViewFive = null; } if (SpacerViewFour != null) { SpacerViewFour.Dispose(); SpacerViewFour = null; } if (SpacerViewOne != null) { SpacerViewOne.Dispose(); SpacerViewOne = null; } if (SpacerViewThree != null) { SpacerViewThree.Dispose(); SpacerViewThree = null; } if (SpacerViewTwo != null) { SpacerViewTwo.Dispose(); SpacerViewTwo = null; } }