public FileExistDialog(IDirectoryViewItem existingFile, string destination)
        {
            InitializeComponent();
            Result = DefaultResult;

            tInfo.Text = CreateInfoMessage(existingFile, destination);
        }
 private void bCancelOperation_Click(object sender, RoutedEventArgs e)
 {
     Result       = FileExistDalogResult.CancelOperation;
     DialogResult = true;
 }
 private void bDontOverride_Click(object sender, RoutedEventArgs e)
 {
     Result       = FileExistDalogResult.DontOverride;
     DialogResult = true;
 }
 private void bOverrideAll_Click(object sender, RoutedEventArgs e)
 {
     Result       = FileExistDalogResult.OverrideAll;
     DialogResult = true;
 }
 public FileExistDialog()
 {
     InitializeComponent();
     Result = DefaultResult;
 }
 private void bOverride_Click(object sender, RoutedEventArgs e)
 {
     Result = FileExistDalogResult.Override;
     DialogResult = true;
 }
 private void bCancelOperation_Click(object sender, RoutedEventArgs e)
 {
     Result = FileExistDalogResult.CancelOperation;
     DialogResult = true;
 }