明輝手游網(wǎng)中心:是一個(gè)免費(fèi)提供流行視頻軟件教程、在線學(xué)習(xí)分享的學(xué)習(xí)平臺(tái)!

按鈕列的應(yīng)用

[摘要]Public Class mybuttondatagridtablestyle1 Inherits System.Windows.Forms.DataGridTextBoxColumn #Region " Windows 窗體設(shè)計(jì)器生成的代碼 " Publi...
 

Public Class mybuttondatagridtablestyle1

    Inherits System.Windows.Forms.DataGridTextBoxColumn

 

#Region " Windows 窗體設(shè)計(jì)器生成的代碼 "

 

    Public Sub New()

        MyBase.New()

 

        '該調(diào)用是 Windows 窗體設(shè)計(jì)器所必需的。

        InitializeComponent()

 

        ' InitializeComponent() 調(diào)用之后添加任何初始化

 

    End Sub

 

    'UserControl 重寫(xiě) 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 窗體設(shè)計(jì)器所必需的

    Private components As System.ComponentModel.IContainer

 

    '注意:以下過(guò)程是 Windows 窗體設(shè)計(jì)器所必需的

    '可以使用 Windows 窗體設(shè)計(jì)器修改此過(guò)程。

    '不要使用代碼編輯器修改它。

    <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]  下一頁(yè)




標(biāo)簽:按鈕列的應(yīng)用