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