Esempio n. 1
0
        /// <summary>
        /// Sets the talk window position relative to the currently actvie
        /// scanner
        /// </summary>
        /// <param name="scannerForm">the scanner</param>
        public void SetTalkWindowPosition(Form scannerForm)
        {
            Log.Debug("Entering...");

            if (_talkWindowForm == null || !_talkWindowForm.Visible)
            {
                return;
            }

            setTalkWindowPosition(scannerForm);

            _talkWindowForm.Invoke(new MethodInvoker(() => _talkWindow.OnPositionChanged()));
        }
Esempio n. 2
0
        /// <summary>
        /// Sets the talk window position relative to the currently actvie
        /// scanner
        /// </summary>
        /// <param name="scannerForm">the scanner</param>
        public void SetTalkWindowPosition(Form scannerForm)
        {
            Log.Debug("Entering...");

            if (_talkWindowForm == null || !_talkWindowForm.Visible)
            {
                return;
            }

            if (Context.AppPanelManager.PanelDisplayMode != DisplayModeTypes.Popup)
            {
                setTalkWindowPosition(scannerForm);
            }

            _talkWindowForm.Invoke(new MethodInvoker(() => _talkWindow.OnPositionChanged()));
        }