I have this little code:
Need to know if there would be an easy way to encrypt the text from the richtextbox called notepage1 before it saves? Would also be good if it did it when exiting the application, like:
Tried this but doesnt seem to work...
Code:
private void notePage1_KeyUp(object sender, KeyEventArgs e)
{
notePage1.SaveFile(Application.StartupPath +@"\fxNotesText1.Rtf");
}
Code:
File.Encrypt(Application.StartupPath + @"\fxNotesText1.Rtf");