Scheduler for WinForms | ComponentOne
Scheduler Control / Print and Preview / Disabling the Print Options Form
In This Topic
    Disabling the Print Options Form
    In This Topic

    By default, a Print dialog box displaying various options is displayed at run time before printing or previewing printing data in Scheduler for WinForms:

    Print Dialog Box

    If you prefer that end-users not see this form, you can disable it using the ShowOptionsForm property. If ShowOptionsForm is set to False the C1Schedule control will not display the Print dialog box.

    To disable the options form, set the ShowOptionsForm property to False either in the Properties window or in code.

    In the Properties Window

    Locate the ShowOptionsForm property in the C1Schedule Properties window and set it to False:

    Properties Window

    In Code

    Add the following code to the Form_Load event to set the ShowOptionsForm property to False:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.C1Schedule1.PrintInfo.ShowOptionsForm = False
    

    To write code in C#

    C#
    Copy Code
    this.c1Schedule1.PrintInfo.ShowOptionsForm = false;