Why is it that I cant use ShowDialog()

Use of unsupported member 'valuetype System.Windows.Forms.DialogResult System.Windows.Forms.Form::ShowDialog()'

If DatePicker1.Value >= DateTime.Today Then
cf2.TextBox1.Text = CStr(DatePicker1.Value)
'cf2.Refresh()
cf2.ShowDialog()
Me.Hide()
End If