Ejemplo n.º 1
0
        public bool HandleProcessDialogKey(int keyData)
        {
            _canvasViewport.FullMode = false;
            bool result = _topWinEventRoot.RootProcessDialogKey((int)keyData);

            if (result)
            {
                PrepareRenderAndFlushAccumGraphics();
            }
            return(result);
        }
Ejemplo n.º 2
0
        //#if DEBUG
        //        static int dbug_preview_dialogKey_count = 0;
        //#endif

        public bool HandleProcessDialogKey(Keys keyData)
        {
            //#if DEBUG
            //            Console.WriteLine("prev_dlgkey" + (dbug_preview_dialogKey_count++));
            //#endif
            _canvasViewport.FullMode = false;
            bool result = _topWinEventRoot.RootProcessDialogKey((int)keyData);

            if (result)
            {
                PrepareRenderAndFlushAccumGraphics();
            }
            return(result);
        }
Ejemplo n.º 3
0
        //#if DEBUG
        //        static int dbug_preview_dialogKey_count = 0;
        //#endif

        public bool HandleProcessDialogKey(UIKeys keyData)
        {
            //#if DEBUG
            //          System.Diagnostics.Debug.WriteLine("prev_dlgkey" + (dbug_preview_dialogKey_count++));
            //#endif
            _canvasViewport.FullMode = false;
            _keyEventArgs.SetEventInfo((uint)keyData, false, false, false, UIEventName.ProcessDialogKey);//f-f-f will be set later
            bool result = _topWinEventRoot.RootProcessDialogKey(_keyEventArgs);

            if (result)
            {
                PrepareRenderAndFlushAccumGraphics();
            }

            return(result);
        }