I am trying to create a user control with a text box which takes input for a keystroke combination (a shortcut). For example, if you press the control key, the alt key, and the s key, "CTRL + ALT + S" should show up in the text box.
I am only able to add this user control to my form during runtime using:
Is there a way I can add this control during design time instead? It doesn't just let me drag and drop the user control from the solution explorer.
I am only able to add this user control to my form during runtime using:
VB.NET:
[SIZE=2]
Me.Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2] ShortcutInput)
[/SIZE]
Is there a way I can add this control during design time instead? It doesn't just let me drag and drop the user control from the solution explorer.