public new void UnsetClickThrou() { var hwnd = new WindowInteropHelper(this).Handle; WindowsServices.SetWindowExVisible(hwnd); foreach (var players in Controls) { players.Value.UnsetClickThrou(); } _entityStats.UnsetClickThrou(); _bossGageBar.UnsetClickThrou(); NotifyIcon.ClickThrou.IsChecked = false; EntityStatsImage.Source = BasicTeraData.Instance.ImageDatabase.EntityStats.Source; }
public new void UnsetClickThrou() { var hwnd = new WindowInteropHelper(this).Handle; if (hwnd.ToInt64() == 0) { _needRefreshClickThrou = true; return; } _needRefreshClickThrou = false; WindowsServices.SetWindowExVisible(hwnd); foreach (var players in Controls) { players.Value.UnsetClickThrou(); } _entityStats.UnsetClickThrou(); _bossGageBar.UnsetClickThrou(); _popupNotification.UnsetClickThrou(); EntityStatsImage.Source = BasicTeraData.Instance.ImageDatabase.EntityStats.Source; }