i want to print textbox contents at a coordinate in C# when user click a button on form.But i don't know code,please help me!
Thank you so much!
thuyson
0
Light Poster
Recommended Answers
Jump to PostHi thuyson, welcome at daniweb!
Do you mean you want to show the contents of a textbox in a different place on the same form, by clicking a button?
Jump to PostCreate a label and in the properties make the Visible property false. In the event handler of the Button type
Label1.Visible = true; Label1.Location = new Point(any number,any number); Label1.Text = "Anything you want";
All 6 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
toko
0
Junior Poster
thuyson
0
Light Poster
Geekitygeek
480
Nearly a Posting Virtuoso
ddanbe
2,724
Professional Procrastinator
Featured Poster
thuyson
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.