By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,089 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,089 IT Pros & Developers. It's quick & easy.

AcceptButton

P: n/a
how do i create an AcceptButton in c#

user presses enter on textbox = button1.click

something like
AcceptButton = button1
Jun 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Al Biheiri" <ab******@hotmail.com> wrote:
how do i create an AcceptButton in c#

user presses enter on textbox = button1.click

something like
AcceptButton = button1


You got it - "form.AcceptButton = button1;", System.Windows.Forms.Form
class, AcceptButton property.

-- Barry

--
http://barrkel.blogspot.com/
Jun 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.