I Want make a PageSetting
dialogbox by .NET like this in Notepad.exe:
I write the code use System.Windows.Forms.PageSetupDialog
, it just look like this:
I tried the PAGESETUPDLG.lpPageSetupTemplateName
with Win32 API, it works.
But the UI is too ugly.
How can I use only the .net class to make the dialogbox likes in Notepad.exe?
Thanks to @Hans Passant. I got an infomation from your answeer. then I found the page is very helpful to the question.