Esempio n. 1
0
 private void btSelectOutput_Click(object sender, EventArgs e)
 {
     if (SaveDialog1.ShowDialog() == DialogResult.OK)
     {
         edOutput.Text = SaveDialog1.FileName;
     }
 }
Esempio n. 2
0
        //---------------------------------------------------------------------------

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