private void UpdatePictureSample() { this.pictureBox.Size = new Size((int)this.numericUpDown_X.Value, (int)this.numericUpDown_Y.Value); }