private void pageBackgroundImageToolStripMenuItem_Click(object sender, EventArgs e) { SelectBackgroundImageDialog dlgSelectBackImage = new SelectBackgroundImageDialog(); dlgSelectBackImage.ShowDialog(); if (dlgSelectBackImage.DialogResult == DialogResult.OK) { string location = dlgSelectBackImage.ImageLocation; builder.SetDocumentBackgroundImage(location); modifiedDocument = true; } }
private void pageBackgroundImageToolStripMenuItem_Click(object sender, EventArgs e) { SelectBackgroundImageDialog dlgSelectBackImage = new SelectBackgroundImageDialog(); dlgSelectBackImage.ShowDialog(); if (dlgSelectBackImage.DialogResult == DialogResult.OK) { string location = dlgSelectBackImage.ImageLocation; builder.SetDocumentBackgroundImage(location); modifiedDocument = true; } }