Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# yes or no dialog

DialogResult dialogResult = MessageBox.Show("Sure", "Some Title", MessageBoxButtons.YesNo);
if(dialogResult == DialogResult.Yes)
{
    //do something
}
else if (dialogResult == DialogResult.No)
{
    //do something else
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: get appdata file path c# 
Csharp :: how to make a hello world program in c# 
Csharp :: unity change tag in script 
Csharp :: open link c# 
Csharp :: unity how to change rotation 
Csharp :: visual studio c# print to console 
Csharp :: unity float from another script 
Csharp :: unity how to get y value 
Csharp :: Vector3.signedangle not showin singed angle in unity 
Csharp :: como crear un numero aleatorio en c# 
Csharp :: textmesh pro text unity 
Csharp :: how to convert float to int in c# unity 
Csharp :: save file with unique name c# 
Csharp :: how to disable and enable rigidbody unity 
Csharp :: how to set a custom size for window in monogame 
Csharp :: stop program event in unity code 
Csharp :: wann war der dritte weltkrieg 
Csharp :: Publishing A Single EXE File In.NET Core 
Csharp :: smooth rotation unity 
Csharp :: C# previous method 
Csharp :: c# remove all null from list 
Csharp :: string to enum c# 
Csharp :: how o remove .meta files visual studio code 
Csharp :: random number generator c# 
Csharp :: unity mouse wheel 
Csharp :: c# create array of number from number 
Csharp :: c# get current milliseconds 
Csharp :: wpf fixed size window 
Csharp :: c# string to char 
Csharp :: vuln.c nc mercury.picoctf.net 59616 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =