Exemple #1
0
        private void InvalidateWindowRegion()
        {
            if (DesignMode)
            {
                return;
            }

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

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