mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Fixed redrawing on MemoryTab (Same problem as CA-122425: Usability - Poor refresh rate when using the scroll-bar on the GPU tab.)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
f209c47abd
commit
fd6d5a3452
@ -64,6 +64,18 @@ namespace XenAdmin.TabPages
|
||||
List<Host> hosts = new List<Host>();
|
||||
List<VM> vms = new List<VM>();
|
||||
private readonly CollectionChangeEventHandler Host_CollectionChangedWithInvoke;
|
||||
|
||||
//solution from: http://stackoverflow.com/questions/2612487/how-to-fix-the-flickering-in-user-controls
|
||||
protected override CreateParams CreateParams
|
||||
{
|
||||
get
|
||||
{
|
||||
var cp = base.CreateParams;
|
||||
cp.ExStyle |= 0x02000000; // Turn on WS_EX_COMPOSITED
|
||||
return cp;
|
||||
}
|
||||
}
|
||||
|
||||
public IXenObject XenObject
|
||||
{
|
||||
set
|
||||
|
Loading…
Reference in New Issue
Block a user