示例#1
0
        private void DeleteDir_btn_Click(object sender, RoutedEventArgs e)
        {
            string enteredPath = GetEnteredPath();

            if (pathIsEmpty())
            {
                return;
            }

            dir.DeleteDirectory(enteredPath, log: true);
        }