4X for Ever
Posts:
Recents
.
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Changes
Home
Help
Search
Posts
Recents
Calendar
Staff List
Login
Register
Aurora 4x
»
C# Aurora
»
C# Suggestions
»
Winforms Listview Performance.
« previous
next »
Reply
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Winforms Listview Performance. (Read 1315 times)
0 Members and 1 Guest are viewing this topic.
se5a
(OP)
Lt. Commander
Posts: 288
Thanked: 30 times
Winforms Listview Performance.
«
on:
February 04, 2022, 04:30:14 PM »
Quote
Steve, I've noticed some large hangups with listview, and looked into it a bit, you might find this topic useful:
https://stackoverflow.com/questions/9008310/how-to-speed-adding-items-to-a-listview
In a nutshell, calling:
listView.BeginUpdate(); before a for/foreach loop and ending withlistView.EndUpdate(); should improve performance here significantly.
The above topic also goes into more detail for getting even further improvements, but at least the above should improve things significantly.
Report to moderator
Logged
The following users thanked this post:
skoormit
Steve Walmsley
Aurora Designer
Star Marshal
S
Posts: 11684
Thanked: 20489 times
Re: Winforms Listview Performance.
«
Reply #1 on:
February 05, 2022, 05:04:41 AM »
Quote
Thanks, I'll take a look.
Report to moderator
Logged
The following users thanked this post:
se5a
Reply
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Aurora 4x
»
C# Aurora
»
C# Suggestions
»
Winforms Listview Performance.
It appears that you have not registered with
Aurora 4x
. To register, please click here...
There was an error while thanking
Thanking...