• 大小: 0.41M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 拖拽  窗体  

资源简介

仿VS 创建窗体可拖拽

资源截图

代码片段和文件信息

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

namespace Guanjinke.Windows.Forms
{
    public delegate void ItemChangedEventHandler(object sender EventArgs e);
    public class ToolBox : Control
    {
        #region fields
        private VScrollBar vScrollBar1;
        private ToolBoxCategoryCollection _categories = new ToolBoxCategoryCollection();
        private Int32 _itemHeight = 18;
        private Int32 _categoryHeight = 16;
        private Int32 _itemSpace = 2;
        private ToolBoxItem _mouseHoverItem = null;
        private ToolBoxItem _selectedItem = null;
        private Color _borderColor = Color.Black;
        priv

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

    ..A..H.     81920  2017-03-30 10:10  WinFormDesigner\.vs\WinFormDesigner\v14\.suo

     文件       1433  2006-09-21 22:28  WinFormDesigner\Backup\Guanjinke.Windows.Forms\Properties\AssemblyInfo.cs

     文件      24150  2007-02-19 22:46  WinFormDesigner\Backup\Guanjinke.Windows.Forms\ToolBox.cs

     文件       2321  2007-02-19 15:51  WinFormDesigner\Backup\Guanjinke.Windows.Forms\ToolBox.csproj

     文件       1031  2006-09-21 22:41  WinFormDesigner\Backup\Guanjinke.Windows.Forms\ToolBoxCategory.cs

     文件       2158  2006-09-21 22:39  WinFormDesigner\Backup\Guanjinke.Windows.Forms\ToolBoxCategoryCollection.cs

     文件       1507  2007-02-19 21:26  WinFormDesigner\Backup\Guanjinke.Windows.Forms\ToolBoxItem.cs

     文件       2122  2006-09-21 22:39  WinFormDesigner\Backup\Guanjinke.Windows.Forms\ToolBoxItemCollection.cs

     文件      11341  2007-02-19 14:52  WinFormDesigner\Backup\WinFormDesigner\HelperClass\ComponentLibraryLoader.cs

     文件       2111  2007-02-19 16:06  WinFormDesigner\Backup\WinFormDesigner\HelperClass\IDEContainer.cs

     文件       6764  2007-02-23 15:56  WinFormDesigner\Backup\WinFormDesigner\Loader\CodeDomHostLoader.cs

     文件       3761  2007-02-23 16:10  WinFormDesigner\Backup\WinFormDesigner\Loader\CodeGen.cs

     文件       2452  2005-09-28 16:18  WinFormDesigner\Backup\WinFormDesigner\Loader\TypeResolutionService.cs

     文件      15878  2007-02-23 15:48  WinFormDesigner\Backup\WinFormDesigner\MainForm.cs

     文件      16156  2007-02-23 15:46  WinFormDesigner\Backup\WinFormDesigner\MainForm.Designer.cs

     文件       6012  2007-02-23 15:46  WinFormDesigner\Backup\WinFormDesigner\MainForm.resx

     文件        491  2007-02-19 14:43  WinFormDesigner\Backup\WinFormDesigner\Program.cs

     文件       1286  2007-02-19 14:39  WinFormDesigner\Backup\WinFormDesigner\Properties\AssemblyInfo.cs

     文件       2857  2007-02-19 14:39  WinFormDesigner\Backup\WinFormDesigner\Properties\Resources.Designer.cs

     文件       5612  2007-02-19 14:39  WinFormDesigner\Backup\WinFormDesigner\Properties\Resources.resx

     文件       1098  2007-02-19 14:39  WinFormDesigner\Backup\WinFormDesigner\Properties\Settings.Designer.cs

     文件        249  2007-02-19 14:39  WinFormDesigner\Backup\WinFormDesigner\Properties\Settings.settings

     文件       1716  2007-02-20 01:11  WinFormDesigner\Backup\WinFormDesigner\Services\CustomToolboxService.cs

     文件       2800  2007-02-19 11:39  WinFormDesigner\Backup\WinFormDesigner\Services\DesignerEventService.cs

     文件       2606  2007-02-24 23:05  WinFormDesigner\Backup\WinFormDesigner\Services\EventBindingService.cs

     文件       1432  2007-02-19 13:00  WinFormDesigner\Backup\WinFormDesigner\Services\NameCreationService.cs

     文件       4361  2007-02-20 01:38  WinFormDesigner\Backup\WinFormDesigner\WinFormDesigner.csproj

     文件        168  2007-02-20 01:54  WinFormDesigner\Backup\WinFormDesigner\WinFormDesigner.csproj.user

     文件       1425  2007-02-19 14:40  WinFormDesigner\Backup\WinFormDesigner.sln

     文件      20480  2017-03-16 11:32  WinFormDesigner\bin\Guanjinke.Windows.Forms.dll

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

评论

共有 条评论