views:

113

answers:

3

what is the code in C# for printing a form in the application?

A: 

Use

PrintDialog

class.

For code sample see Printing Using C#

rahul
+1  A: 

Printing the Current Form from C#
http://msdn.microsoft.com/en-us/library/aa287529(VS.71).aspx

Robert Harvey
A: 

Use both a PrintDialog and Printing the Current Form from C#: http://msdn.microsoft.com/en-us/library/aa287529%28VS.71%29.aspx

xyzzer