''' <summary>
''' 右击复制功能
''' </summary>
''' <param name="sender"></param>
''' <param name="e"></param>
''' <remarks></remarks>
Private Sub TSMI_copy_C_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TSMI_copy_C.Click
Select Case Me.TabControl1.SelectedTab.Name
Case "丈根A"
With Me.GridView_AssistantZhangGengCompute
If .FocusedRowHandle >= 0 Then
LDRobj = FDTZGCompute.Rows(.FocusedRowHandle).ItemArray
End If
End With
Case "捆条A"
With Me.GridView_AssistantKunTiaoCompute
If .FocusedRowHandle >= 0 Then
LDRobj = FdtKT.Rows(.FocusedRowHandle).ItemArray
End If
End With
Case "饰条A"
With Me.GridView_AssistantShiTiaoCompute
If .FocusedRowHandle >= 0 Then
LDRobj = FdtST.Rows(.FocusedRowHandle).ItemArray
End If
End W
Dev Express Gridview 右击快捷键(复制、剪切、插入、粘贴)
最新推荐文章于 2021-08-03 22:23:27 发布
本文详细介绍了如何在Dev Express Gridview中实现右键点击功能,包括复制、剪切、插入行以及粘贴数据的操作。通过自定义上下文菜单和事件处理,为Gridview提供了便捷的数据编辑方式。
摘要由CSDN通过智能技术生成