Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New forum theme up and running!
Charas-Project
»
Off-Topic
»
Archive
»
Really Old Stuff
»
General programming
»
[VB] Performance issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: [VB] Performance issue (Read 18595 times)
De KoFfieŠ
Sit! I said sit! Bad fish!
Staff
Initiate
Posts: 32
/me lovez trance! :D
[VB] Performance issue
«
on:
February 12, 2003, 09:41:28 PM »
Alrighty, i'm just working on an app with skin support, just to try it out
(i like trying out
)
Now, i have an ini file which allows the "skin-designer" to completly change the positions of the buttons, the width's and heights etc.
When the program loads (or when a new skin is loaded in), i start looping through pictureboxes, some will function as buttons, others as labels etc..
so every control is actualy a picture, and those pictureboxes are loaded by using control arrays .
Now in total there are 15 controls loaded this way, they get moved to another spot in the form (according to the information in the ini file) and change by width and height.
But the loading now takes a bit longer, one or two seconds at least.
What do you guys think? Should i do this another way, or do you think that control arrays are the best? Or should i create each picture box already in design time and then place each control on the correct spot etc..?
I'd like to hear your suggestions, opinions, etc ...
Logged
De KoFfieŠ
---------------------------------------
I gO wHeRe tHe sPeAkErS aRe bOoMiN' PeOpLe aRe sHrOoMiN' bOdiEs aRe mOviN' rAvErS aRe GrOoViN' tHe bEaTs aRe FLoWiN' gLoWsTiCkS aRe gLoWiN' aNd PeOpLe sHoWiN' hOw tHeY dAnCe tO tHe sOuNdS oF tRaNcE!
GaryCXJk
<strong>Official Charas.EX Team Member</strong>
Exemplar
Posts: 1,586
FOUR OH FOUR'D
(No subject)
«
Reply #1 on:
February 25, 2003, 12:19:08 AM »
2 seconds is not so long, but if it doesn't take much time to change it and if the chances of bugs are low, you could that other thing.
Logged
Play it now!
Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Off-Topic
»
Archive
»
Really Old Stuff
»
General programming
»
[VB] Performance issue