private void InvalidateWindowRegion()
        {
            if (DesignMode)
            {
                return;
            }

            if (m_dummyControlPaintEventHandler == null)
            {
                m_dummyControlPaintEventHandler = new PaintEventHandler(DummyControl_Paint);
            }

            DummyControl.Paint += m_dummyControlPaintEventHandler;
            DummyControl.Invalidate();
        }
Exemple #2
0
 internal void SaveFocus()
 {
     DummyControl.Focus();
 }