Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. SftTree.dll, v4.0.0.0 performance issue With C# Winform

SftTree.dll, v4.0.0.0 performance issue With C# Winform

Scheduled Pinned Locked Moved C / C++ / MFC
csharpdatabasevisual-studioperformance
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vipin kumar sharma
    wrote on last edited by
    #1

    I am facing the performance Issue in VS C# 2014, when we adding the item in softtree,setting the image in softtree and changing the font. sample code:- //Collection.count=10000 for(int i=0;i<=Collection.count;i++) { //if collection count is 10k or more than that,facing performance issues. //time taken by below three lines-6-11 ms.for each record. int Index = sftTree.InsertItem(parentIndex + 1, desc); sftTree.set_CellFont(Index , (short)0, new Font(sftTree.Font, FontStyle.Bold)); sftTree.set_ItemPicture(Index,GetImage("Sample")); } C# Full Execution Time-3.5 Min VB6 Full Exceution Time-.19 sec to 1.5 Min

    Richard DeemingR 1 Reply Last reply
    0
    • V vipin kumar sharma

      I am facing the performance Issue in VS C# 2014, when we adding the item in softtree,setting the image in softtree and changing the font. sample code:- //Collection.count=10000 for(int i=0;i<=Collection.count;i++) { //if collection count is 10k or more than that,facing performance issues. //time taken by below three lines-6-11 ms.for each record. int Index = sftTree.InsertItem(parentIndex + 1, desc); sftTree.set_CellFont(Index , (short)0, new Font(sftTree.Font, FontStyle.Bold)); sftTree.set_ItemPicture(Index,GetImage("Sample")); } C# Full Execution Time-3.5 Min VB6 Full Exceution Time-.19 sec to 1.5 Min

      Richard DeemingR Online
      Richard DeemingR Online
      Richard Deeming
      wrote on last edited by
      #2

      This is a C++ forum; you're looking for the C# forum, which is immediately below this one in the list. You'll also need to explain what "softtree" is.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups