Created
July 17, 2015 16:31
-
-
Save bjoerntx/3b1312cc38e6dd9cd0fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private int iNumberOfPages = 1; | |
// update the watermarks if the number of pages are different | |
private void textControl1_Changed(object sender, EventArgs e) | |
{ | |
if (textControl1.Pages > iNumberOfPages) | |
{ | |
InsertWatermarkImages(); | |
iNumberOfPages = textControl1.Pages; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment