Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
QuestionI get a format exception unhandled error Pin
Can_8527-Sep-07 9:52
Can_8527-Sep-07 9:52 
AnswerRe: I get a format exception unhandled error Pin
Robert Rohde27-Sep-07 10:27
Robert Rohde27-Sep-07 10:27 
AnswerRe: I get a format exception unhandled error Pin
Scott Dorman27-Sep-07 10:32
professionalScott Dorman27-Sep-07 10:32 
QuestionC# Email Sending/Receiving--Help?!? Pin
Michael Fritzius27-Sep-07 9:06
professionalMichael Fritzius27-Sep-07 9:06 
AnswerRe: C# Email Sending/Receiving--Help?!? Pin
TJoe27-Sep-07 9:34
TJoe27-Sep-07 9:34 
GeneralRe: C# Email Sending/Receiving--Help?!? Pin
Michael Fritzius28-Sep-07 5:16
professionalMichael Fritzius28-Sep-07 5:16 
QuestionCreating 2 or more Textbox with 1 button Pin
Can_8527-Sep-07 8:42
Can_8527-Sep-07 8:42 
AnswerRe: Creating 2 or more Textbox with 1 button Pin
Kristian Sixhøj27-Sep-07 9:02
Kristian Sixhøj27-Sep-07 9:02 
Write the following code in the event handler for the button:

//create first textbox
TextBox textBox1 = new TextBox();
textBox1.Location = new Point(10, 10);

//create second textbox
TextBox textBox2 = new TextBox();
textBox1.Location = new Point(10, 20);

//add the textboxes to the form
this.Controls.Add(textBox1);
this.Controls.Add(textBox2);


That's it. You can of course set the other properties for the textboxes as well.

Virtual1ty

"Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"

GeneralRe: Creating 2 or more Textbox with 1 button Pin
Can_8527-Sep-07 9:48
Can_8527-Sep-07 9:48 
GeneralRe: Creating 2 or more Textbox with 1 button Pin
Can_8527-Sep-07 9:50
Can_8527-Sep-07 9:50 
GeneralRe: Creating 2 or more Textbox with 1 button Pin
Christian Graus27-Sep-07 12:21
protectorChristian Graus27-Sep-07 12:21 
AnswerRe: Creating 2 or more Textbox with 1 button Pin
led mike27-Sep-07 9:02
led mike27-Sep-07 9:02 
GeneralRe: Creating 2 or more Textbox with 1 button Pin
Kristian Sixhøj27-Sep-07 9:09
Kristian Sixhøj27-Sep-07 9:09 
QuestionEven Handler problem Pin
ytubis27-Sep-07 8:13
ytubis27-Sep-07 8:13 
AnswerRe: Even Handler problem Pin
Judah Gabriel Himango27-Sep-07 8:24
sponsorJudah Gabriel Himango27-Sep-07 8:24 
AnswerRe: Even Handler problem Pin
Luc Pattyn27-Sep-07 8:54
sitebuilderLuc Pattyn27-Sep-07 8:54 
QuestionHow do i configure .Net framework configuration tools Pin
steevlee@hotmail.com27-Sep-07 7:50
steevlee@hotmail.com27-Sep-07 7:50 
AnswerRe: How do i configure .Net framework configuration tools Pin
Judah Gabriel Himango27-Sep-07 7:58
sponsorJudah Gabriel Himango27-Sep-07 7:58 
GeneralRe: How do i configure .Net framework configuration tools Pin
steevlee@hotmail.com27-Sep-07 10:58
steevlee@hotmail.com27-Sep-07 10:58 
QuestionComboBox Pin
dCodeProvider27-Sep-07 7:29
dCodeProvider27-Sep-07 7:29 
AnswerRe: ComboBox Pin
Ed.Poore27-Sep-07 7:33
Ed.Poore27-Sep-07 7:33 
AnswerRe: ComboBox Pin
Dave Kreskowiak27-Sep-07 7:42
mveDave Kreskowiak27-Sep-07 7:42 
QuestionPrinting [modified] Pin
rowdykuttan27-Sep-07 7:27
rowdykuttan27-Sep-07 7:27 
AnswerRe: Printing Pin
il_masacratore27-Sep-07 21:36
il_masacratore27-Sep-07 21:36 
GeneralRe: Printing Pin
rowdykuttan28-Sep-07 2:56
rowdykuttan28-Sep-07 2:56 

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.