Click here to Skip to main content
16,021,004 members
Home / Discussions / C#
   

C#

 
AnswerRe: Tooltip only shown one time Pin
Expert Coming11-Mar-09 22:30
Expert Coming11-Mar-09 22:30 
AnswerRe: Tooltip only shown one time Pin
Alan N12-Mar-09 2:20
Alan N12-Mar-09 2:20 
QuestionBackGround Service for connection.... Pin
King Julien11-Mar-09 20:22
King Julien11-Mar-09 20:22 
AnswerRe: BackGround Service for connection.... Pin
Expert Coming11-Mar-09 22:27
Expert Coming11-Mar-09 22:27 
QuestionHow to set a button control(which is in the user control) as Accept button to the parent form. Pin
kumardilip11-Mar-09 20:11
kumardilip11-Mar-09 20:11 
AnswerRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
King Julien11-Mar-09 20:49
King Julien11-Mar-09 20:49 
GeneralRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
kumardilip11-Mar-09 23:11
kumardilip11-Mar-09 23:11 
AnswerRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
Alan N12-Mar-09 2:37
Alan N12-Mar-09 2:37 
Hi,
The help info for the Form.AcceptButton property says

This property allows you to designate a default action to occur when the user presses the ENTER key in your application. The button assigned to this property must be an IButtonControl that is on the current form or located within a container on the current form.

I haven't tried this but it suggests that you can set the AcceptButton property of the outer form to one of the buttons in your control.

e.g. this.ParentForm.AcceptButton = this.btn1;

Alan.
GeneralRe: How to set a button control(which is in the user control) as Accept button to the parent form. Pin
kumardilip13-Mar-09 0:14
kumardilip13-Mar-09 0:14 
QuestionHow to Check whether file exists Pin
S K Y11-Mar-09 20:08
S K Y11-Mar-09 20:08 
AnswerRe: How to Check whether file exists Pin
dan!sh 11-Mar-09 20:17
professional dan!sh 11-Mar-09 20:17 
GeneralRe: How to Check whether file exists Pin
S K Y11-Mar-09 21:19
S K Y11-Mar-09 21:19 
GeneralRe: How to Check whether file exists Pin
Ashfield11-Mar-09 22:00
Ashfield11-Mar-09 22:00 
GeneralRe: How to Check whether file exists Pin
0x3c011-Mar-09 22:07
0x3c011-Mar-09 22:07 
GeneralRe: How to Check whether file exists Pin
dan!sh 11-Mar-09 22:29
professional dan!sh 11-Mar-09 22:29 
GeneralRe: How to Check whether file exists Pin
Christian Graus11-Mar-09 22:55
protectorChristian Graus11-Mar-09 22:55 
GeneralRe: How to Check whether file exists Pin
Goobashi11-Mar-09 23:27
Goobashi11-Mar-09 23:27 
GeneralRe: How to Check whether file exists Pin
Pete O'Hanlon11-Mar-09 23:57
mvePete O'Hanlon11-Mar-09 23:57 
GeneralRe: How to Check whether file exists Pin
dan!sh 12-Mar-09 0:18
professional dan!sh 12-Mar-09 0:18 
GeneralRe: How to Check whether file exists Pin
S K Y12-Mar-09 15:26
S K Y12-Mar-09 15:26 
GeneralRe: How to Check whether file exists Pin
S K Y12-Mar-09 15:24
S K Y12-Mar-09 15:24 
QuestionDoubt(urgently) Pin
mosmyjoy11-Mar-09 19:54
mosmyjoy11-Mar-09 19:54 
AnswerRe: Doubt(urgently) Pin
Mycroft Holmes11-Mar-09 20:04
professionalMycroft Holmes11-Mar-09 20:04 
GeneralRe: Doubt(urgently) Pin
stancrm11-Mar-09 20:33
stancrm11-Mar-09 20:33 
GeneralRe: Doubt(urgently) Pin
Mycroft Holmes11-Mar-09 20:56
professionalMycroft Holmes11-Mar-09 20:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.