Injecting a MenuStripItem to a derived class from the base constructor
问题 I want to inject a MenuStrip Item or create a new one if it doesn't exists (but this is a different question) from the base constructor , the logic is the following: public class LocalizedForm : Form { public LocalizedForm() { Shown += (sender, e) => { MenuStrip menu = null; if (HasValidMenu(out menu)) LanguageManager.AttachMenu(menu); //Language Manager will inject MenuStripItems to the passed MenuStrip }; } protected bool HasValidMenu(out MenuStrip menu) { try { menu = Controls.OfType