PrintPreviewFormExBase.ShowDialog(IWin32Window, UserLookAndFeel) Method
Invokes the Print Preview Form form which is shown modally as a child of the specified parent window using the specified look and feel settings.
public DialogResult ShowDialog( IWin32Window owner, UserLookAndFeel lookAndFeel )
Public Function ShowDialog( owner As IWin32Window, lookAndFeel As UserLookAndFeel ) As DialogResult
A IWin32Window object representing the parent window for this dialog.
A UserLookAndFeel object which specifies the look and feel settings applied to the Preview Form.
A DialogResult enumeration value representing the return value of the dialog.
This method creates and modally shows the Print Preview Form using the particular UserLookAndFeel settings. To show the Print Preview Form using the default look-and-feel settings used in the current project, use the overloaded ShowDialog method without the lookAndFeel parameter.