12 references to s_fonts
WinFormsControlsTest (12)
DataGridViewTest.cs (12)
57
if (_cellFontIndex >=
s_fonts
.Length)
59
_cellFontIndex -=
s_fonts
.Length;
63
if (_columnHeaderFontIndex >=
s_fonts
.Length)
65
_columnHeaderFontIndex -=
s_fonts
.Length;
69
if (_rowHeaderFontIndex >=
s_fonts
.Length)
71
_rowHeaderFontIndex -=
s_fonts
.Length;
74
dataGridView1.DefaultCellStyle.Font =
s_fonts
[_cellFontIndex];
75
dataGridView1.Rows[0].Cells[1].Value =
s_fonts
[_cellFontIndex];
77
dataGridView1.ColumnHeadersDefaultCellStyle.Font =
s_fonts
[_columnHeaderFontIndex];
78
dataGridView1.Rows[1].Cells[1].Value =
s_fonts
[_columnHeaderFontIndex];
80
dataGridView1.RowHeadersDefaultCellStyle.Font =
s_fonts
[_rowHeaderFontIndex];
81
dataGridView1.Rows[2].Cells[1].Value =
s_fonts
[_rowHeaderFontIndex];