closing the form

using this.close() when clicking on the bitmap btn