public void CreateChm(string chmFile, string title, string locale, Content contentDataSet) { Chm chm = new Chm(workingDir, title, chmFile, locale, tocControl.Nodes, contentDataSet, links); chm.Create(); ExportProgressForm progressForm = new ExportProgressForm(chm, chm.expectedLines); progressForm.ShowDialog(); }