C#WPF控件触摸另一个控件........ [英] C# WPF controll touches another control ..........

查看:157
本文介绍了C#WPF控件触摸另一个控件........的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使该image1在窗体上可拖动,并且我在窗体上有一个按钮,该按钮很烂并且不会移动,当image1在某个点上触摸该按钮时,当它触摸该按钮时,就无法拖动image1不再这样.例如,im向右拖动image1,image1触摸右侧的按钮,它只是停止了,无法再向右拖动,但是我仍然可以上下左右拖动它,但是不能向右拖动.

I''m made this image1 dragable around the form and i have a button on the form thats suck and doesn''t move and when the image1 touches the button on a certain point when it touches the button it cannot drag the image1 that way anymore. for example im dragging the image1 to the right and the image1 touches the button form the right and it just stops and it cannot drag it right anymore but i can still drag it top bottom and left, but not right.

推荐答案

您的代码一定有问题,而没有看到帮助您几乎是不可能的.
There must be something wrong with your code, without seeing that helping you is close to impossible.


这篇关于C#WPF控件触摸另一个控件........的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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