Example #1
0
        private void m_button_Input_to_USFM_Click(object sender, EventArgs e)
        {
            m_button_OW_to_USFM.Enabled = false;
            Application.DoEvents();
            string srcDir = OwDir;

            if (ConvertingSourceToUsfm())
            {
                srcDir = SourceDir;
            }
            OW_To_USFM converter = new OW_To_USFM(Path.Combine(m_workDir, srcDir), Path.Combine(m_workDir, @"USFM"), m_options);

            if (m_tablePaths != null)
            {
                converter.TablePaths = m_tablePaths;
            }
            converter.Run();
            m_button_OW_to_USFM.Enabled = true;
            Application.DoEvents();
        }
Example #2
0
        private void m_button_OW_to_USFM_Click(object sender, EventArgs e)
        {
            OW_To_USFM converter = new OW_To_USFM(Path.Combine(m_rootDir, @"OW"), Path.Combine(m_rootDir, @"USFM"));

            converter.Run(m_filesList.CheckedItems);
        }