private DragDropAction PromptSourceTargetSame(TaxonDropContext context) { DragDropOptions form = new DragDropOptions(Owner); return form.ShowChooseMergeOrConvert(context); }
private DragDropAction PromptConvert(TaxonDropContext context) { DragDropOptions form = new DragDropOptions(Owner); List<TaxonRank> validChildren = Service.GetChildRanks(context.TargetRank); TaxonRank choice = form.ShowChooseConversion(context.SourceRank, validChildren); if (choice != null) { return new ConvertingMoveDropAction(context, choice); } return null; }