Is there a way to choose automatic code events for tools? For example, I want to code a KeyPress event for a text box. In the Designer, I place a textbox. If I double click it, the code window opens but the automatic code is a "TextChanged" event.
Is there any way to tell the designer what event I want?
Thanks in advance. I have not had time to read through the forums here but I look forward to it. Also, if there is a forum more suited to the .NET Studio environment, let me know please.
Designer to Code Window .NET Studio 2003
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Mike GoldRank #50 · 30.6K pointsPosted Jun 1, 2007, 10:32 AM EDT
Best,
Bevan Shervey10 pointsPosted Jun 1, 2007, 10:58 AM EDT
ah the lightning bolt. nice tip - thank you!