Click here to Skip to main content
12,749,285 members (34,233 online)
Click here to Skip to main content

Stats

323.2K views
11.1K downloads
203 bookmarked
Posted 28 Jan 2006

Don't Flicker! Double Buffer!

, 31 Jan 2006 CPOL
Demonstrates several ways to overcome the annoying flickering problem.
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace DoubleBufferExample
{
	static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new Example());
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Gil.Schmidt
Team Leader
Israel Israel
No Biography provided

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170215.1 | Last Updated 1 Feb 2006
Article Copyright 2006 by Gil.Schmidt
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid