51 references to new
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (6)
509
dgvabs = new
DataGridViewAdvancedBorderStyle
();
525
dgvabs = new
DataGridViewAdvancedBorderStyle
();
546
dgvabs = new
DataGridViewAdvancedBorderStyle
();
580
dgvabs = new
DataGridViewAdvancedBorderStyle
590
dgvabs = new
DataGridViewAdvancedBorderStyle
605
dgvabs = new
DataGridViewAdvancedBorderStyle
();
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19335
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
(), dgvabsEffective;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
599
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
(), dgvabsEffective;
961
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
();
3793
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
();
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
492
DataGridViewAdvancedBorderStyle dgvabsPlaceholder =
new
(), dgvabsEffective;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
522
DataGridViewAdvancedBorderStyle dgvabsPlaceholder =
new
();
1758
dgvabsPlaceholder = new
DataGridViewAdvancedBorderStyle
();
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
1511
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
(), dgvabsEffective;
1710
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
(), dgvabsEffective;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
519
DataGridViewAdvancedBorderStyle dgvabsPlaceholder =
new
();
System.Windows.Forms.Tests (35)
System\Windows\Forms\DataGridViewCellPaintingEventArgsTests.cs (5)
13
yield return new object[] { new Rectangle(-1, -2, -3, -4), new Rectangle(-1, -2, -3, -4), -1, -1, DataGridViewElementStates.Displayed, "value", "formattedValue", "", new DataGridViewCellStyle(), new
DataGridViewAdvancedBorderStyle
(), DataGridViewPaintParts.All };
14
yield return new object[] { new Rectangle(1, 2, 3, 4), new Rectangle(2, 3, 4, 5), 0, 1, (DataGridViewElementStates)7, "value", "formattedValue", "errorText", new DataGridViewCellStyle(), new
DataGridViewAdvancedBorderStyle
(), DataGridViewPaintParts.All };
84
DataGridViewCellPaintingEventArgs e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, columnIndex, DataGridViewElementStates.Displayed, null, null, null, new DataGridViewCellStyle(), new
DataGridViewAdvancedBorderStyle
(), DataGridViewPaintParts.All);
134
DataGridViewCellPaintingEventArgs e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, columnIndex, DataGridViewElementStates.Displayed, null, null, null, new DataGridViewCellStyle(), new
DataGridViewAdvancedBorderStyle
(), DataGridViewPaintParts.All);
184
DataGridViewCellPaintingEventArgs e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, columnIndex, DataGridViewElementStates.Displayed, null, null, null, new DataGridViewCellStyle(), new
DataGridViewAdvancedBorderStyle
(), DataGridViewPaintParts.All);
System\Windows\Forms\DataGridViewCellTests.cs (26)
3074
DataGridViewAdvancedBorderStyle controlAdvancedBorderStyleInput =
new
()
3078
DataGridViewAdvancedBorderStyle controlAdvancedBorderStylePlaceholder =
new
();
3096
DataGridViewAdvancedBorderStyle controlAdvancedBorderStyleInput =
new
()
3100
DataGridViewAdvancedBorderStyle controlAdvancedBorderStylePlaceholder =
new
();
3108
DataGridViewAdvancedBorderStyle controlAdvancedBorderStylePlaceholder =
new
();
3116
DataGridViewAdvancedBorderStyle controlAdvancedBorderStyleInput =
new
()
3121
DataGridViewAdvancedBorderStyle controlAdvancedBorderStylePlaceholder =
new
();
3127
yield return new object[] { new
DataGridViewAdvancedBorderStyle
{ All = DataGridViewAdvancedCellBorderStyle.None } };
3128
yield return new object[] { new
DataGridViewAdvancedBorderStyle
{ All = DataGridViewAdvancedCellBorderStyle.Inset } };
3129
yield return new object[] { new
DataGridViewAdvancedBorderStyle
{ All = DataGridViewAdvancedCellBorderStyle.InsetDouble } };
3130
yield return new object[] { new
DataGridViewAdvancedBorderStyle
{ All = DataGridViewAdvancedCellBorderStyle.Outset } };
3131
yield return new object[] { new
DataGridViewAdvancedBorderStyle
{ All = DataGridViewAdvancedCellBorderStyle.OutsetDouble } };
3132
yield return new object[] { new
DataGridViewAdvancedBorderStyle
{ All = DataGridViewAdvancedCellBorderStyle.OutsetPartial } };
3133
yield return new object[] { new
DataGridViewAdvancedBorderStyle
{ Left = DataGridViewAdvancedCellBorderStyle.Inset, Right = DataGridViewAdvancedCellBorderStyle.Outset } };
3146
yield return new object[] { new
DataGridViewAdvancedBorderStyle
(), new Rectangle(0, 0, 0, 0) };
3149
new
DataGridViewAdvancedBorderStyle
(),
3154
new
DataGridViewAdvancedBorderStyle
3162
new
DataGridViewAdvancedBorderStyle
3170
new
DataGridViewAdvancedBorderStyle
3178
new
DataGridViewAdvancedBorderStyle
3186
new
DataGridViewAdvancedBorderStyle
3194
new
DataGridViewAdvancedBorderStyle
3202
new
DataGridViewAdvancedBorderStyle
6029
cell.PaintBorder(graphics, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4), new DataGridViewCellStyle(), new
DataGridViewAdvancedBorderStyle
());
6036
Assert.Throws<ArgumentNullException>("graphics", () => cell.PaintBorder(null, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4), new DataGridViewCellStyle(), new
DataGridViewAdvancedBorderStyle
()));
6045
Assert.Throws<ArgumentNullException>("cellStyle", () => cell.PaintBorder(graphics, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4), null, new
DataGridViewAdvancedBorderStyle
()));
System\Windows\Forms\DataGridViewRowTests.cs (4)
3732
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStyleInput =
new
()
3736
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
();
3885
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStyleInput =
new
()
3889
DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder =
new
();