Page 1 of 1

ChartController edit items

Posted: Mon Apr 14, 2014 11:38 am
by 15654539
I remove some items from chartController and I see deleted in the desing view, but when I run the application the deleted items are there. If I close the design view and open it again the deleted items are there also. Why does it happen?

Thanks

Re: ChartController edit items

Posted: Tue Apr 15, 2014 8:28 am
by Christopher
wakeup wrote:I remove some items from chartController and I see deleted in the desing view, but when I run the application the deleted items are there. If I close the design view and open it again the deleted items are there also. Why does it happen?
You can add and remove items from the chartController at runtime with code such as:

Code: Select all

((ToolStrip)chartController1).Items.Clear();