Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

vb.net yes no cancel

Dim result As DialogResult = MessageBox.Show("message", "caption", MessageBoxButtons.YesNoCancel)
If result = DialogResult.Cancel Then
    MessageBox.Show("Cancel pressed")
ElseIf result = DialogResult.No Then
    MessageBox.Show("No pressed")
ElseIf result = DialogResult.Yes Then
    MessageBox.Show("Yes pressed")
End If
Comment

PREVIOUS NEXT
Code Example
Csharp :: how to restart a scene in unity 
Csharp :: c# delete file if exists 
Csharp :: read text file to string c# 
Csharp :: unity foreach child 
Csharp :: c# open web page in default browser 
Csharp :: unity how to change rotation 
Csharp :: Point to mouse 2D Unity 
Csharp :: c# get user directory 
Csharp :: c# random int 
Csharp :: how to edit postprocessing through script 
Csharp :: asp.net c# write string to text file 
Csharp :: how to change the color of an object in unity c# 
Csharp :: how to print a variable in c# with text 
Csharp :: unity 2d raycast mouse 
Csharp :: degree to radians c# 
Csharp :: Change fog setting Unity 
Csharp :: play a sound c# 
Csharp :: randomize through array in C# 
Csharp :: linq unique count property 
Csharp :: c# set a guid 
Csharp :: get object clicked unity 2d 
Csharp :: create folder in appdata c# 
Csharp :: random value in array c# 
Csharp :: c# prime factorization 
Csharp :: get value from web.config c# 
Csharp :: unity object follow mouse 
Csharp :: c# iformfile to string 
Csharp :: how to choose a random child in a gameobject unuity 
Csharp :: sum of two numbers in c# 
Csharp :: how to unset passwordchar in c# windows application 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =