private void diffControl_OnAfterPasteFromClipboard(object sender, TargetEditorType targetType) { switch (targetType) { case TargetEditorType.Source: diffControl.SourceHeaderText = "Source [From Clipboard]"; break; case TargetEditorType.Dest: diffControl.DestHeaderText = "Destination [From Clipboard]"; break; default: break; } }
private void diffControl_OnAfterTextDragDrop(object sender, TargetEditorType targetType) { switch (targetType) { case TargetEditorType.Source: diffControl.SourceHeaderText = "Source [Dropped Text]"; break; case TargetEditorType.Dest: diffControl.DestHeaderText = "Destination [Dropped Text]"; break; default: break; } }
private void diffControl_OnAfterOpenFile(object sender, TargetEditorType targetType, string fileName) { switch (targetType) { case TargetEditorType.Source: diffControl.SourceHeaderText = fileName; break; case TargetEditorType.Dest: diffControl.DestHeaderText = fileName; break; default: break; } }