mirror of
https://github.com/Rayerd/dfl.git
synced 2025-04-26 04:59:55 +03:00
Update Common dialogs example
This commit is contained in:
parent
a52064a7da
commit
dea72aee34
2 changed files with 2 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 66 KiB |
|
@ -340,7 +340,8 @@ class MainForm : Form
|
|||
|
||||
_document.queryPageSettings ~= (PrintDocument doc, QueryPageSettingsEventArgs e) {
|
||||
// User modify page settings here.
|
||||
// TODO: Paper orientation cannot be changed.
|
||||
if (e.currentPage == 2)
|
||||
e.pageSettings.landscape = true;
|
||||
};
|
||||
|
||||
_document.printPage ~= (PrintDocument doc, PrintPageEventArgs e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue