How do I create a class associated with a windows form in C#?
Posted
by xarzu
on Stack Overflow
See other posts from Stack Overflow
or by xarzu
Published on 2010-04-18T10:15:34Z
Indexed on
2010/04/18
10:23 UTC
Read the original article
Hit count: 341
Now that C++ development has become second nature to me, do I have to start from scratch with C#?
Since the beginning of Visual Studio, there has been easy way to describe the shape of a Dialog (now called a Form) in the resource file and then use a wizard to create the corresponding C++ code. I kind of remember that in MFC it was pretty much a no-brainer to create a custom dialog with all the components you want and then all the associated code.
If I have a C# app that has many forms that I want to bring to the screen based on the user's menu selections, how do I create a class associated with a windows form?
© Stack Overflow or respective owner