void importer_OnConflict(ConflictEventArgs args) { ConflictDialog dlg = new ConflictDialog(args.Message); dlg.ShowDialog(); args.Decision = dlg.Decision; args.ForAll = dlg.ForAll; }
private void ConflictDialogCreation(ConflictEventArgs args) { if (singleConflictDialog == null) { singleConflictDialog = new ConflictDialog(args.Message); } else { singleConflictDialog.SetConflictDialog(args.Message); } singleConflictDialog.ShowDialog(); args.Decision = singleConflictDialog.Decision; args.ForAll = singleConflictDialog.ForAll; }