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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 |
|
---|
7 | using System.Windows.Forms;
|
---|
8 |
|
---|
9 | namespace 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.