您当前的位置:素材库 -> 网络编程 -> .NET编程 -> 文章内容
按钮列的应用
作者:郁郁小蝎  来源:中国站长学院  发布时间:2005-6-28 9:44:30  发布人:superren
 

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]  下一页

热门文章
· [图文] 从黑人变成白..
· [图文] Photoshop教你..
· [图文] Photoshop虚化..
· [图文] 巧妙的幻灯片..
· [图文] Photoshop将肖..
· [图文] Photoshop轻松..
· [图文] Photoshop数码..
· [图文] photoshop有效..
· [图文] Photoshop为婚..
· [图文] Photoshop制作..
相关文章
· [组图] Windows Vist..
· [组图] Fireworks打造..
· [组图] Fireworks制作..
· [图文] 教你用Photos..
· [图文] Fireworks 制..
· [图文] 用PS设计一款..
· [图文] 用Photoshop设..
· [图文] Photoshop:打..
· [图文] Photoshop为G..
· [组图] Illustrator巧..
推荐广告
[ ] [返回上一页] [打 印] [收 藏]
上一篇文章:带颜色的listbox控件
下一篇文章:.net中窗体的调整
∷相关文章评论∷    (评论内容只代表网友观点,与本站立场无关!) [更多评论...]
Copyright © 2005 - 2008 chinasck.com . All Rights Reserved 中国素材库 版权所有