-
Notifications
You must be signed in to change notification settings - Fork 0
/
AfterSelectorEventArgs.cs
42 lines (38 loc) · 1.08 KB
/
AfterSelectorEventArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace 巧用_ToolStripControlHost_自定义WinForm右键菜单
{
public delegate void AfterSelectorEventHandler(object sender, AfterSelectorEventArgs e);
public class AfterSelectorEventArgs : EventArgs
{
private int _rowIndex;
private int _columnIndex;
private DataGridViewRow _value;
public int RowIndex
{
get { return _rowIndex; }
set { _rowIndex = value; }
}
public int ColumnIndex
{
get { return _columnIndex; }
set { _columnIndex = value; }
}
public DataGridViewRow Value
{
get { return _value; }
set { _value = value; }
}
public AfterSelectorEventArgs(int rowIndex, int columnIndex, DataGridViewRow value)
: base()
{
_rowIndex = rowIndex;
_columnIndex = columnIndex;
_value = value;
}
}
}