So I want to create a small notepad, that on closure, saves whatever is in the noetpad without a prompt, and when opened, displays in the notepad what was in it before it closed.

Can anyone help me with this? The notepad is just a simple TextBox.

Thanks in Advance guys .