CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

creat text box topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2010, 09:36 PM
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
devilonline is on a distinguished road
| More
creat text box

Hi, i have this code that every time i click the button it creates a text box, how can i do this more than one time? thanks

Code:
        private void button1_Click(object sender, EventArgs e)
        {
            TextBox myText = new TextBox();
     
            myText.Text = "";
            this.Controls.Add(myText);


        }
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parsing text file through a batch Grep Shell Scripting 0 08-28-2010 03:11 AM
Load text of Button from dll dskp MFC Programming 0 07-08-2010 07:40 AM
Getting user-selected text from any app Eidetikos Win32 Programming 2 06-01-2010 09:50 AM
How to change text colors in C? techme C Programming 3 03-26-2010 08:09 PM
display Text on right side kinnera MFC Programming 3 01-24-2010 10:49 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:55 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board