Slight bit of background: I'm a Delphi programmer re-learning C# (learned in school originally, haven't hardly touched until recently), and am trying to get some of my Delphi concepts transferred over.
The current situation is, I need to create an application that can use data from a variable list of similar data controls depending on location, need, etc. and in order to display that information in Delphi, I would simply use a scroll box and frames. The scroll box I can easily replace with the C# panel class, but I'm not finding anything I can use that will tell me how to create my frame class for use inside the panel. All I can find is some stuff for web development.
Can anyone point me in a good direction for learning the C# frame equivalent? Thanks.
EDIT:
For non-Delphi programmers, a frame is a form-like control that allows other controls (buttons, boxes, grids, etc) to be placed on it, then the frame gets used as a control itself on a form to reduce code-reuse as all frames do similar functionality and streamline development. For a (probably better) more in-depth description, see about.com's or Delphi Basics descriptions.
EDIT:
For non-Delphi programmers, a frame is a form-like control that allows other controls (buttons, boxes, grids, etc) to be placed on it, then the frame gets used as a control itself on a form to reduce code-reuse as all frames do similar functionality and streamline development. For a (probably better) more in-depth description, see about.com's or Delphi Basics descriptions.
Sounds like a User Control to me.
Here are some tutorials:
WPF
WinForms
Having used both Delphi and .Net, I think a UserControl is the equivalent. It's a container that you can add controls to, and then add to other forms in the project.
You need to create a custom control that extends the Panel class and then repeat that custom control.
I'm not familiar with Delphi, but what you describe sounds a bit like a WPF FlowDocument, or one of the related controls.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With