I have own component which works in my testing winform app good but when I send it to my friend and he used it in his more complex app then my component is constantly refreshing, slow responding, … I think that problem is in my component because older version works good. But I don´t know what I changed (it was many weeks ago). I must give him working version soon but I dont know how to fix it because I don´t know where is problem. Can you try this component and say if you have trouble with that. Or maybe look at my code (calendar.cs calendar.designer.cs) and try help me find problem. Thanks very much
Share
This looks like a red flag to me:
You are resizing the control during a paint event, which would call the paint event again. Same thing with the controls, showing or hiding controls during a paint event would cause the control also to invalidate.
Not 100% sure, I didn’t run the code.