Dim num As WinForm.NumericComboBox = e.Form.Controls("NumericComboBox1") If num.Value = Int(num.Value) Then MessageBox.Show(num.Value & ":是整数") Else MessageBox.Show(num.Value & ":不是整数") End If