Sorry if you seen this post already, but I don't want this to be buried and it seems like I didn't get enough help in the other channels.
So I have been trying to make a FloodFill Winforms Applications that colors a section of a canvas using Recursion. It is a winforms project with three buttons, "Generate" (which generates a series of random blocks), "Fill Color" (which selects the color for the fill recursion algorithm) and the "Fill" that basically does the recursion with the color and initiates whenever the left mouse button is pressed on the Canvas.
However, it seems like when I have been trying to debug my code, I have been facing a Stack Overflow Error. I found this Stack Overflow error specically in the Fill_Color() recursion method and have been trying everything to fix this, yet to no avail. I have my code linked in the pastebin below. Can someone help me?