C# Desktop Application | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

C# Desktop Application

In my application i want to create a button that automatically type in textbox start() and then press Enter Key of keyboard. If i want to start process i need to type in textbox "start()" then press "Enter Key" , the button should do this process when pressed. What will be code for this? Help!

9th Dec 2018, 12:47 PM
modubaj
1 Answer
0
Ok, we'll first thing is by desktop application do you mean console app or Windows app if it is a Windows app i recommend reading this https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.button?view=netframework-4.7.2
9th Dec 2018, 3:58 PM
Dan Blaine
Dan Blaine - avatar