Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# file directory selection

CommonOpenFileDialog dialog = new CommonOpenFileDialog();
dialog.InitialDirectory = "C:Users";
dialog.IsFolderPicker = true;
if (dialog.ShowDialog() == CommonFileDialogResult.Ok)
{
    MessageBox.Show("You selected: " + dialog.FileName);
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: get child of transform by index unity 
Csharp :: unity how to get the side ways velocity of a object 
Csharp :: c# if statement one line 
Csharp :: razor confirm password validation 
Csharp :: c# md5 
Csharp :: two variable in one loop in one line c# 
Csharp :: c# find element by condition 
Csharp :: c# string to byte[] 
Csharp :: unity c# debug.log 
Csharp :: unity show colliders 
Csharp :: read embedded resource c# xml 
Csharp :: get any random item in array c# 
Csharp :: linq from select 
Csharp :: unity icons 
Csharp :: switch case c# 
Csharp :: scenemanager.loadscene 
Csharp :: last two characters of string c# 
Csharp :: create sequence of squares in c# 
Csharp :: c# loop through list of objects 
Csharp :: unity random string 
Csharp :: clamp vector3 unity 
Csharp :: c# run cmd hidden 
Csharp :: c# set datetime to null value 
Csharp :: unity pause game c# 
Csharp :: unity c# get direction of object 
Csharp :: c# remove first 5 characters from string 
Csharp :: c# how does comparing datetime work 
Csharp :: c# convert list t to datatable 
Csharp :: unity3d find y position on navmesh 
Csharp :: wpf resource dictionary 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =