• 大小: 0.16M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 放大镜  

资源简介

实现鼠标移动到某处后放大效果,类似Windows放大镜

资源截图

代码片段和文件信息

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 ScreenBlowupGlass
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        #region 定义快捷键
        //如果函数执行成功,返回值不为0。       
        //如果函数执行失败,返回值为0。要得到扩展错误信息,调用GetLastError。        
        [DllImport(“user32.dll“ SetLastError = true)]
        public static extern bool RegisterHotKey(
        IntPtr hWnd                //要定义热键的窗口的句柄            
        int id                     //定义热键ID(不能与其它ID重复)                       
        KeyModifiers fsModifiers   //标

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-19 09:57  屏幕放大镜\
     目录           0  2013-01-19 09:57  屏幕放大镜\ScreenBlowupGlass\
     文件         941  2008-12-09 11:45  屏幕放大镜\ScreenBlowupGlass.sln
     文件        9216  2009-02-10 10:18  屏幕放大镜\ScreenBlowupGlass.suo
     文件      273832  2010-08-18 17:50  屏幕放大镜\ScreenBlowupGlass\bg.bmp
     目录           0  2013-01-19 09:57  屏幕放大镜\ScreenBlowupGlass\bin\
     目录           0  2013-01-19 09:57  屏幕放大镜\ScreenBlowupGlass\bin\Debug\
     文件      372224  2009-01-13 14:52  屏幕放大镜\ScreenBlowupGlass\bin\Debug\ScreenBlowupGlass.exe
     文件       36352  2009-01-13 14:52  屏幕放大镜\ScreenBlowupGlass\bin\Debug\ScreenBlowupGlass.pdb
     文件       14328  2009-02-10 10:06  屏幕放大镜\ScreenBlowupGlass\bin\Debug\ScreenBlowupGlass.vshost.exe
     文件         490  2007-07-21 01:33  屏幕放大镜\ScreenBlowupGlass\bin\Debug\ScreenBlowupGlass.vshost.exe.manifest
     文件        6049  2009-01-13 14:52  屏幕放大镜\ScreenBlowupGlass\Form1.cs
     文件        6540  2008-12-11 09:05  屏幕放大镜\ScreenBlowupGlass\Form1.Designer.cs
     文件        6008  2008-12-11 09:05  屏幕放大镜\ScreenBlowupGlass\Form1.resx
     目录           0  2013-01-19 09:57  屏幕放大镜\ScreenBlowupGlass\obj\
     目录           0  2013-01-19 09:57  屏幕放大镜\ScreenBlowupGlass\obj\Debug\
     目录           0  2012-05-02 09:54  屏幕放大镜\ScreenBlowupGlass\obj\Debug\Refactor\
     文件        2559  2009-02-10 10:11  屏幕放大镜\ScreenBlowupGlass\obj\Debug\ScreenBlowupGlass.csproj.FileListAbsolute.txt
     文件         899  2008-12-11 09:23  屏幕放大镜\ScreenBlowupGlass\obj\Debug\ScreenBlowupGlass.csproj.GenerateResource.Cache
     文件      372224  2009-01-13 14:52  屏幕放大镜\ScreenBlowupGlass\obj\Debug\ScreenBlowupGlass.exe
     文件         180  2009-02-10 10:11  屏幕放大镜\ScreenBlowupGlass\obj\Debug\ScreenBlowupGlass.Form1.resources
     文件       36352  2009-01-13 14:52  屏幕放大镜\ScreenBlowupGlass\obj\Debug\ScreenBlowupGlass.pdb
     文件      303427  2008-12-11 09:23  屏幕放大镜\ScreenBlowupGlass\obj\Debug\ScreenBlowupGlass.Properties.Resources.resources
     目录           0  2013-01-19 09:57  屏幕放大镜\ScreenBlowupGlass\obj\Debug\TempPE\
     文件        5120  2008-12-10 11:24  屏幕放大镜\ScreenBlowupGlass\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         498  2008-12-09 11:45  屏幕放大镜\ScreenBlowupGlass\Program.cs
     目录           0  2013-01-19 09:57  屏幕放大镜\ScreenBlowupGlass\Properties\
     文件        1388  2008-12-11 09:23  屏幕放大镜\ScreenBlowupGlass\Properties\AssemblyInfo.cs
     文件        3345  2010-08-18 17:50  屏幕放大镜\ScreenBlowupGlass\Properties\Resources.Designer.cs
     文件        6405  2008-12-10 11:24  屏幕放大镜\ScreenBlowupGlass\Properties\Resources.resx
     文件        1102  2008-12-09 11:45  屏幕放大镜\ScreenBlowupGlass\Properties\Settings.Designer.cs
............此处省略3个文件信息

评论

共有 条评论