English 中文(简体)
• 人工操作/启动海关控制
原标题:Manually Activate/Deactivate SnapLines For Custom Controls

此时此刻,我几乎永远不想再设计一个拥有丰富的设计时间支持的控制。 ......

我已经超越了我的<代码>SnapLines中的财产,以人工方式从我控制的儿童控制中解脱各种条码——正文基线(pink)从标签和 com箱中解脱;正文从标签上set; top子上顶、下、左和右.。 当控制本身在形式上转移,而其他控制在形式上转移时,这些天线就会起作用。

我需要的是,能够告诉设计者,在我进行内部移动或取消基本控制时,可以启动这些路线,然后予以启动。

我的 com贝箱通过在我的控制设计师中的<代码>OnMouseDragBegin、OnMouseDragMove而被转成。 在Begin,我可以呼吁我告诉设计者,显示lines线,最后说要停止。

允许人们在设计时间重新调整和转移内部控制,如果他们不相互脱节或进行外部控制,那是无益的。

As with stuff like this, it s incredibly hard to search for. I ve found one post on a forum where someone asked this exact question that had (of course) no responses. That s about it.

很显然,如果重新显示,实际上snapping至snaplines。 仅仅看看他们,就是一个开端。

任何想法?

最佳回答
问题回答

暂无回答




相关问题
Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

How to start WinForm app minimized to tray?

I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

Handle DataTable.DataRow cell change event

I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?

Apparent Memory Leak in DataGridView

How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

WPF-XAML window in Winforms Application

I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.

热门标签