Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adjust WinForm to any resolution Pin
OriginalGriff24-Jan-14 9:56
mveOriginalGriff24-Jan-14 9:56 
JokeRe: Adjust WinForm to any resolution Pin
Matt T Heffron24-Jan-14 10:59
professionalMatt T Heffron24-Jan-14 10:59 
GeneralRe: Adjust WinForm to any resolution Pin
OriginalGriff24-Jan-14 5:30
mveOriginalGriff24-Jan-14 5:30 
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 
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 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 
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 

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.