登录
首页 » C# » wpf下实现图片的放大缩小和平移 - CSDN博客

wpf下实现图片的放大缩小和平移 - CSDN博客

于 2018-04-04 发布 文件大小:867KB
0 142
下载积分: 1 下载次数: 3

代码说明:

  要求及背景 工作需要,要在一个Form里面实现一个实时预览的picturebox图像,由于picturebox可能会遮挡到其后面的画面,所以要求picturebox可以由用户自行拖拽,类似于悬浮框。 原理说明 在网上兜了几圈之后,决定用三段代码实现。首先要注册鼠标的三个事件:移动、鼠标左键按下、鼠标左键抬起,当然,都是在picturebox上的动作。注册三个事件后,即可以在三个对应的事件函数里面实现拖拽。(Amplification, reduction and translation of images under WPF)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • F2812-fft--TI
    Fast Fourier Transform (FFT). Using 8 points, takes about 1.2 ms to execute one FFT. Sets up General Purpose Timer 1 to generate events at 10 kHz. Will produce 10 kHz output on T1PWM and T1PWM pins.(Fast Fourier Transform (FFT). Using 8 points, takes about 1.2 ms to execute one FFT. Sets up General Purpose Timer 1 to generate events at 10 kHz. Will produce 10 kHz output on T1PWM and T1PWM pins.)
    2012-07-02 21:19:50下载
    积分:1
  • minix-src-current.tar
    Minix比较全的源码,适合研究,开源系统,可以参考,觉得由于价值(Minix compare the entire source code, suitable for research, open source system, can refer to that because of the value of)
    2009-03-24 09:23:58下载
    积分:1
  • 24point-for-C
    算24的C语言控制台程序,VC6编译完成后运行可执行文件,可以选择开始游戏,查看游戏规则或者退出游戏3个选项(Calculate 24 games)
    2014-02-07 16:08:41下载
    积分:1
  • windtrain
    PSCAD... WIND POWER TRAINING....
    2013-09-06 17:14:42下载
    积分:1
  • TaskEditor
    完美世界国际版151单人任务和任务编辑器(Perfect world international edition 151 single task and task editor )
    2020-11-23 17:29:33下载
    积分:1
  • ESP8266
    ESP8266芯片资料,使用手册。开发必备资料。(ESP8266 u82AF u7247 u8D44 u6599 uFF0C u4F7F u7528 u624B u518C u3002 u5F00 u53D1 u5FC5 u5907 u8D44 u6599 u3002)
    2017-04-19 15:48:48下载
    积分:1
  • c03
    该程序实现水声信道的模拟方法及性能分析,提出了一种信的水声信道模型(The program implements underwater acoustic channel simulation methods and performance analysis, presents a letter of underwater acoustic channel model)
    2020-07-04 05:40:02下载
    积分:1
  • commtest0618
    一个串口设备调试工具 可以发送多个指令 解决串口死锁问题(A serial device can send a number of debugging tools for serial commands to solve deadlock problem)
    2009-07-01 15:45:34下载
    积分:1
  • cPPReference
    C++学习资料,chm格式的文件,希望对大家有帮助(C++ Study File For C++ Premier)
    2013-07-25 15:44:37下载
    积分:1
  • 9513787
    xml_io_tools,可以实现xml文件的解析,只需一条语句即可,方便好用(Xml_io_tools, can be used to parse xml files. It only needs a single statement, which is convenient and easy to use.)
    2018-12-30 08:31:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载