public override void OnIsVisibleChanged(bool oValue, bool nValue) { if (!IsVisible) { Grid.ClearLinks(); } base.OnIsVisibleChanged(oValue, nValue); }
public override void OnIsVisibleChanged(bool oValue, bool nValue) { base.OnIsVisibleChanged(oValue, nValue); UserGrid.ClearLinks(); if (!IsTrading || GameScene.Game.Observer) { return; } CEnvir.Enqueue(new C.TradeClose()); }
public override void OnIsVisibleChanged(bool oValue, bool nValue) { base.OnIsVisibleChanged(oValue, nValue); if (GameScene.Game.InventoryBox == null) { return; } if (IsVisible) { GameScene.Game.InventoryBox.Visible = true; } if (!IsVisible) { Grid.ClearLinks(); } }
public override void OnIsVisibleChanged(bool oValue, bool nValue) { if (!IsVisible) { Grid.ClearLinks(); } if (IsVisible) { BringToFront(); } if (Settings != null) { Settings.Visible = nValue; } base.OnIsVisibleChanged(oValue, nValue); }