// SolidBrush lastsb; // byte lastColorByte; private SolidBrush ColourForByte(int x, int y, byte[,] matrix) { Color sb = PathStore.GetColor(CurrentPlane, x, y, matrix); SolidBrush lastsb = new SolidBrush(sb); // lastColorByte= p; return(lastsb); }