> OakLeaf.MM.Main.Patterns.mmFactoryGeneric genFac = mmAppBase.Factory.CreateGenericFactory(); > object tableControl = genFac.CreateObject("57ceb69243304587"); > > switch (tableControl.GetType().ToString()) > { > case "OakLeaf.MM.Main.Windows.Forms.mmTextBox": > mmTextBox control = (mmTextBox)tableControl; > control.Left = 10; > control.Top = 10; > control.Visible = true; > this.ListPage.Controls.Add(control); > break; > > default: > break; > } >>