protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (ToSelectButton != null) { if (!ToSelectButton.IsDisposed) { ToSelectButton.Dispose(); } ToSelectButton = null; } if (ExitButton != null) { if (!ExitButton.IsDisposed) { ExitButton.Dispose(); } ExitButton = null; } } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (Grid != null) { if (!Grid.IsDisposed) { Grid.Dispose(); } Grid = null; } if (GoldLabel != null) { if (!GoldLabel.IsDisposed) { GoldLabel.Dispose(); } GoldLabel = null; } if (WeightLabel != null) { if (!WeightLabel.IsDisposed) { WeightLabel.Dispose(); } WeightLabel = null; } if (FragmentButton != null) { if (!FragmentButton.IsDisposed) { FragmentButton.Dispose(); } FragmentButton = null; } } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { _Mode = 0; ModeChanged = null; LastPM = null; if (TextBox != null) { if (!TextBox.IsDisposed) { TextBox.Dispose(); } TextBox = null; } if (OptionsButton != null) { if (!OptionsButton.IsDisposed) { OptionsButton.Dispose(); } OptionsButton = null; } if (ChatModeButton != null) { if (!ChatModeButton.IsDisposed) { ChatModeButton.Dispose(); } ChatModeButton = null; } } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (NameTextBox != null) { if (!NameTextBox.IsDisposed) { NameTextBox.Dispose(); } NameTextBox = null; } if (RemoveButton != null) { if (!RemoveButton.IsDisposed) { RemoveButton.Dispose(); } RemoveButton = null; } if (TransparentCheckBox != null) { if (!TransparentCheckBox.IsDisposed) { TransparentCheckBox.Dispose(); } TransparentCheckBox = null; } if (AlertCheckBox != null) { if (!AlertCheckBox.IsDisposed) { AlertCheckBox.Dispose(); } AlertCheckBox = null; } if (LocalCheckBox != null) { if (!LocalCheckBox.IsDisposed) { LocalCheckBox.Dispose(); } LocalCheckBox = null; } if (WhisperCheckBox != null) { if (!WhisperCheckBox.IsDisposed) { WhisperCheckBox.Dispose(); } WhisperCheckBox = null; } if (GroupCheckBox != null) { if (!GroupCheckBox.IsDisposed) { GroupCheckBox.Dispose(); } GroupCheckBox = null; } if (GuildCheckBox != null) { if (!GuildCheckBox.IsDisposed) { GuildCheckBox.Dispose(); } GuildCheckBox = null; } if (ShoutCheckBox != null) { if (!ShoutCheckBox.IsDisposed) { ShoutCheckBox.Dispose(); } ShoutCheckBox = null; } if (GlobalCheckBox != null) { if (!GlobalCheckBox.IsDisposed) { GlobalCheckBox.Dispose(); } GlobalCheckBox = null; } if (ObserverCheckBox != null) { if (!ObserverCheckBox.IsDisposed) { ObserverCheckBox.Dispose(); } ObserverCheckBox = null; } if (SystemCheckBox != null) { if (!SystemCheckBox.IsDisposed) { SystemCheckBox.Dispose(); } SystemCheckBox = null; } if (GainsCheckBox != null) { if (!GainsCheckBox.IsDisposed) { GainsCheckBox.Dispose(); } GainsCheckBox = null; } if (HintCheckBox != null) { if (!HintCheckBox.IsDisposed) { HintCheckBox.Dispose(); } HintCheckBox = null; } } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (Grid != null) { if (!Grid.IsDisposed) { Grid.Dispose(); } Grid = null; } if (TitleLabel != null) { if (!TitleLabel.IsDisposed) { TitleLabel.Dispose(); } TitleLabel = null; } if (GoldLabel != null) { if (!GoldLabel.IsDisposed) { GoldLabel.Dispose(); } GoldLabel = null; } if (GameGoldLabel != null) { if (!GameGoldLabel.IsDisposed) { GameGoldLabel.Dispose(); } GameGoldLabel = null; } if (WeightLabel != null) { if (!WeightLabel.IsDisposed) { WeightLabel.Dispose(); } WeightLabel = null; } if (CurrencyLabel != null) { if (!CurrencyLabel.IsDisposed) { CurrencyLabel.Dispose(); } CurrencyLabel = null; } if (CloseButton != null) { if (!CloseButton.IsDisposed) { CloseButton.Dispose(); } CloseButton = null; } if (SortButton != null) { if (!SortButton.IsDisposed) { SortButton.Dispose(); } SortButton = null; } if (TrashButton != null) { if (!TrashButton.IsDisposed) { TrashButton.Dispose(); } TrashButton = null; } if (GoldTitle != null) { if (!GoldTitle.IsDisposed) { GoldTitle.Dispose(); } GameGoldTitle = null; } if (GameGoldTitle != null) { if (!GameGoldTitle.IsDisposed) { GameGoldTitle.Dispose(); } GameGoldTitle = null; } } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { IsTrading = false; PlayerItems = null; if (UserLabel != null) { if (!UserLabel.IsDisposed) { UserLabel.Dispose(); } UserLabel = null; } if (PlayerLabel != null) { if (!PlayerLabel.IsDisposed) { PlayerLabel.Dispose(); } PlayerLabel = null; } if (UserGrid != null) { if (!UserGrid.IsDisposed) { UserGrid.Dispose(); } UserGrid = null; } if (PlayerGrid != null) { if (!PlayerGrid.IsDisposed) { PlayerGrid.Dispose(); } PlayerGrid = null; } if (UserGoldLabel != null) { if (!UserGoldLabel.IsDisposed) { UserGoldLabel.Dispose(); } UserGoldLabel = null; } if (PlayerGoldLabel != null) { if (!PlayerGoldLabel.IsDisposed) { PlayerGoldLabel.Dispose(); } PlayerGoldLabel = null; } if (ConfirmButton != null) { if (!ConfirmButton.IsDisposed) { ConfirmButton.Dispose(); } ConfirmButton = null; } } }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (CollectAllButton != null) { if (!CollectAllButton.IsDisposed) { CollectAllButton.Dispose(); } CollectAllButton = null; } if (DeleteAll != null) { if (!DeleteAll.IsDisposed) { DeleteAll.Dispose(); } DeleteAll = null; } if (NewButton != null) { if (!NewButton.IsDisposed) { NewButton.Dispose(); } NewButton = null; } if (Header != null) { if (!Header.IsDisposed) { Header.Dispose(); } Header = null; } if (ScrollBar != null) { if (!ScrollBar.IsDisposed) { ScrollBar.Dispose(); } ScrollBar = null; } if (NewButton != null) { if (!NewButton.IsDisposed) { NewButton.Dispose(); } NewButton = null; } if (Rows != null) { for (int i = 0; i < Rows.Length; i++) { if (Rows[i] != null) { if (!Rows[i].IsDisposed) { Rows[i].Dispose(); } Rows[i] = null; } } Rows = null; } MailList.Clear(); MailList = null; } }