Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

messagebox yes-no


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 :: minimize button c# 
Csharp :: c# mark as deprecated 
Csharp :: vb.net messagebox yes no cancel 
Csharp :: c# delete file if exists 
Csharp :: c# print hello world 
Csharp :: get current computer name C# 
Csharp :: c# app path 
Csharp :: unity how to see what scen you are in 
Csharp :: how to set a vector 3 variable in csharp 
Csharp :: c# math to radiant 
Csharp :: how to delete all files in a directory c# 
Csharp :: csgo throw last grenade bind 
Csharp :: how t remove a component in unity 
Csharp :: save file with unique name c# 
Csharp :: kotlin random number 
Csharp :: unity 2d jump 
Csharp :: c# generate random date 
Csharp :: enum loop 
Csharp :: unity textmeshpro 
Csharp :: c# convert Unix time in seconds to datetime 
Csharp :: unity pause animator 
Csharp :: easily start admin process from service c# 
Csharp :: c# read json file into object 
Csharp :: unity print 
Csharp :: c# form formborderstyle none move 
Csharp :: how to instantiate as child unity 
Csharp :: unity array to list 
Csharp :: c# quit 
Csharp :: mvc select list order by 
Csharp :: dyncmics 365 setstate request 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =