A toolbox is a regular form with FormBorderStyle property set to one of the ToolWindow options. Also set its Owner property to the form it is toolbox of, this will make it stay on top of the owner form and minimize/restore when owner form is, and also close along with its owner form.