void ReleaseDesignerOutlets() { if (DetailsLabel != null) { DetailsLabel.Dispose(); DetailsLabel = null; } if (MainImageView != null) { MainImageView.Dispose(); MainImageView = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (DetailsConstraint != null) { DetailsConstraint.Dispose(); DetailsConstraint = null; } }
void ReleaseDesignerOutlets() { if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (InvocationLabel != null) { InvocationLabel.Dispose(); InvocationLabel = null; } if (DetailsLabel != null) { DetailsLabel.Dispose(); DetailsLabel = null; } if (TagsIcon != null) { TagsIcon.Dispose(); TagsIcon = null; } if (BillableIcon != null) { BillableIcon.Dispose(); BillableIcon = null; } }
public new void Dispose() { this.Indicator = null; if (Label != null) { Label.Dispose(); Label = null; } if (DetailsLabel != null) { DetailsLabel.Dispose(); DetailsLabel = null; } if (GraceTimer != null) { GraceTimer.Dispose(); GraceTimer = null; } if (MinShowTimer != null) { MinShowTimer.Dispose(); MinShowTimer = null; } base.Dispose(); }
private void UpdateVisibility(bool animated) { if (DataContext == null) { return; } ThumbImageView.SetHidden(!DataContext.IsLogoVisible, animated); ThumbLabel.SetHidden(IsExpanded || !DataContext.IsLogoVisible || DataContext.Show.HasPictures(), animated); StartTimeLabel.SetHidden(!DataContext.IsTimeVisible, animated); EndTimeLabel.SetHidden(!DataContext.IsTimeVisible, animated); EndTimeLabel.TextColor = IsExpanded ? ThemeColors.ContentLightTextPassive : ThemeColors.BorderLight; var isLocationHidden = !IsExpanded || !DataContext.IsLocationAvailable; NavigateOnMapButton.SetHidden(isLocationHidden, animated); LocationLabel.SetHidden(isLocationHidden, animated); var isDescriptionHidden = !IsExpanded || GetShowDescription(DataContext.Show, !DataContext.IsTimeVisible) == null; DescriptionLabel.SetHidden(isDescriptionHidden, animated); var isDetailsHidden = !IsExpanded || !DataContext.Show.HasDetailsUrl(); DetailsLabel.SetHidden(isDetailsHidden, animated); DetailsButton.SetHidden(isDetailsHidden, animated); }
private void metroTile9_Click(object sender, EventArgs e) { MenuLabel.Text = metroTile9.Text; DetailsLabel.Hide(); GeneralSetting.Show(); AccountSettingButton.Show(); GeneralSettingButton.Show(); Accountsetting.Show(); }
public void Dispose() { this.Indicator = null; Label.Dispose(); Label = null; DetailsLabel.Dispose(); DetailsLabel = null; GraceTimer.Dispose(); GraceTimer = null; MinShowTimer.Dispose(); MinShowTimer = null; base.Dispose(); }
public override void WillActivate() { base.WillActivate(); if (_trade == null) { Console.WriteLine("Error: trade is null in TradeConfirmController WillActivate"); return; } var currency = _trade.CurrencyPair.Replace(_trade.DealtCurrency, ""); SetTitle(_trade.DealtCurrency + "/" + currency); var text = _trade.ToAttributedString(); DetailsLabel.SetText(text); }
void ReleaseDesignerOutlets() { if (CustomTableView != null) { CustomTableView.Dispose(); CustomTableView = null; } if (DetailsLabel != null) { DetailsLabel.Dispose(); DetailsLabel = null; } if (ProgressView != null) { ProgressView.Dispose(); ProgressView = null; } }
void ReleaseDesignerOutlets() { if (BottomBorderLeftConstraint != null) { BottomBorderLeftConstraint.Dispose(); BottomBorderLeftConstraint = null; } if (DescriptionAndDetailsSpaceConstraint != null) { DescriptionAndDetailsSpaceConstraint.Dispose(); DescriptionAndDetailsSpaceConstraint = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (DetailsButton != null) { DetailsButton.Dispose(); DetailsButton = null; } if (DetailsLabel != null) { DetailsLabel.Dispose(); DetailsLabel = null; } if (EndTimeLabel != null) { EndTimeLabel.Dispose(); EndTimeLabel = null; } if (LocationAndDescriptionConstraint != null) { LocationAndDescriptionConstraint.Dispose(); LocationAndDescriptionConstraint = null; } if (LocationLabel != null) { LocationLabel.Dispose(); LocationLabel = null; } if (NavigateOnMapButton != null) { NavigateOnMapButton.Dispose(); NavigateOnMapButton = null; } if (Separator != null) { Separator.Dispose(); Separator = null; } if (StarButton != null) { StarButton.Dispose(); StarButton = null; } if (StartTimeLabel != null) { StartTimeLabel.Dispose(); StartTimeLabel = null; } if (ThumbHeightConstraint != null) { ThumbHeightConstraint.Dispose(); ThumbHeightConstraint = null; } if (ThumbImageView != null) { ThumbImageView.Dispose(); ThumbImageView = null; } if (ThumbLabel != null) { ThumbLabel.Dispose(); ThumbLabel = null; } if (ThumbLabelView != null) { ThumbLabelView.Dispose(); ThumbLabelView = null; } if (ThumbLeftConstraint != null) { ThumbLeftConstraint.Dispose(); ThumbLeftConstraint = null; } if (ThumbTopConstraint != null) { ThumbTopConstraint.Dispose(); ThumbTopConstraint = null; } if (ThumbWidthConstraint != null) { ThumbWidthConstraint.Dispose(); ThumbWidthConstraint = null; } if (TimeBackgroundView != null) { TimeBackgroundView.Dispose(); TimeBackgroundView = null; } if (TimeTopConstraint != null) { TimeTopConstraint.Dispose(); TimeTopConstraint = null; } if (TitleAndLocationConstraint != null) { TitleAndLocationConstraint.Dispose(); TitleAndLocationConstraint = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (TitleLeftConstraint != null) { TitleLeftConstraint.Dispose(); TitleLeftConstraint = null; } }
void ReleaseDesignerOutlets() { if (PathToRectangleAppField != null) { PathToRectangleAppField.Dispose(); PathToRectangleAppField = null; } if (TimeoutField != null) { TimeoutField.Dispose(); TimeoutField = null; } if (TestFinishedLabel != null) { TestFinishedLabel.Dispose(); TestFinishedLabel = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } if (StatusValueLabel != null) { StatusValueLabel.Dispose(); StatusValueLabel = null; } if (DetailsLabel != null) { DetailsLabel.Dispose(); DetailsLabel = null; } if (CurrentAngelLabel != null) { CurrentAngelLabel.Dispose(); CurrentAngelLabel = null; } if (CurrentAngelValueLabel != null) { CurrentAngelValueLabel.Dispose(); CurrentAngelValueLabel = null; } if (FpsLabel != null) { FpsLabel.Dispose(); FpsLabel = null; } if (FpsValueLabel != null) { FpsValueLabel.Dispose(); FpsValueLabel = null; } if (ShowStatisticsButton != null) { ShowStatisticsButton.Dispose(); ShowStatisticsButton = null; } if (StartTestButton != null) { StartTestButton.Dispose(); StartTestButton = null; } if (DetailsTextView != null) { DetailsTextView.Dispose(); DetailsTextView = null; } }