using System;
using System.Reflection;
using System.Windows.Forms;

namespace SL200_RTLogViewer.subForm
{
	// Token: 0x02000014 RID: 20
	public static class Extensions
	{
		// Token: 0x060000F0 RID: 240 RVA: 0x0001FE04 File Offset: 0x0001E004
		public static void DoubleBuffered(this Control control, bool enabled)
		{
			PropertyInfo property = control.GetType().GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic);
			property.SetValue(control, enabled, null);
		}
	}
}
