CodePlexProject Hosting for Open Source Software
How to open a file with OpenFileDialog and save with FileSaveDialog?
OpenFileDialog OfD = new OpenFileDialog();
if (DialogResult.OK == OfD.Show())
//Do something here with the Filename Property
String Blah = System.IO.File.ReadAllText(OfD.FileName);
I'll let you guess how FileSaveDialog Works from the Above.
I am using ScintillaNET text editor and would like to know how the save functionality will work for it.
Could you please let me know.
ScintillaNET has no built-in way of saving files. See where I answered your question over here
You'll have to write a whole line of text on your own, e.g.:
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.