I
Ian Semmel
In C++, I would typically have a static table of elements like
typedef struct CIconListBoxItem
{
LPCTSTR pszText;
UINT image;
UINT messageID;
bool bDisable;
CRuntimeClass* pView;
}CIconListBoxItem;
where pView is initialised to RUNTIME_CLASS(MyForm)
and will create the form with Createview
Is there an equivalent in C# whereby I can put the class of form I want in a
table and create it as needed ?
typedef struct CIconListBoxItem
{
LPCTSTR pszText;
UINT image;
UINT messageID;
bool bDisable;
CRuntimeClass* pView;
}CIconListBoxItem;
where pView is initialised to RUNTIME_CLASS(MyForm)
and will create the form with Createview
Is there an equivalent in C# whereby I can put the class of form I want in a
table and create it as needed ?