Esempio n. 1
0
        private void mWindow_CursorMove(WindowOverlayManager overlay, EventArgs args)
        {
            if (mCursor.OnScreen && !IsDisposed && Created)
            {
                Invoke(new Action(() => {
                    cursorPanel.Refresh();
                    splitContainer1.Panel1.Refresh();
                    Refresh();
                }));
            }

            Invalidate();
            splitContainer1.Panel1.Invalidate();
            cursorPanel.Invalidate();
        }
        private void mWindow_CursorMove(WindowOverlayManager overlay, EventArgs args)
        {
            if (mCursor.OnScreen && !IsDisposed && Created)
                Invoke(new Action(() => {
                    cursorPanel.Refresh();
                    splitContainer1.Panel1.Refresh();
                    Refresh();
                }));

            Invalidate();
            splitContainer1.Panel1.Invalidate();
            cursorPanel.Invalidate();
        }