// Token: 0x06000056 RID: 86 RVA: 0x0000B310 File Offset: 0x00009510 public override object Clone() { DataGridViewNumericUpdownColumn dataGridViewNumericUpdownColumn = (DataGridViewNumericUpdownColumn)base.Clone(); dataGridViewNumericUpdownColumn.Max = this.Max; dataGridViewNumericUpdownColumn.Min = this.Min; return(dataGridViewNumericUpdownColumn); }
// Token: 0x06000058 RID: 88 RVA: 0x0000B344 File Offset: 0x00009544 public override void InitializeEditingControl(int rowIndex, object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle) { base.InitializeEditingControl(rowIndex, initialFormattedValue, dataGridViewCellStyle); DataGridViewNumericUpdownEditingControl dataGridViewNumericUpdownEditingControl = base.DataGridView.EditingControl as DataGridViewNumericUpdownEditingControl; if (dataGridViewNumericUpdownEditingControl != null) { DataGridViewNumericUpdownColumn dataGridViewNumericUpdownColumn = base.OwningColumn as DataGridViewNumericUpdownColumn; if (dataGridViewNumericUpdownColumn == null) { dataGridViewNumericUpdownEditingControl.Minimum = -9999999m; dataGridViewNumericUpdownEditingControl.Maximum = 9999999m; } else { dataGridViewNumericUpdownEditingControl.Maximum = dataGridViewNumericUpdownColumn.Max; dataGridViewNumericUpdownEditingControl.Minimum = dataGridViewNumericUpdownColumn.Min; } dataGridViewNumericUpdownEditingControl.Value = ((base.Value != dataGridViewNumericUpdownEditingControl) ? int.Parse(base.Value.ToString()) : 0); } }