1.为每一个单元格制定一个tooptip提示,当鼠标移到单元格时,自动弹出提示框。
界面如下:
1,代码如下,
先设置鼠标移到单元格的行号和列号:
1 public partial class DataGridViewMerge : Form
2 {
3 private int CellColumnIndex { get; set; }
4 private int CellRowIndex { get; set; }
2 {
3 private int CellColumnIndex { get; set; }
4 private int CellRowIndex { get; set; }