Example #1
0
        /// <summary>
        /// Shows the window
        /// </summary>
        /// <param name="windowHandle"></param>
        private void ShowWindow(IntPtr windowHandle)
        {
            windowHandle.BringToTop();

            //If we are working in touch optimized mode, open every window in full screen (e.g. maximized), except XULRunner because it seems not to accept the working area property and resizes to fully fullscreen
            if (SebInstance.Settings.Get<bool>(SebSettings.KeyTouchOptimized) && !_process.ProcessName.Contains("xulrunner"))
                _openedWindows.First().Key.MaximizeWindow();

            this.Close();
        }
Example #2
0
        /// <summary>
        /// Shows the window
        /// </summary>
        /// <param name="windowHandle"></param>
        private void ShowWindow(IntPtr windowHandle)
        {
            windowHandle.BringToTop();

            //If we are working in touch optimized mode, open every window in full screen (e.g. maximized), except XULRunner because it seems not to accept the working area property and resizes to fully fullscreen
            if ((Boolean) SEBClientInfo.getSebSetting(SEBSettings.KeyTouchOptimized)[SEBSettings.KeyTouchOptimized]
                 //            && !_process.ProcessName.Contains("xulrunner"))
            )
            {
               
                _openedWindows.First().Key.MaximizeWindow();
            }

            this.Close();
        }