mirror of
https://github.com/BluestormDNA/ProjectPSX.git
synced 2025-04-02 10:52:34 -04:00
* Push Interop * GDI Render: UI * Gdi: Add BltMode * Winform GDI: Handle y ranges This is badly handled and X still left
14 lines
377 B
C#
14 lines
377 B
C#
using System.Windows.Forms;
|
|
|
|
namespace ProjectPSX.Util {
|
|
public class DoubleBufferedPanel : Panel {
|
|
|
|
public DoubleBufferedPanel() {
|
|
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
|
SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
|
|
SetStyle(ControlStyles.UserPaint, false);
|
|
|
|
UpdateStyles();
|
|
}
|
|
}
|
|
}
|