Exemple #1
0
        public new void SetClickThrou()
        {
            var hwnd = new WindowInteropHelper(this).Handle;

            WindowsServices.SetWindowExTransparent(hwnd);
            foreach (var players in Controls)
            {
                players.Value.SetClickThrou();
            }
            _entityStats.SetClickThrou();
            _bossGageBar.SetClickThrou();
            NotifyIcon.ClickThrou.IsChecked = true;
            EntityStatsImage.Source         = BasicTeraData.Instance.ImageDatabase.EntityStatsClickThrou.Source;
        }
        public new void SetClickThrou()
        {
            var hwnd = new WindowInteropHelper(this).Handle;

            if (hwnd.ToInt64() == 0)
            {
                _needRefreshClickThrou = true;
                return;
            }
            _needRefreshClickThrou = false;
            WindowsServices.SetWindowExTransparent(hwnd);
            foreach (var players in Controls)
            {
                players.Value.SetClickThrou();
            }
            _entityStats.SetClickThrou();
            _popupNotification.SetClickThrou();
            _bossGageBar.SetClickThrou();
            EntityStatsImage.Source = BasicTeraData.Instance.ImageDatabase.EntityStatsClickThrou.Source;
        }