Double Buffer Panel
Bom pessoal, esse é o meu código:
using System;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using FSUIPC;
namespace project_Csharp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
public class DoubleBufferPanel : Panel
{
public DoubleBufferPanel()
{
// Set the value of the double-buffering style bits to true.
this.SetStyle(ControlStyles.DoubleBuffer |
ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint,
true);
this.UpdateStyles();
}
}
}
Só que o Buffer Panel não aparece no meu projeto, alguém pode me ajudar com isso?? :(
Discussão (6)
Carregando comentários...