# RhinoSlavedForm class

Namespace: [Grasshopper2.UI](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public abstract class RhinoSlavedForm : Form
```

A modeless form which does its level best to stay on top of rhino.

**Derived types:** [Editor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.editor.md)

## Constructors

- [RhinoSlavedForm](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rhinoslavedform/ctor.md)

## Properties

- [CurrentDocument](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rhinoslavedform/currentdocument.md): Gets the Rhino document associated with the Rhino main window which is currently the owner of this form.
- [CurrentRhinoWindow](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rhinoslavedform/currentrhinowindow.md): Gets the Rhino window this form is looking to.

## Methods

- [HandleShutDown](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rhinoslavedform/handleshutdown.md): Handle the Rhino shutdown process. The [RhinoSlavedForm.CurrentDocument](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rhinoslavedform/currentdocument.md) field will already have been set to null.
- [OnOwnerAssigned](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rhinoslavedform/onownerassigned.md): Override this method to get informed when the Owner of this form is assigned.
- [OnOwnerRemoved](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.rhinoslavedform/onownerremoved.md): Override this method to get informed when the Owner of this form is removed.
