如何启用Windows 7的“快照"功能?在我的程序中? [英] How do I enable windows 7 "snap" in my program?
本文介绍了如何启用Windows 7的“快照"功能?在我的程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何设置我的应用程序使其能够在Windows 7计算机上捕捉"?我正在使用Visual Studio 2008在C#中进行编码(但是如果需要,可以准备升级到2010).
How do I set my application to be able to "snap" on a windows 7 machine? I am coding in C# using Visual Studio 2008 (but could be ready to move up to 2010 if needed).
推荐答案
用c#(VS2008)编写的WinForms应用程序将如果没有允许在窗口上进行最小/最大/还原(默认)的操作,则无需任何额外的代码即可.
因此,您无需执行任何操作!
干杯.
A WinForms application written in c# (VS2008) will snap without any extra code provided you allow min/max/restore (the default) on the window.
So, you don''t have to do anything!
Cheers.
嗯...我的程序执行常规的min/max/restore,但不会捕捉.您可以将其拖到那里,它的作用就好像要去然后再不行.
难道是我有一个固定的大小,它不能变得比它小?
我允许它成长,并且屏幕的侧面大于小尺寸.
Hmmm... my program does the regular min/max/restore, but it won''t snap. You can drag it over there and it acts like it is going to and then doesn''t.
Could it be that I have a set size it can''t get smaller than?
I allow it to grow and the side of the screen is larger than the small size.
这篇关于如何启用Windows 7的“快照"功能?在我的程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文