انا جديد على الدوت نت معذرة لو كان السؤال ضعيف
لماذا تكون الاجابة واحدة مهما كان اختيارى yes or no or cnancle
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox("yes no cancle", MsgBoxStyle.YesNoCancel)
If MsgBoxResult.No Then TextBox1.Text = "no"
If MsgBoxResult.Yes Then TextBox1.Text = "yes"
If MsgBoxResult.Yes Then TextBox1.Text = "cancle"
End Sub
لماذا تكون ناتج التكست بوكس دائما cancle