Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
the form i created is basically a bill with textboxes and buttons of which adds the product,quantity and price in a list view and displays the final total in textbox.
is it possible to just print the component i want, like just the listview and the textbox containing the total amount?
Posted

1 solution

Well, yes - but it's a lot better not to!
Instead, use a PrintDocument[^] - it lets you control exactly how and where your data is printed. It's a little more work than just saying "print my form" but you get a much, much better result and full control over the output. The link includes an example.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900