Click here to Skip to main content
15,916,835 members

Comments by GSylvain55 (Top 3 by date)

GSylvain55 11-Jun-21 11:44am View    
Yes, cool, it's work perfecly !!! :)
GSylvain55 9-Jun-21 10:13am View    
I understand, but I try it and not working.
My buttons are in 3 panels.
Does that change anything ?
I change the modifier to public for panels.

C#Copy Code
foreach (var c in Controls)    {    //if (btn.GetType() == typeof(Button btn))      if (c is Button btn)         {           ElipseControl el = new ElipseControl();           el.TargetControl = (Control) btn;           el.CornerRadius = 20;         }
GSylvain55 20-Apr-19 0:28am View    
Yes, I understand. But can you write a symple code to give me a direction. I've been trying for 3 days.
thank you very much !