We need code to capture the contents of a control to a bitmap in C#. We thought this could be done by using the using the OnPaint method to draw onto a bitmap, however this does not seem to work: public class MyTextBox : TextBox { public Bitmap RenderToBitmap() { Bitmap buffer=new [login to view URL]([login to view URL], [login to view URL]); PaintEventArgs e; Graphics g=[login to view URL](buffer); e=new PaintEventArgs(g, [login to view URL]); return buffer; } } We will pay someone to find out how to do this.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
C#