private void btnPaste_Click(object sender, EventArgs e)
 {
     frmPasteCode frmPasteCode = new frmPasteCode(_subjectArea);
     DialogResult userConfirmation = frmPasteCode.ShowDialog();
     if (userConfirmation == DialogResult.OK)
     {
         this.Dispose(); // if new code is pasted, dispose the old grid. New instance of frmXmlFormatting will be generated from frmPasteCode
     }
 }