# EtoFormsMenuExtensionMethods.Show examples

Examples for [Show](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.etoformsmenuextensionmethods/show.md) in Grasshopper2.Extensions.EtoFormsMenuExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
DialogResult result = dialog.Show(parent);

// As a static method
result = EtoFormsMenuExtensionMethods.Show(dialog, parent);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Extensions
clr.ImportExtensions(Grasshopper2.Extensions)

# As an extension method
result = dialog.Show(parent)

# As a static method
result = Grasshopper2.Extensions.EtoFormsMenuExtensionMethods.Show(dialog, parent)
```
