• 大小: 0.10M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签:

资源简介


资源截图

代码片段和文件信息

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

        Point CPoint;
        private void monthCalendar1_MouseDown(object sender MouseEventArgs e)
        {
            CPoint = new Point(-e.X -e.Y);
        }

        private void monthCalendar1_MouseMove(object sender MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                Point myPosittion = Control.MousePosition;//获取当前鼠标的屏幕坐标
                myPosittion.Offset(CPoint.X CPoint.Y);//重载当前鼠标的位置
                this.DesktopLocation = myPosittion;//设置当前窗体在屏幕上的位置
            }
        }

        private const uint WS_EX_layerED =

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         941  2009-02-07 14:10  sj\CalendarPenetrate\CalendarPenetrate.sln
     文件       14336  2009-02-07 14:21  sj\CalendarPenetrate\CalendarPenetrate.suo
     文件        3745  2009-02-07 14:17  sj\CalendarPenetrate\CalendarPenetrate\CalendarPenetrate.csproj
     文件        3261  2009-02-07 14:18  sj\CalendarPenetrate\CalendarPenetrate\Form1.cs
     文件        4493  2009-02-07 14:17  sj\CalendarPenetrate\CalendarPenetrate\Form1.Designer.cs
     文件       11423  2009-02-07 14:17  sj\CalendarPenetrate\CalendarPenetrate\Form1.resx
     文件         498  2009-02-07 14:10  sj\CalendarPenetrate\CalendarPenetrate\Program.cs
     文件       13824  2009-02-07 14:18  sj\CalendarPenetrate\CalendarPenetrate\bin\Debug\CalendarPenetrate.exe
     文件       26112  2009-02-07 14:18  sj\CalendarPenetrate\CalendarPenetrate\bin\Debug\CalendarPenetrate.pdb
     文件       14328  2009-02-07 14:21  sj\CalendarPenetrate\CalendarPenetrate\bin\Debug\CalendarPenetrate.vshost.exe
     文件         490  2007-07-21 01:33  sj\CalendarPenetrate\CalendarPenetrate\bin\Debug\CalendarPenetrate.vshost.exe.manifest
     文件        3262  2007-07-11 10:39  sj\CalendarPenetrate\CalendarPenetrate\Image\明日图标(2).ico
     文件        1122  2009-02-07 14:21  sj\CalendarPenetrate\CalendarPenetrate\obj\Debug\CalendarPenetrate.csproj.FileListAbsolute.txt
     文件         847  2009-02-07 14:17  sj\CalendarPenetrate\CalendarPenetrate\obj\Debug\CalendarPenetrate.csproj.GenerateResource.Cache
     文件       13824  2009-02-07 14:18  sj\CalendarPenetrate\CalendarPenetrate\obj\Debug\CalendarPenetrate.exe
     文件        3840  2009-02-07 14:17  sj\CalendarPenetrate\CalendarPenetrate\obj\Debug\CalendarPenetrate.Form1.resources
     文件       26112  2009-02-07 14:18  sj\CalendarPenetrate\CalendarPenetrate\obj\Debug\CalendarPenetrate.pdb
     文件         180  2009-02-07 14:17  sj\CalendarPenetrate\CalendarPenetrate\obj\Debug\CalendarPenetrate.Properties.Resources.resources
     文件        1366  2009-02-07 14:10  sj\CalendarPenetrate\CalendarPenetrate\Properties\AssemblyInfo.cs
     文件        2884  2009-02-07 14:10  sj\CalendarPenetrate\CalendarPenetrate\Properties\Resources.Designer.cs
     文件        5612  2009-02-07 14:10  sj\CalendarPenetrate\CalendarPenetrate\Properties\Resources.resx
     文件        1102  2009-02-07 14:10  sj\CalendarPenetrate\CalendarPenetrate\Properties\Settings.Designer.cs
     文件         249  2009-02-07 14:10  sj\CalendarPenetrate\CalendarPenetrate\Properties\Settings.settings
     文件         944  2008-10-09 14:39  sl\鼠标穿透窗体\鼠标穿透窗体.sln
     文件       14336  2009-02-06 09:58  sl\鼠标穿透窗体\鼠标穿透窗体.suo
     文件        5114  2008-12-28 16:20  sl\鼠标穿透窗体\鼠标穿透窗体\Form1.cs
     文件       13290  2008-10-09 17:01  sl\鼠标穿透窗体\鼠标穿透窗体\Form1.Designer.cs
     文件       11423  2008-10-09 17:01  sl\鼠标穿透窗体\鼠标穿透窗体\Form1.resx
     文件         499  2008-10-09 14:39  sl\鼠标穿透窗体\鼠标穿透窗体\Program.cs
     文件        3782  2008-10-09 15:00  sl\鼠标穿透窗体\鼠标穿透窗体\鼠标穿透窗体.csproj
     文件       16896  2008-12-28 15:00  sl\鼠标穿透窗体\鼠标穿透窗体\bin\Debug\鼠标穿透窗体.exe
............此处省略15个文件信息

评论

共有 条评论