Click here to Skip to main content
15,890,717 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hot to make transparent???? Pin
Pete O'Hanlon11-Mar-09 23:58
mvePete O'Hanlon11-Mar-09 23:58 
JokeRe: Hot to make transparent???? Pin
Wes Aday12-Mar-09 5:03
professionalWes Aday12-Mar-09 5:03 
GeneralRe: Hot to make transparent???? Pin
Pete O'Hanlon12-Mar-09 5:46
mvePete O'Hanlon12-Mar-09 5:46 
QuestionRTF to PDF Pin
Mridang Agarwalla11-Mar-09 21:59
Mridang Agarwalla11-Mar-09 21:59 
AnswerRe: RTF to PDF Pin
Sun Rays11-Mar-09 22:03
Sun Rays11-Mar-09 22:03 
GeneralRe: RTF to PDF Pin
Mridang Agarwalla11-Mar-09 22:25
Mridang Agarwalla11-Mar-09 22:25 
GeneralRe: RTF to PDF Pin
dan!sh 11-Mar-09 22:31
professional dan!sh 11-Mar-09 22:31 
Questionwe want demo for devleoping UML tool in c#.net Pin
Kanchan Pawar11-Mar-09 21:40
Kanchan Pawar11-Mar-09 21:40 
JokeRe: we want demo for devleoping UML tool in c#.net Pin
ABitSmart11-Mar-09 21:48
ABitSmart11-Mar-09 21:48 
GeneralRe: we want demo for devleoping UML tool in c#.net Pin
scottgp12-Mar-09 2:09
professionalscottgp12-Mar-09 2:09 
JokeRe: we want demo for devleoping UML tool in c#.net Pin
Guffa12-Mar-09 3:52
Guffa12-Mar-09 3:52 
RantRe: we want demo for devleoping UML tool in c#.net Pin
Ashfield11-Mar-09 21:58
Ashfield11-Mar-09 21:58 
JokeRe: we want demo for devleoping UML tool in c#.net Pin
0x3c011-Mar-09 22:09
0x3c011-Mar-09 22:09 
JokeRe: we want demo for devleoping UML tool in c#.net Pin
Expert Coming11-Mar-09 22:24
Expert Coming11-Mar-09 22:24 
AnswerRe: we want demo for devleoping UML tool in c#.net Pin
Pete O'Hanlon11-Mar-09 22:41
mvePete O'Hanlon11-Mar-09 22:41 
JokeRe: we want demo for devleoping UML tool in c#.net Pin
Zhat12-Mar-09 2:40
Zhat12-Mar-09 2:40 
QuestionTooltip only shown one time Pin
stancrm11-Mar-09 21:30
stancrm11-Mar-09 21:30 
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.

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.