If I wanted to send either MessageBoxButtons.Ok or MessageBoxButtons.OkCancel to a MessageBox and I wanted to store the correct value in a variable, to what type should I Dim it?
Dim MyVariable As ______
If <condition> Then
MyVariable = MessageBoxButtons.Ok
Else
MyVariable = MessageBoxButtons.OkCancel
End If
MessageBox.Show("Message", "Title", MyVariable)