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();
        }
Exemple #2
0
 internal void ResetDummy()
 {
     DummyControl.ResetBackColor();
 }
 internal void SaveFocus()
 {
     DummyControl.Focus();
 }