Menu

#27 Increase the speed of SelectedObject

v.210
open
nobody
None
1
2020-02-14
2020-02-14
Davide
No

I have changed the get of SelectedObject, this permit to increase the speed. The proposed version that I have tested is:

    public virtual Object SelectedObject {
        get {
            return this.SelectedIndex >= 0 ? this.GetModelObject(this.SelectedIndex) : null;
        }
        set {
          ...
        }
    }

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.