按钮列的应用

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 窗体设计器修改此过程。

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

 1<system.diagnostics.debuggerstepthrough()> Private  Sub  InitializeComponent() 
 2
 3components =  New  System.ComponentModel.Container() 
 4
 5End  Sub 
 6
 7#  End  Region 
 8
 9Public  Delegate  Sub  DataGridCellButtonClickEventHandler(  ByVal  sender  As  Object  ,  ByVal  e  As  DataGridCellButtonClickEventArgs) 
10
11Public  Event  CellButtonClicked  As  DataGridCellButtonClickEventHandler 
12
13Private  m_Face  As  Bitmap 
14
15Private  m_FacePressed  As  Bitmap 
16
17Private  m_columnNum  As  Integer 
18
19Private  m_Row  As  Integer 
20
21本新闻共  3  页,当前在第  1  页  1  2 3</system.diagnostics.debuggerstepthrough()>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus