The attached source code project draws spline curves between two points. Its a cubic spline fitting means program start drawing curve after four clicks.
To run the project, download and unzip the attached file, build and run the project and click on the form.
Main source code:
PaintBrush in C#
Scrollable Picture Box