private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
SaveFileDialog save_file = new SaveFileDialog();
if (save_file.ShowDialog() == DialogResult.OK&&save_file.FileName.Length>0)
{
save_file.DefaultExt = "txt";
WriteBox.SaveFile(save_file.FileName,RichTextBoxStreamType.PlainText);
}
}
This isn't working, Every time file is opened computer asks for a program to choose neither it allows to set a default program. What's Missing there, anyone help :)