Declined
Last Updated: 26 Jan 2016 10:37 by ADMIN
ADMIN
Hristo
Created on: 22 Jan 2016 17:07
Category: UI for WinForms
Type: Bug Report
0
FIX. RadControl - Not dipsosed message filters in the ChordMessageFitler class

		
1 comment
ADMIN
Ralitsa
Posted on: 26 Jan 2016 10:37
We performed an additional investigation with client`s project and we found that the for each statement in the client project does not dispose all controls. It should be used the following code snippet: 
while(panel1.Controls.Count > 0)
{
    panel1.Controls[0].Dispose();
}

More information how to dispose controls can be found here: http://stackoverflow.com/questions/17627038/foreach-control-c-sharp-skipping-controls and http://stackoverflow.com/questions/1511047/how-do-i-dispose-all-of-the-controls-in-a-panel-or-form-at-once-c-sharp