Click here to Skip to main content
       

C#

 
GeneralRe: calling a method in c++ from c# PinmemberN a v a n e e t h13-Feb-13 18:21 
GeneralRe: calling a method in c++ from c# Pinmemberbonosa14-Feb-13 16:56 
GeneralRe: calling a method in c++ from c# PinmemberN a v a n e e t h14-Feb-13 21:41 
GeneralRe: calling a method in c++ from c# Pinmemberbonosa15-Feb-13 17:27 
GeneralRe: calling a method in c++ from c# PinmemberN a v a n e e t h16-Feb-13 17:41 
GeneralRe: calling a method in c++ from c# PinmemberN a v a n e e t h17-Feb-13 5:02 
GeneralRe: calling a method in c++ from c# Pinmemberbonosa13-Feb-13 6:48 
QuestionDynamic Form Creation/Layout PinmemberMatt U.12-Feb-13 4:21 
I've had a personal project in mind lately. Part of it will include user-created fields/field types. Think of it as an inventory control system. Each object will have common properties but I want the user to be allowed to create so many custom fields for each item type. As far as storing the custom fields, I know how I will achieve that aspect of it.
 
What I would like to know is how I should go about generating a dynamic view for those custom fields. I considered a "table" (DataGridView) at first. But I decided I would like to go with something more user friendly. It doesn't necessarily need to be a user-defined layout. But how can I present it in such a way that it's a Label control and then a TextBox control? My thought on it so far is to possibly use a TableLayoutPanel and add the controls for each custom field as necessary. Would this be an efficient solution or is there a cleaner solution?
 
If something like a TableLayoutPanel is the right tool for this, that's fine. I don't mind going that route. I just wanted to get some feedback from others before I continue.
 
I'm using VS2010 and C# 4.0.
 
Thanks a bunch! Smile | :)
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

AnswerRe: Dynamic Form Creation/Layout PinmemberOrjan Westin12-Feb-13 6:16 
GeneralRe: Dynamic Form Creation/Layout PinmemberMatt U.12-Feb-13 6:51 
AnswerRe: Dynamic Form Creation/Layout PinmemberPIEBALDconsult12-Feb-13 12:36 
QuestionException: Cannot open Servicexxx service on computer 'COMPUTER_NAME' PinmemberNarVish12-Feb-13 1:18 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' PinmemberN a v a n e e t h12-Feb-13 1:36 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' PinmvpDave Kreskowiak12-Feb-13 2:05 
QuestionHow can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pinmembersusanna.floora11-Feb-13 22:50 
AnswerRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. PinmvpRichard MacCutchan12-Feb-13 0:27 
GeneralRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pinmembersusanna.floora12-Feb-13 0:56 
Questioncontrol robots with c# !? Pinmembersource.compiler11-Feb-13 21:47 
AnswerRe: control robots with c# !? PinprotectorPete O'Hanlon11-Feb-13 22:11 
AnswerRe: control robots with c# !? PinmemberJibesh11-Feb-13 22:19 
Questiongame with Object-oriented programming [modified] Pinmembersaber_ershadi11-Feb-13 21:22 
AnswerRe: game with Object-oriented programming PinmemberJibesh11-Feb-13 22:22 
GeneralRe: game with Object-oriented programming Pinmembersaber_ershadi11-Feb-13 23:55 
GeneralRe: game with Object-oriented programming Pinmemberlukeer12-Feb-13 19:32 
AnswerRe: game with Object-oriented programming PinmvpRichard MacCutchan11-Feb-13 22:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 20 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid