private void btSelectOutput_Click(object sender, EventArgs e) { if (SaveDialog1.ShowDialog() == DialogResult.OK) { edOutput.Text = SaveDialog1.FileName; } }
//--------------------------------------------------------------------------- private void btSaveClick(object sender, EventArgs e) { if (SaveDialog1.ShowDialog() != DialogResult.None) { tbReport.SaveFile(SaveDialog1.FileName, RichTextBoxStreamType.PlainText); } }