Exemple #1
0
 public void Import(string fileName)
 {
     if (ShareListDlg <ReportSpecList, ReportSpec> .ImportFile(this,
                                                               Settings.Default.ReportSpecList, fileName))
     {
         LoadList();
     }
 }
Exemple #2
0
 public void ShowShare()
 {
     CheckDisposed();
     using (var dlg = new ShareListDlg <ReportSpecList, ReportSpec>(Settings.Default.ReportSpecList)
     {
         Label = Resources.ExportReportDlg_ShowShare_Report_Definitions,
         Filter = TextUtil.FileDialogFilterAll(Resources.ExportReportDlg_ShowShare_Skyline_Reports, ReportSpecList.EXT_REPORTS)
     })
     {
         dlg.ShowDialog(this);
     }
 }
Exemple #3
0
 private void btnImport_Click(object sender, EventArgs e)
 {
     Import(ShareListDlg <ReportSpecList, ReportSpec> .GetImportFileName(this,
                                                                         TextUtil.FileDialogFilterAll(Resources.ExportReportDlg_ShowShare_Skyline_Reports, ReportSpecList.EXT_REPORTS)));
 }