void TemplateTextEditorForm_FormClosed(object sender, FormClosedEventArgs e) { LastSize = Size; LastLocation = Location; }