Beispiel #1
0
        void importer_OnConflict(ConflictEventArgs args)
        {
            ConflictDialog dlg = new ConflictDialog(args.Message);

            dlg.ShowDialog();

            args.Decision = dlg.Decision;
            args.ForAll   = dlg.ForAll;
        }
Beispiel #2
0
        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;
        }