C
C#2y ago
Jace

❔ Form.Control list all buttons but Form.Controls.OfType<Button> does not

Any reason as to why this occurs ? Any weird bug on WinForms I should know about ?
2 Replies
ero
ero2y ago
Are the buttons you want nested in some other controls? Like in a panel or a groupbox
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?