We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Docking Performance Issue

Thread ID:

Created:

Updated:

Platform:

Replies:

18288 Aug 27,2004 04:01 AM Aug 27,2004 09:40 AM Windows Forms 1
loading
Tags: Tools
Antonio Ganci
Asked On August 27, 2004 04:01 AM

Please, try to run the attached sample. When I resize the form the redrawing of the Docked panels is very slow, and when I close the application it raises a fatal error. Thank you, Antonio Ganci. MainForm_8550.zip

Administrator [Syncfusion]
Replied On August 27, 2004 09:40 AM

Hi Antonio, Thanks for sending the sample. 1) You get an exception when you close the form because the docking manager is not properly dispose. You can avoid this by handling the form closing event and disposing the docking manager. private void MainForm_Closing(object sender, System.ComponentModel.CancelEventArgs e) { IEnumerator ienum = this.dockingManager.Controls; ArrayList dockedctrls = new ArrayList(); while(ienum.MoveNext()) dockedctrls.Add(ienum.Current); foreach(Control ctrl in dockedctrls) { this.dockingManager.SetEnableDocking(ctrl, false); ctrl.Dispose(); } this.dockingManager.Dispose(); this.Dispose(); } 2) I was able to see the problem with the poor performance during resize. This has been identified as a bug in version 2.1.0.9. This happens only when the DockToFill mode is set to true. We are already working on this issue and will have a fix shortly. Please let me know if you have any questions.Thank you for your patience. Best regards, Stephen. >Please, try to run the attached sample. >When I resize the form the redrawing of the Docked panels is very slow, and when I close the application it raises a fatal error. > >Thank you, >Antonio Ganci. >MainForm_8550.zip > > >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;