Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

C# form design/implementation

$
0
0

Using C# 2010.  I'm in the process of moving my focus from vb to C# programming so I'm still trying to figure some things out as far as C# goes.  However this is a pretty general question and I'm looking for some help and guidance (I guess that would be the best way to put it).

This "application" is going to perform 3 seperate functions all of which will use a different set of controls on the form.  All three "functions" have a seperate Class as I'm trying to get the function code off the form.  For example the Payment Method Verification has 20 form objects (as of now) on it 10 of which are labels the rest textboxes and buttons.  I don't want to make the controls public as that is poor design, so would it be better to pass the form along to the Class or can I group the controls together in a panel and pass the controls that way?  Eventually these objects will need to be disposed of to make way for the next set as the process continues.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>