Click here to Skip to main content
15,850,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adjust WinForm to any resolution Pin
OriginalGriff24-Jan-14 10:56
mveOriginalGriff24-Jan-14 10:56 
JokeRe: Adjust WinForm to any resolution Pin
Matt T Heffron24-Jan-14 11:59
professionalMatt T Heffron24-Jan-14 11:59 
GeneralRe: Adjust WinForm to any resolution Pin
OriginalGriff24-Jan-14 6:30
mveOriginalGriff24-Jan-14 6:30 
AnswerRe: Adjust WinForm to any resolution Pin
GuyThiebaut27-Jan-14 4:21
professionalGuyThiebaut27-Jan-14 4:21 
QuestionHow to Show Multi Color Text Box In Asp .net Pin
rajaraman 00724-Jan-14 0:07
rajaraman 00724-Jan-14 0:07 
AnswerRe: How to Show Multi Color Text Box In Asp .net Pin
Pete O'Hanlon24-Jan-14 0:44
subeditorPete O'Hanlon24-Jan-14 0:44 
QuestionEdit a WinForm on user mode Pin
zayno23-Jan-14 23:43
zayno23-Jan-14 23:43 
GeneralRe: Edit a WinForm on user mode Pin
OriginalGriff23-Jan-14 23:52
mveOriginalGriff23-Jan-14 23:52 
It's not that simple: You can add controls (or let your user add controls) very simply: just create a new control instance, and add it to the Form.Controls collection:
C#
TextBox tb = new TextBox();
Controls.Add(tb);
(You might want to set it's Size and Location properties, but that's up to you).

The problem is that that does nothing "real" to the form - it doesn't hook up any events, it doesn't use any text the user types into the textbox for anything. And it doesn't save it so it loads like that next time.

I think you need to either think a bit more about exactly what you are trying to do, or try to explain it rather better to us - because unless we have a good idea why you want to do this, we can't easily work out what it is you need help with.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

GeneralRe: Edit a WinForm on user mode Pin
zayno23-Jan-14 23:58
zayno23-Jan-14 23:58 
QuestionRe: Edit a WinForm on user mode Pin
Eddy Vluggen24-Jan-14 1:26
professionalEddy Vluggen24-Jan-14 1:26 
AnswerRe: Edit a WinForm on user mode Pin
BillWoodruff24-Jan-14 2:13
professionalBillWoodruff24-Jan-14 2:13 
QuestionDownload latest file from FTP using WinSCP in SSIS Pin
Rahul Vairagi23-Jan-14 19:16
Rahul Vairagi23-Jan-14 19:16 
AnswerRe: Download latest file from FTP using WinSCP in SSIS Pin
Pete O'Hanlon23-Jan-14 23:01
subeditorPete O'Hanlon23-Jan-14 23:01 
GeneralRe: Download latest file from FTP using WinSCP in SSIS Pin
Rahul Vairagi29-Jan-14 19:35
Rahul Vairagi29-Jan-14 19:35 
AnswerRe: Download latest file from FTP using WinSCP in SSIS Pin
Alan Balkany24-Jan-14 5:59
Alan Balkany24-Jan-14 5:59 
GeneralRe: Download latest file from FTP using WinSCP in SSIS Pin
Rahul Vairagi29-Jan-14 19:36
Rahul Vairagi29-Jan-14 19:36 
QuestionCalling MySql Function in C# for validating username and password Pin
ahmed_one23-Jan-14 18:58
ahmed_one23-Jan-14 18:58 
AnswerRe: Calling MySql Function in C# for validating username and password Pin
Bernhard Hiller23-Jan-14 22:39
Bernhard Hiller23-Jan-14 22:39 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
ahmed_one23-Jan-14 23:49
ahmed_one23-Jan-14 23:49 
SuggestionRe: Calling MySql Function in C# for validating username and password Pin
Richard Deeming24-Jan-14 2:56
mveRichard Deeming24-Jan-14 2:56 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Eddy Vluggen24-Jan-14 4:04
professionalEddy Vluggen24-Jan-14 4:04 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
ahmed_one24-Jan-14 5:11
ahmed_one24-Jan-14 5:11 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Dave Kreskowiak24-Jan-14 5:37
mveDave Kreskowiak24-Jan-14 5:37 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Eddy Vluggen24-Jan-14 5:58
professionalEddy Vluggen24-Jan-14 5:58 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Dave Kreskowiak24-Jan-14 5:33
mveDave Kreskowiak24-Jan-14 5:33 

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.