public partial class MyForm : mmBusinessForm { // .... protected class BOSubclass : BO { //... } //... }and then attempt to bind a UI control to that bizobj
// ... (MyForm.Designer.cs) this.cboComboBox.BindingSource = "BOSubclass"; // ...Then mmBusinessBaseForm.GetBizObj(..) calls mmReferenceCollection.Get(string) which goes wrong at the following point (mmCollections.cs line 54):
ObjectType = ObjectType.Substring(ObjectType.LastIndexOf(".")+1);This is because at this point ObjectType is something like "name.space.MyForm+BOSubclass"