mirror of https://github.com/quasar/Quasar.git
Listview flickering fix (#231)
This commit is contained in:
parent
ec40c47b26
commit
9051a9ff2b
|
@ -2,12 +2,11 @@
|
|||
|
||||
namespace xServer.Controls
|
||||
{
|
||||
public partial class ListViewEx : ListView
|
||||
public class ListViewEx : ListView
|
||||
{
|
||||
public ListViewEx()
|
||||
{
|
||||
base.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
|
||||
this.DoubleBuffered = true;
|
||||
SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace xServer.Controls
|
||||
{
|
||||
public partial class MainMenuEx : MainMenu
|
||||
public class MainMenuEx : MainMenu
|
||||
{
|
||||
public MainMenuEx()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue