0
我想在某些单元格上放置一个按钮。因为我已经完成了这个按钮,所以它没有覆盖整个单元格。有没有办法在某个单元上放置按钮?
当前 - 这只创建一个覆盖整个单元格的按钮,我只是想在单元格的一侧有一个小按钮。
For x As Integer = 0 To gridCategories.Columns.Count - 1
If gridCategories.Rows(x).Cells(1).Value.ToString = "master" Then
gridCategories.Rows(x).Cells(0).Style.Font = New Font("Calibri", 10, FontStyle.Bold)
gridCategories.Rows(x).Cells(0) = New DataGridViewButtonCell
End If
Next
谢谢
向我们展示你尝试过什么,以及如何处理它失败,所以我们可以从那里帮助你。 – Desaroll 2014-12-02 19:10:09
@Desaroll完成。 – SkyTrees 2014-12-02 19:12:01