盾怪网教程:是一个免费提供流行杀毒软件教程、在线学习分享的学习平台!

按钮列的应用

时间:2024/12/20作者:未知来源:盾怪网教程人气:

[摘要]Public Class mybuttondatagridtablestyle1 Inherits System.Windows.Forms.DataGridTextBoxColumn #...
 

Public Class mybuttondatagridtablestyle1

    Inherits System.Windows.Forms.DataGridTextBoxColumn

 

#Region " Windows 窗体设计器生成的代码 "

 

    Public Sub New()

        MyBase.New()

 

        '该调用是 Windows 窗体设计器所必需的。

        InitializeComponent()

 

        ' InitializeComponent() 调用之后添加任何初始化

 

    End Sub

 

    'UserControl 重写 dispose 以清理组件列表。

    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)

        If disposing Then

            If Not (components Is Nothing) Then

                components.Dispose()

            End If

        End If

        MyBase.Dispose(disposing)

    End Sub

 

    'Windows 窗体设计器所必需的

    Private components As System.ComponentModel.IContainer

 

    '注意:以下过程是 Windows 窗体设计器所必需的

    '可以使用 Windows 窗体设计器修改此过程。

    '不要使用代码编辑器修改它。

    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

        components = New System.ComponentModel.Container()

    End Sub

 

#End Region

    Public Delegate Sub DataGridCellButtonClickEventHandler(ByVal sender As Object, ByVal e As DataGridCellButtonClickEventArgs)

    Public Event CellButtonClicked As DataGridCellButtonClickEventHandler

 

    Private m_Face As Bitmap

    Private m_FacePressed As Bitmap

    Private m_columnNum As Integer

    Private m_Row As Integer


[1] [2] [3]  下一页



关键词:按钮列的应用




Copyright © 2012-2018 盾怪网教程(http://www.dunguai.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版