• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-23
  • 语言: C#
  • 标签: winform  FORM  win7  Aero  ORM  

资源简介

C# WinForm实现Win7 Aero磨砂效果

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace MyWeather
{
    public partial class Form1 : Form
    {
        [StructLayout(LayoutKind.Sequential)]
        public struct MARGINS
        {
            public int Left;
            public int Right;
            public int Top;
            public int Bottom;
        }
        [DllImport(“dwmapi.dll“ PreserveSig = false)]
        static extern void DwmExtendframeIntoClientArea(IntPtr hwnd ref MARGINS margins);
        [DllImport(“dwmapi.dll“ PreserveSig = false)]
        static extern bool DwmIsCompositionEnabled();
        public Form1()
        {
            InitializeComponent();
        }
        
        protected override void onload(EventArgs e)
        {
            if (DwmIsCompositionEnabled())
            {
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     31232  2020-07-15 16:35  MyWeather\.vs\MyWeather\v14\.suo

     文件       8192  2020-07-15 16:32  MyWeather\MyWeather\bin\Debug\MyWeather.exe

     文件      19968  2020-07-15 16:32  MyWeather\MyWeather\bin\Debug\MyWeather.pdb

     文件      22688  2020-07-15 16:34  MyWeather\MyWeather\bin\Debug\MyWeather.vshost.exe

     文件        490  2010-03-17 22:39  MyWeather\MyWeather\bin\Debug\MyWeather.vshost.exe.manifest

     文件       1548  2020-07-15 16:32  MyWeather\MyWeather\Form1.cs

     文件       1402  2020-07-15 16:31  MyWeather\MyWeather\Form1.Designer.cs

     文件       5817  2020-07-15 16:31  MyWeather\MyWeather\Form1.resx

     文件       3732  2020-07-15 16:31  MyWeather\MyWeather\MyWeather.csproj

     文件        864  2020-07-15 16:29  MyWeather\MyWeather\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6884  2020-07-15 16:29  MyWeather\MyWeather\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        706  2020-07-15 16:34  MyWeather\MyWeather\obj\Debug\MyWeather.csproj.FileListAbsolute.txt

     文件       1012  2020-07-15 16:31  MyWeather\MyWeather\obj\Debug\MyWeather.csproj.GenerateResource.Cache

     文件       2210  2020-07-15 16:31  MyWeather\MyWeather\obj\Debug\MyWeather.csprojResolveAssemblyReference.cache

     文件       8192  2020-07-15 16:32  MyWeather\MyWeather\obj\Debug\MyWeather.exe

     文件        180  2020-07-15 16:31  MyWeather\MyWeather\obj\Debug\MyWeather.Form1.resources

     文件      19968  2020-07-15 16:32  MyWeather\MyWeather\obj\Debug\MyWeather.pdb

     文件        180  2020-07-15 16:31  MyWeather\MyWeather\obj\Debug\MyWeather.Properties.Resources.resources

     文件        490  2020-07-15 16:29  MyWeather\MyWeather\Program.cs

     文件       1326  2020-07-15 16:29  MyWeather\MyWeather\Properties\AssemblyInfo.cs

     文件       2831  2020-07-15 16:29  MyWeather\MyWeather\Properties\Resources.Designer.cs

     文件       5612  2020-07-15 16:29  MyWeather\MyWeather\Properties\Resources.resx

     文件       1096  2020-07-15 16:29  MyWeather\MyWeather\Properties\Settings.Designer.cs

     文件        249  2020-07-15 16:29  MyWeather\MyWeather\Properties\Settings.settings

     文件        994  2020-07-15 16:29  MyWeather\MyWeather.sln

     目录          0  2020-07-15 16:29  MyWeather\MyWeather\obj\Debug\TempPE

     目录          0  2020-07-15 16:29  MyWeather\.vs\MyWeather\v14

     目录          0  2020-07-15 16:32  MyWeather\MyWeather\bin\Debug

     目录          0  2020-07-15 16:32  MyWeather\MyWeather\obj\Debug

     目录          0  2020-07-15 16:29  MyWeather\.vs\MyWeather

............此处省略9个文件信息

评论

共有 条评论