示例#1
0
        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;
            }
        }
示例#2
0
        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;
            }
        }
示例#3
0
        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;
            }
        }