示例#1
0
		public OffsetHexMouseProcessor(OffsetCursorProvider offsetCursorProvider, WpfHexView wpfHexView) {
			if (offsetCursorProvider == null)
				throw new ArgumentNullException(nameof(offsetCursorProvider));
			if (wpfHexView == null)
				throw new ArgumentNullException(nameof(wpfHexView));
			this.offsetCursorProvider = offsetCursorProvider;
			this.wpfHexView = wpfHexView;
		}
示例#2
0
 public OffsetHexCursorProvider(OffsetCursorProvider offsetCursorProvider)
 {
     if (offsetCursorProvider == null)
     {
         throw new ArgumentNullException(nameof(offsetCursorProvider));
     }
     this.offsetCursorProvider = offsetCursorProvider;
     offsetCursorProvider.CursorInfoChanged += OffsetCursorProvider_CursorInfoChanged;
 }
示例#3
0
 public OffsetHexMouseProcessor(OffsetCursorProvider offsetCursorProvider, WpfHexView wpfHexView)
 {
     if (offsetCursorProvider == null)
     {
         throw new ArgumentNullException(nameof(offsetCursorProvider));
     }
     if (wpfHexView == null)
     {
         throw new ArgumentNullException(nameof(wpfHexView));
     }
     this.offsetCursorProvider = offsetCursorProvider;
     this.wpfHexView           = wpfHexView;
 }
示例#4
0
		public OffsetHexCursorProvider(OffsetCursorProvider offsetCursorProvider) {
			if (offsetCursorProvider == null)
				throw new ArgumentNullException(nameof(offsetCursorProvider));
			this.offsetCursorProvider = offsetCursorProvider;
			offsetCursorProvider.CursorInfoChanged += OffsetCursorProvider_CursorInfoChanged;
		}