⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xpanderdesigner.vb

📁 使用Access数据库演示的任务分配管理程序 一个使用ADO.NET基于Microsoft Access数据库演示的任务分配管理的程序
💻 VB
字号:

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class XPanderDesigner
    Inherits System.Windows.Forms.Design.ParentControlDesigner

    Private m_BorderPen As New Pen(Color.FromKnownColor(KnownColor.ControlDarkDark))
    Private m_Control As XPander

    Public Sub New()
        m_BorderPen.DashStyle = Drawing.Drawing2D.DashStyle.Dash
    End Sub

    Public Overrides Sub Initialize(ByVal component As System.ComponentModel.IComponent)
        MyBase.Initialize(component)
        m_Control = CType(Me.Control, XPander)
    End Sub

    Protected Overrides Sub OnPaintAdornments(ByVal pe As PaintEventArgs)
        MyBase.OnPaintAdornments(pe)
        pe.Graphics.DrawRectangle(m_BorderPen, 0, 0, m_Control.Width - 2, m_Control.Height - 2)

        m_Control.ExpandedHeight = m_Control.Height
    End Sub
End Class

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -