private void BtnDelete_Click(object sender, e)
{
DeleteThings();
}
private void DeleteThings(string FullPath)
{
if((".")>0) //Delete the file
{
(FullPath);
LoadDir(CurrentPath); //Reload the current directory
}
else //Delete the directory
{
(FullPath);
LoadDir(CurrentPath); //Reload the current directory
}
}