Provided your code is inside a Form, rather than a UserControl, it will work:
this.Close();
However, you don't need
this
in that context, the instance is implied:
Close();
will have the same effect.
If you are in a UserControl, then you will have to create an event to ask the form to close: you shouldn't try to shut it yourself.