Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1987

creat text box

$
0
0
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);


        }

Viewing all articles
Browse latest Browse all 1987

Trending Articles