以前见过实现图片的百叶窗效果,哪么怎么实现窗体的这种效果呢?

解决方案 »

  1.   

    <meta http-equiv="Page-Enter" content="revealTrans(duration=100, transition=23)">
    <meta http-equiv="Page-Exit" content="revealTrans(duration=100, transition=23)">
       这个增加到你要效果的页面,,,, 这里是随机23种效果,, 哪个是百叶窗的效果我也不知道,,,
      

  2.   

    WPF也许可以做到,winform估计有困难吧。
      

  3.   

    如#1所说可以吧?我想在WinForm中实现!
      

  4.   

    如#1所说可以吧?我想在WinForm中实现!
      

  5.   

    用GDI+写屏,效率足够高。对于当前的硬件,毫秒级。
      

  6.   

    o, 我错了, 我以为是webform!
      

  7.   

    在WinForm下开发应用的话,界面的特效做起来确实比较困难。
      

  8.   

    winform 就是有这个缺点吧   不过gdi+  可以实现 
      

  9.   

    winform使用api实现的窗口特效代码
      

  10.   

    [System.Runtime.InteropServices.DllImport("user32")]
            private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags);
            private const int AW_HOR_POSITIVE = 0x0001;//从左向右显示
            private const int AW_HOR_NEGATIVE = 0x0002;//从右向左显示
            private const int AW_VER_POSITIVE = 0x0004;//从上到下显示
            private const int AW_VER_NEGATIVE = 0x0008;//从下到上显示
            private const int AW_CENTER = 0x0010;//从中间向四周
            private const int AW_HIDE = 0x10000;
            private const int AW_ACTIVATE = 0x20000;//普通显示
            private const int AW_SLIDE = 0x40000;
            private const int AW_BLEND = 0x80000;//透明渐变显示效果
    winform