• 大小: 277KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-03
  • 语言: C#
  • 标签: c#  

资源简介

自定义控件 - 重绘控件 - TabControl,完整源码。最后封装DLL,绝无BUG

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace CSharpWin
{
    public delegate void UpDownButtonPaintEventHandler(
        object sender
        UpDownButtonPaintEventArgs e);

    public class UpDownButtonPaintEventArgs : PaintEventArgs
    {
        private bool _mouseOver;
        private bool _mousePress;
        private bool _mouseInUpButton;

        public UpDownButtonPaintEventArgs(
            Graphics graphics
            Rectangle clipRect
            bool mouseOver
            bool mousePress
            bool mouseInUpButton)
            : base(graphics clipRect)
        {
            _mouseOver = mouseOver;
            _mousePress = mousePress;
            _mouseInUpButton = mouseInUpButton;
        }

        public bool MouseOver
        {
            get { return _mouseOver; }
        }

        public bool MousePress
        {
            get { return _mousePress; }
        }

        public bool MouseInUpButton
        {
            get { return _mouseInUpButton; }
        }
    }
}

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

     文件      32768  2009-08-22 15:22  TabControlEx\TabControlEx\bin\Debug\TabControlEx.dll

     文件      40448  2009-08-22 15:22  TabControlEx\TabControlEx\bin\Debug\TabControlEx.pdb

     文件       1153  2009-08-21 18:45  TabControlEx\TabControlEx\Events.cs

     文件       3197  2009-08-22 15:16  TabControlEx\TabControlEx\NativeMethods.cs

     文件      32768  2009-08-22 15:22  TabControlEx\TabControlEx\obj\Debug\TabControlEx.dll

     文件      40448  2009-08-22 15:22  TabControlEx\TabControlEx\obj\Debug\TabControlEx.pdb

     文件        154  2009-08-23 13:41  TabControlEx\TabControlEx\obj\TabControlEx.csproj.FileList.txt

     文件        779  2009-11-29 22:34  TabControlEx\TabControlEx\obj\TabControlEx.csproj.FileListAbsolute.txt

     文件       1331  2009-11-29 22:36  TabControlEx\TabControlEx\Properties\AssemblyInfo.cs

     文件      32065  2009-11-29 22:37  TabControlEx\TabControlEx\TabControlEx.cs

     文件       2255  2009-08-20 15:16  TabControlEx\TabControlEx\TabControlEx.csproj

     文件       1427  2009-08-20 13:16  TabControlEx\TabControlEx.sln

    ..A..H.     36352  2009-11-29 22:37  TabControlEx\TabControlEx.suo

     文件      32768  2009-08-22 15:22  TabControlEx\TabControlExDemo\bin\Debug\TabControlEx.dll

     文件      40448  2009-08-22 15:22  TabControlEx\TabControlExDemo\bin\Debug\TabControlEx.pdb

     文件      90112  2009-11-29 22:34  TabControlEx\TabControlExDemo\bin\Debug\TabControlExDemo.exe

     文件      24064  2009-11-29 22:34  TabControlEx\TabControlExDemo\bin\Debug\TabControlExDemo.pdb

     文件       5632  2005-11-11 22:25  TabControlEx\TabControlExDemo\bin\Debug\TabControlExDemo.vshost.exe

     文件        371  2009-11-29 22:37  TabControlEx\TabControlExDemo\Form1.cs

     文件      17951  2009-11-29 22:35  TabControlEx\TabControlExDemo\Form1.Designer.cs

     文件      22056  2009-11-29 22:35  TabControlEx\TabControlExDemo\Form1.resx

     文件       7680  2009-11-29 22:34  TabControlEx\TabControlExDemo\obj\Debug\ResolveAssemblyReference.cache

     文件        880  2009-11-29 22:34  TabControlEx\TabControlExDemo\obj\Debug\TabControlExDemo.csproj.GenerateResource.Cache

     文件      90112  2009-11-29 22:34  TabControlEx\TabControlExDemo\obj\Debug\TabControlExDemo.exe

     文件      10971  2009-11-29 22:34  TabControlEx\TabControlExDemo\obj\Debug\TabControlExDemo.Form1.resources

     文件      24064  2009-11-29 22:34  TabControlEx\TabControlExDemo\obj\Debug\TabControlExDemo.pdb

     文件      55170  2009-08-22 15:22  TabControlEx\TabControlExDemo\obj\Debug\TabControlExDemo.Properties.Resources.resources

     文件       4608  2009-08-20 22:58  TabControlEx\TabControlExDemo\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        387  2009-08-23 13:41  TabControlEx\TabControlExDemo\obj\TabControlExDemo.csproj.FileList.txt

     文件       1677  2009-11-29 22:34  TabControlEx\TabControlExDemo\obj\TabControlExDemo.csproj.FileListAbsolute.txt

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

评论

共有 条评论