private static Control CreateControlInstance() { ToolStripNumericUpDownControl numericUpDown = new ToolStripNumericUpDownControl(); // return(numericUpDown); }
public ToolStripNumericUpDown() : base(CreateControlInstance()) { _numericUpDownControl = Control as ToolStripNumericUpDownControl; _numericUpDownControl.Owner = this; }