System.Windows.Forms.Control.ResumeDrawing(bool)

Here are the examples of the csharp api class System.Windows.Forms.Control.ResumeDrawing(bool) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: SirenOfShame
Source File: ControlHelpers.cs
public static void SuspendDrawing(this Control target, Action action)
        {
            target.SuspendDrawing();
            try
            {
                action();
            }
            finally
            {
                target.ResumeDrawing();
            }
        }