Bright,
In visual studio, goto design view of your main form.
Select the input text box. Press F4. Goto Properties -- > Events -- > Text changing --> Double click.
A new event handler will be created in code behind page.
Now, copy paste the whole code that you have wrote inside your Convert...