With the command"NumericUpDown Control" I would run a command based on the number selected in NumericUpDown Control
example
If I select the number 5 in the Control NumericUpDown instruction must be repeated
5 times/x5
PS: sorry for my English but I am Italian