Beispiel #1
0
 //窗体加载时
 protected override void OnLoad(EventArgs e)
 {
     if (!DesignMode)
     {
         skin = new SkinForm(this);
         skin.Show();
         //淡入特效
         NativeMethods.AnimateWindow(Handle, GradientTime, AW.AW_BLEND | AW.AW_ACTIVATE);
     }
     base.OnLoad(e);
 }