예제 #1
0
        // Получить список всех документов в базе данных
        private void BtExportDocumentsNameToTxtFile_OnClick(object sender, RoutedEventArgs e)
        {
            var dialogProgress = new ExportProgressDialog(ModPlusAPI.Language.GetItem(LangItem, "h18"), GetAllDocuments)
            {
                Topmost = true
            };

            dialogProgress.ShowDialog();
        }
예제 #2
0
 // Экспорт документа в Word
 private void BtExportDocumentToWord_OnClick(object sender, RoutedEventArgs e)
 {
     if (_currentDocument != null)
     {
         var dialogProgress = new ExportProgressDialog(ModPlusAPI.Language.GetItem(LangItem, "h13"), ExportDocumentToWord)
         {
             Topmost = true
         };
         dialogProgress.ShowDialog();
     }
 }