Example #1
0
 public static void ExportCodebook(StudyUnitVM studyUnit)
 {
     string path = IOUtils.QuerySavePathName(Resources.ExportCodebook, null, CODEBOOK_FILTER, true); //コードブックのエクスポート
     if (string.IsNullOrEmpty(path))
     {
         return;
     }
     try
     {
         CodebookWriter writer = new CodebookWriter(studyUnit);
         writer.Write(path);
     }
     catch (Exception ex)
     {
         EDOUtils.ShowUnexpectedError(ex);
     }
 }
Example #2
0
        public static void ExportCodebook(StudyUnitVM studyUnit)
        {
            string path = IOUtils.QuerySavePathName(Resources.ExportCodebook, null, CODEBOOK_FILTER, true); //Export Codebook

            if (string.IsNullOrEmpty(path))
            {
                return;
            }
            try
            {
                CodebookWriter writer = new CodebookWriter(studyUnit);
                writer.Write(path);
            }
            catch (Exception ex)
            {
                EDOUtils.ShowUnexpectedError(ex);
            }
        }