Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 16:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



dynamically created User Control performance

Discussion on dynamically created User Control performance within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
Buckyx's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 177
Received Thanks: 2
dynamically created User Control performance

I dynamically create user control which is like 40 buttons and each has 75x75 image as background, it takes a while to show. images are embedded resource

would I gain some performance if I created that User Control manually in VS and just inserted in code instead of generating one button after another and loading images?

number of controls like this can scale with time to higher numbers
Buckyx is offline  
Old 07/20/2017, 09:12   #2
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
you could try to load the images from disk. i don't see why it should take so long...
Ludder231 is offline  
Old 07/20/2017, 20:25   #3
Trade Restricted
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 321
Received Thanks: 79
It's a common render problem, its not about the loading at all.
You must do one thing that usually i do at work and most of .Net framework programmer do, just create a loading and just show the form after it being loaded.
Otherwise just check any fast render API or optimizate your code at max.
Underfisk is offline  
Thanks
1 User
Old 08/03/2017, 23:03   #4
 
Epanias's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 41
Received Thanks: 18
You could as well use async / await to render the buttons one by one and show them in a row so you can use the first ones already while the rest is still loading, if you don't have to show them all at once.
Epanias is offline  
Reply


Similar Threads Similar Threads
[Release] Server High Performance Shield created by Magura ?
07/23/2013 - Metin2 Private Server - 5 Replies
Should we make the server public Shield High Performance? You can Vote !! operating system: Linux and Freebsd Features Firewall Hardening TCP Hardening Data Leakage Protection
[1.9.433] Server Control Hack. (Control every players life in your room !!)
08/21/2012 - Call of Duty Hacks, Bots, Cheats & Exploits - 46 Replies
Features: -Force Host -Change Max Players in lobby -Activate / De-Activate Godmode for every player in the room (Lets you survive anything, EVEN enemy MOAB's !) -Give unlimited ammo / Take ALL Ammo of every player in the room (Take all their ammo, leaving them nothing but a knife !) How To:
[Performance-Camtasia Studio]Wie verbessere ich die Performance?
11/13/2009 - Video Art - 4 Replies
Hallo liebe Community und Mitglieder. Wenn ich mit dem Aufnahmeprogramm „Camtasia Studio" ein Fenster aufnehme, z.B. das Client Fenster von Metin2, verschlechtert sich die Performance beim späteren angucken des Resultates. D.h. es bleibt bei mehreren Hängern und es ist kein flüssiger Film. Was habe ich versucht? #Die Frames pro Sekunde zu erhöhen(bis 200 Frames pro Sekunde, aber dann gibt es auch schon bei der Aufnahme Hänger, bzw. beim produzieren) #Das Video in der Bearbeitung zu...
Control Center for Admin Easy to Control all
10/16/2009 - MapleStory - 2 Replies
Credits go to ucyc for making this nice programm http://www.pictureupload.de/originals/pictures/15 1009164127_2.jpg http://www.pictureupload.de/originals/pictures/15 1009164303_3.jpg Download Click here



All times are GMT +1. The time now is 16:34.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.