FileSystem.CopyFile(fSource, fTarget, UIOption.AllDialogs, UICancelOption.DoNothing);
foreach (ListViewItem checkItem in listView_left.Items)
{
if (checkItem.Text == lItem.Text)
{
listView_left.Items.Remove(checkItem);
}
}
listView_left.Items.Add((ListViewItem)lItem.Clone());
reload(lItem, fSource);
how can i return the UIOption.AllDialogs value so if it's cancel it doesnt do the code after the first line?