public AdapterDisplay(AdapterInfo ai) { if (null != ai) { this.ai = ai; InitializeComponent(); textBoxDetails.Text = ai.Summary; LogCenter.ti.adapters.MenuItems.Add(new MenuItem(ai.NIName, this.buttonConfig_Click)); } }