之前和之后实施后 [英] Before & After implementing

查看:90
本文介绍了之前和之后实施后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在vb.net的winform中对要应用的效果的图像之前/之后进行检查.
有帮助吗?
覆盖两张图片,然后看到另一张隐藏吗?

这是一个示例,希望我可以在vb.net中播放javscript.

http://www.catchmyfame.com/2009/06/25/jquery-beforeafter-plugin/

感谢您的答复.

I would like to implement a check before / after images of the effects to which I apply, in a winform in vb.net.
some help?
overlay two images and see the other one hiding?

This is an example I wish I could play javscript in vb.net.

http://www.catchmyfame.com/2009/06/25/jquery-beforeafter-plugin/

Thanks for any response.

推荐答案

如果您要谈论Winforms中的鼠标悬停效果,请:
1.添加一个图像控件,在其中加载静态(无效果)图像.
2.捕获图像控件的mouseover事件,并将其图像更改为所需的图像.
3.捕获图像控件的鼠标离开事件,然后将图像更改回静态图像.

一个简单的想法可能是使用内置的工具栏,并将其与ImageList结合使用.
If you are talking about mouse over effects in Winforms, then:
1. Add an image control, load the static(without effect) image in it.
2. trap the mouseover event for the image control and change its image to whatever you want.
3.trap the mouse leave event for the image control and change the image back to static image.

A simple idea might be to use the in built toolbar and use it in conjunction with ImageList.


这篇关于之前和之后实施后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆