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

            dlg.ShowDialog();

            args.Decision = dlg.Decision;
            args.ForAll   = dlg.ForAll;
        }
예제 #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;
        }
예제 #3
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;
      }