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 :: unity set mouse cursor lock 
Csharp :: unity load current scene 
Csharp :: unity create random string 
Csharp :: hello world program in c# 
Csharp :: c# random number between 1 and 100 
Csharp :: c# app path 
Csharp :: regions unity 
Csharp :: center an image horizontally and vertically 
Csharp :: c# list to string comma separated 
Csharp :: disappear after time unity 
Csharp :: c sharp split by newline 
Csharp :: change sprite of gameobject unity 
Csharp :: Character Controller unity isGrounded is false 
Csharp :: c# center text 
Csharp :: blazor get current url 
Csharp :: c# unix timestamp 
Csharp :: c# play sound 
Csharp :: unity create cube in script 
Csharp :: current directory in sln file c# 
Csharp :: unity override 
Csharp :: unity 2d detect click on sprite 
Csharp :: remove repeated items in a list unity 
Csharp :: unity copy to clipboard 
Csharp :: c# how to add newline on text box 
Csharp :: c# round number down 
Csharp :: c# project path 
Csharp :: c# how to convert string to int 
Csharp :: how to create a new folder with c# 
Csharp :: sum of digits in c# 
Csharp :: search the third word in string in c# 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =