Jump to content
Software FX Community

ISupportInitialize and the adding of dynamically created chart to container


Recommended Posts

It seems that from version 0.8.2994.29059, the code below will raise unhandle exception:

Chart element = new Chart();



What I found that to make the code above work, BeginInit is required:


Chart element = new Chart();









Question: does ISupportInitialize become a pattern for adding dynamically created chart to container from now on?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...