打印本文 打印本文 关闭窗口 关闭窗口
自定义控件--xp风格按钮(可设置文字颜色)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数8779  更新时间:2009/4/25 0:44:49  文章录入:mintao  责任编辑:mintao
    Private Sub DrawMouseHoverButton(ByVal g As Graphics)

        DrawBorder(g, 2)

        PaintBack(g, SystemColors.ControlLightLight)

    End Sub

 

 

    Private Sub DrawMouseDownButton(ByVal g As Graphics)

        DrawBorder(g, 3)

        ''''绘制背景,用三维元素的亮色

        PaintBack(g, SystemColors.ControlLight)

    End Sub

 

 

    Private Sub DrawDisableButton(ByVal g As Graphics)

        DrawBorder(g, 4)

        ''''亮色

        PaintBack(g, SystemColors.ControlLight)

    End Sub

 

 

    Private Sub DrawContainFocusButton(ByVal g As Graphics)

        DrawBorder(g, 5)

 << 上一页  [11] [12] [13]  下一页

打印本文 打印本文 关闭窗口 关闭窗口