Click here to Skip to main content
12,078,370 members (50,256 online)
   

C#

 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h13-Feb-13 19:21
memberN a v a n e e t h13-Feb-13 19:21 
GeneralRe: calling a method in c++ from c# Pin
bonosa14-Feb-13 17:56
memberbonosa14-Feb-13 17:56 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h14-Feb-13 22:41
memberN a v a n e e t h14-Feb-13 22:41 
GeneralRe: calling a method in c++ from c# Pin
bonosa15-Feb-13 18:27
memberbonosa15-Feb-13 18:27 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h16-Feb-13 18:41
memberN a v a n e e t h16-Feb-13 18:41 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h17-Feb-13 6:02
memberN a v a n e e t h17-Feb-13 6:02 
GeneralRe: calling a method in c++ from c# Pin
bonosa13-Feb-13 7:48
memberbonosa13-Feb-13 7:48 
QuestionDynamic Form Creation/Layout Pin
Matt U.12-Feb-13 5:21
memberMatt U.12-Feb-13 5: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 Pin
Orjan Westin12-Feb-13 7:16
memberOrjan Westin12-Feb-13 7:16 
GeneralRe: Dynamic Form Creation/Layout Pin
Matt U.12-Feb-13 7:51
memberMatt U.12-Feb-13 7:51 
AnswerRe: Dynamic Form Creation/Layout Pin
PIEBALDconsult12-Feb-13 13:36
memberPIEBALDconsult12-Feb-13 13:36 
QuestionException: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
NarVish12-Feb-13 2:18
memberNarVish12-Feb-13 2:18 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
N a v a n e e t h12-Feb-13 2:36
memberN a v a n e e t h12-Feb-13 2:36 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
Dave Kreskowiak12-Feb-13 3:05
mvpDave Kreskowiak12-Feb-13 3:05 
QuestionHow can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
susanna.floora11-Feb-13 23:50
membersusanna.floora11-Feb-13 23:50 
AnswerRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
Richard MacCutchan12-Feb-13 1:27
mvpRichard MacCutchan12-Feb-13 1:27 
GeneralRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
susanna.floora12-Feb-13 1:56
membersusanna.floora12-Feb-13 1:56 
Questioncontrol robots with c# !? Pin
source.compiler11-Feb-13 22:47
membersource.compiler11-Feb-13 22:47 
AnswerRe: control robots with c# !? Pin
Pete O'Hanlon11-Feb-13 23:11
protectorPete O'Hanlon11-Feb-13 23:11 
AnswerRe: control robots with c# !? Pin
Jibesh11-Feb-13 23:19
memberJibesh11-Feb-13 23:19 
Questiongame with Object-oriented programming Pin
saber_ershadi11-Feb-13 22:22
membersaber_ershadi11-Feb-13 22:22 
AnswerRe: game with Object-oriented programming Pin
Jibesh11-Feb-13 23:22
memberJibesh11-Feb-13 23:22 
GeneralRe: game with Object-oriented programming Pin
saber_ershadi12-Feb-13 0:55
membersaber_ershadi12-Feb-13 0:55 
GeneralRe: game with Object-oriented programming Pin
lukeer12-Feb-13 20:32
memberlukeer12-Feb-13 20:32 
AnswerRe: game with Object-oriented programming Pin
Richard MacCutchan11-Feb-13 23:22
mvpRichard MacCutchan11-Feb-13 23:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web04 | 2.8.160212.1 | Last Updated 13 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid