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!

Recommended Answers

All 6 Replies

Hi 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?

Create 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";

No,i want to print textbox's contents on paper of printer at different coordinates,not on form. Can u give me project's code.
Please help me!
Thanks so much!

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.