Beispiel #1
0
 // Обработчик кнопки "Сохранить файл" из Текстового редактороа
 private void ButtonSaveFile_Click(object sender, EventArgs e)
 {
     if (FileSaveClick != null)
     {
         FileSaveClick.Invoke(this, EventArgs.Empty);
     }
 }
Beispiel #2
0
        private void ButSelectFileWord_Click(object sender, EventArgs e)
        {
            SaveFileDialog dlg = new SaveFileDialog();

            dlg.Filter = "docx |*.docx";
            if (dlg.ShowDialog() == DialogResult.OK)
            {
                fldWordPath.Text = dlg.FileName;
                FileSaveClick?.Invoke(this, EventArgs.Empty);
            }
        }
 private void BtnSaveFile_Click(object sender, EventArgs e)
 {
     FileSaveClick?.Invoke(this, EventArgs.Empty);
 }