Click here to Skip to main content
15,880,279 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adjust WinForm to any resolution Pin
GuyThiebaut27-Jan-14 3:21
professionalGuyThiebaut27-Jan-14 3:21 
QuestionHow to Show Multi Color Text Box In Asp .net Pin
rajaraman 00723-Jan-14 23:07
rajaraman 00723-Jan-14 23:07 
AnswerRe: How to Show Multi Color Text Box In Asp .net Pin
Pete O'Hanlon23-Jan-14 23:44
mvePete O'Hanlon23-Jan-14 23:44 
QuestionEdit a WinForm on user mode Pin
zayno23-Jan-14 22:43
zayno23-Jan-14 22:43 
GeneralRe: Edit a WinForm on user mode Pin
OriginalGriff23-Jan-14 22:52
mveOriginalGriff23-Jan-14 22:52 
GeneralRe: Edit a WinForm on user mode Pin
zayno23-Jan-14 22:58
zayno23-Jan-14 22:58 
QuestionRe: Edit a WinForm on user mode Pin
Eddy Vluggen24-Jan-14 0:26
professionalEddy Vluggen24-Jan-14 0:26 
AnswerRe: Edit a WinForm on user mode Pin
BillWoodruff24-Jan-14 1:13
professionalBillWoodruff24-Jan-14 1:13 
I assume you mean that you want the end-user at run-time to be able to edit attributes of Forms and Controls, move Controls in Forms around, and add new Controls.

If that's correct, and this is a Windows Forms project:

1. To edit properties add a PropertyGrid to your Forms from the VS ToolBox 'All Windows Controls' panel.

Hide the PropertyGrid, and make it visible as needed, setting its 'SelectedObject property to a Control, or to the Form, as required.

2. Make your Controls movable by implementing the appropriate MouseDown, MouseUp, and MouseMove EventHandlers.

3. Create some UI for adding new Controls, present it to the user.

If you have specific questions about how to implement these techniques, I suggest you post them, along with code in progress, to one of the C# QA forums.
“But I don't want to go among mad people,” Alice remarked.

“Oh, you can't help that,” said the Cat: “we're all mad here. I'm mad. You're mad.”

“How do you know I'm mad?” said Alice.

“You must be," said the Cat, or you wouldn't have come here.” Lewis Carroll

QuestionDownload latest file from FTP using WinSCP in SSIS Pin
Rahul Vairagi23-Jan-14 18:16
Rahul Vairagi23-Jan-14 18:16 
AnswerRe: Download latest file from FTP using WinSCP in SSIS Pin
Pete O'Hanlon23-Jan-14 22:01
mvePete O'Hanlon23-Jan-14 22:01 
GeneralRe: Download latest file from FTP using WinSCP in SSIS Pin
Rahul Vairagi29-Jan-14 18:35
Rahul Vairagi29-Jan-14 18:35 
AnswerRe: Download latest file from FTP using WinSCP in SSIS Pin
Alan Balkany24-Jan-14 4:59
Alan Balkany24-Jan-14 4:59 
GeneralRe: Download latest file from FTP using WinSCP in SSIS Pin
Rahul Vairagi29-Jan-14 18:36
Rahul Vairagi29-Jan-14 18:36 
QuestionCalling MySql Function in C# for validating username and password Pin
ahmed_one23-Jan-14 17:58
ahmed_one23-Jan-14 17:58 
AnswerRe: Calling MySql Function in C# for validating username and password Pin
Bernhard Hiller23-Jan-14 21:39
Bernhard Hiller23-Jan-14 21:39 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
ahmed_one23-Jan-14 22:49
ahmed_one23-Jan-14 22:49 
SuggestionRe: Calling MySql Function in C# for validating username and password Pin
Richard Deeming24-Jan-14 1:56
mveRichard Deeming24-Jan-14 1:56 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Eddy Vluggen24-Jan-14 3:04
professionalEddy Vluggen24-Jan-14 3:04 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
ahmed_one24-Jan-14 4:11
ahmed_one24-Jan-14 4:11 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Dave Kreskowiak24-Jan-14 4:37
mveDave Kreskowiak24-Jan-14 4:37 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Eddy Vluggen24-Jan-14 4:58
professionalEddy Vluggen24-Jan-14 4:58 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Dave Kreskowiak24-Jan-14 4:33
mveDave Kreskowiak24-Jan-14 4:33 
AnswerRe: Calling MySql Function in C# for validating username and password Pin
Shujaat Ullah Khan24-Jan-14 4:24
Shujaat Ullah Khan24-Jan-14 4:24 
QuestionValidation on characters having multiple section in a string Pin
nitin_ion23-Jan-14 16:47
nitin_ion23-Jan-14 16:47 
AnswerRe: Validation on characters having multiple section in a string Pin
Peter Leow23-Jan-14 17:20
professionalPeter Leow23-Jan-14 17:20 

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.