示例#1
0
        public void UnsetClickThrou()
        {
            var hwnd = new WindowInteropHelper(this).Handle;

            WindowsServices.SetWindowExVisible(hwnd);
            foreach (var players in Controls)
            {
                players.Value.UnsetClickThrou();
            }
            _entityStats.UnsetClickThrou();
            _clickThrou.Text        = "Activate click throu";
            EntityStatsImage.Source = BasicTeraData.Instance.ImageDatabase.EntityStats.Source;
        }
示例#2
0
        public void UnsetClickThrou()
        {
            var hwnd = new WindowInteropHelper(this).Handle;

            WindowsServices.SetWindowExVisible(hwnd);
            foreach (var players in Controls)
            {
                players.Value.UnsetClickThrou();
            }
            _entityStats.UnsetClickThrou();
            _systemTray.ClickThrou.Checked = false;
            EntityStatsImage.Source        = BasicTeraData.Instance.ImageDatabase.EntityStats.Source;
        }
示例#3
0
        public void SetClickThrou()
        {
            var hwnd = new WindowInteropHelper(this).Handle;

            WindowsServices.SetWindowExTransparent(hwnd);
            foreach (var players in Controls)
            {
                players.Value.SetClickThrou();
            }
            _entityStats.SetClickThrou();
            NotifyIcon.ClickThrou.IsChecked = true;
            EntityStatsImage.Source         = BasicTeraData.Instance.ImageDatabase.EntityStatsClickThrou.Source;
        }
示例#4
0
        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();
            _popupNotification.UnsetClickThrou();
            //NotifyIcon.ClickThrou.IsChecked = false;
            EntityStatsImage.Source = BasicTeraData.Instance.ImageDatabase.EntityStats.Source;
        }
示例#5
0
        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;
        }
示例#6
0
        public void UnsetClickThrou()
        {
            var hwnd = new WindowInteropHelper(this).Handle;

            WindowsServices.SetWindowExVisible(hwnd);
        }
示例#7
0
        public void SetClickThrou()
        {
            var hwnd = new WindowInteropHelper(this).Handle;

            WindowsServices.SetWindowExTransparent(hwnd);
        }