source: other-projects/fft-ddr/summer-2014/trunk/FFDDR/BeatPicturebox.cs@ 29750

Last change on this file since 29750 was 29750, checked in by cct9, 9 years ago

Reworking of pictureBox Paint event so it is using double-buffering correctly without background-erase issue

  • Property svn:executable set to *
File size: 431 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7using System.Windows.Forms;
8
9namespace FFDDR
10{
11 class BeatPicturebox : PictureBox
12 {
13 public BeatPicturebox()
14 {
15 this.SetStyle(ControlStyles.UserPaint, true);
16 this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
17
18 }
19 }
20}
Note: See TracBrowser for help on using the repository browser.