I have a form that asks questions and you write an answer in a text box. When you hit 'next' or 'add' it should save the input and cycle like this until you hit save. For whatever reason, it only saves the one line and not the subsequent lines. Here's the code I have.
private void add_Click(object sender, EventArgs e)
{
Paragraph question = document.AddSection().AddParagraph();
question.AppendText(questions.Text + " " + answer.Text);
document.SaveToFile(teamMember.Text + ".doc", FileFormat.Doc);
}
private void finish_Click(object sender, EventArgs e)
{
document.SaveToFile(teamMember.Text + ".doc", FileFormat.Doc);
}