title: Clearing NumericUpDown
body: <p>My problem with NumericUpDown control is when the user selects a value from NumericUpDown And unchecks the checkBox1 and clicks the Save button, the value of NumericUpDown not cleared:</p>
  
  <pre><code> Public Class FormAdd
  
  
  Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
      Me.StudenttableBindingSource.AddNew()
  End Sub
  
  Private Sub BttnSave_Click(sender As Object, e As EventArgs) Handles BttnSave.Click
  
      Me.StudenttableBindingSource.EndEdit()
      Me.StudenttableTableAdapter.Update(Me.StudentDataSet.studenttable)
      Me.StudenttableTableAdapter.Fill(Me.StudentDataSet.studenttable)
      MsgBox(" Student Saveed", MsgBoxStyle.Information)
      Me.StudenttableTableAdapter.Fill(Main.StudentDataSet.studenttable)
      Me.Close()
  End Sub
  
  Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox1.CheckedChanged
      If CheckBox1.Checked = False Then
          AgeNumericUpDown.Value = AgeNumericUpDown.Minimum
          AgeNumericUpDown.Text = ""
      End If
  End Sub
  </code></pre>
  
  <p>I need if the user selects a value and unchecks the CheckBox1 value of AgeNumericUpDown to reset to an empty string.</p>
  
  <p>Illustrated:</p>
  
  <p><img src="https://i.stack.imgur.com/12d7x.png" alt="enter image description here"></p>