# Disabling the Print Options Form

Learn how to disable the print setting options available in the C1Schedule for WinForms control.

## Content



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](https://cdn.mescius.io/document-site-files/images/675b9aff-7616-4324-81ac-58e410fb9531/imagesext/image13_21.png)

If you prefer that end-users not see this form, you can disable it using the [ShowOptionsForm](/componentone/docs/win/online-schedule/) property. If ShowOptionsForm is set to **False** the [C1Schedule](/componentone/docs/win/online-schedule/) 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](https://cdn.mescius.io/document-site-files/images/675b9aff-7616-4324-81ac-58e410fb9531/imagesext/image13_22.png)

### In Code

Add the following code to the **Form\_Load** event to set the ShowOptionsForm property to **False**:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Me.C1Schedule1.PrintInfo.ShowOptionsForm = False
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
this.c1Schedule1.PrintInfo.ShowOptionsForm = false;
```

DOC-DETAILS-TAG-CLOSE