Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The documentation of mmFactoryGeneric is inadequate.
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01103621
Message ID:
01103892
Views:
19
Hi Hayke,

still up to no good, eh? How are things going with the new business?

Hank

>I figured out some usage.
>
>            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;
>	    }
>
>
>Wouldn’t it be useful to expand the classes table, or create a new related table, so it also contains binding information, location, etc?
>
>My goal is to create some forms completely generic and driven completely from a table.
>
>Someone ever tried this?
>
>Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform