5 references to Get1DFrom2D
System.Windows.Forms.Design (5)
System\Drawing\Design\ColorEditor.ColorPalette.cs (5)
145
private Color GetColorFromCell(int across, int down) => GetColorFromCell(
Get1DFrom2D
(across, down));
180
private static int Get1DFrom2D(Point pt) =>
Get1DFrom2D
(pt.X, pt.Y);
225
1 +
Get1DFrom2D
(_focus.X, _focus.Y));
377
Color color = GetColorFromCell(
Get1DFrom2D
(x, y));
425
int cell =
Get1DFrom2D
(_focus.X, _focus.Y);