How to

close a form in Winforms

Published: 27. October 2011 | Updated: 27. October 2011
License: Microsoft Public License (MS-PL)
Categories: Winforms
Tags: C# UI Winforms
Was this snippet helpful for you? YESYES / NONO
Get Analyzant!

Check your entire website from code to content in minutes with Analyzant, the free analysis suite.

Free download at analyzant.com

Import namespace

using System.Windows.Forms;

Code

Form form = new Form();
form.Close();
Send us feedback about this snippet »



Related Snippets: