Click here to Skip to main content
15,921,660 members
Home / Discussions / C#
   

C#

 
GeneralRe: is there a winform label control Pin
Arjun "Mjolnir" Bahree9-Sep-06 10:39
Arjun "Mjolnir" Bahree9-Sep-06 10:39 
GeneralRe: is there a winform label control Pin
TheCardinal9-Sep-06 19:03
TheCardinal9-Sep-06 19:03 
GeneralRe: is there a winform label control Pin
Arjun "Mjolnir" Bahree10-Sep-06 3:18
Arjun "Mjolnir" Bahree10-Sep-06 3:18 
QuestionRMI JAVA Pin
charbelasmar9-Sep-06 7:55
charbelasmar9-Sep-06 7:55 
AnswerRe: RMI JAVA Pin
WillemM9-Sep-06 8:53
WillemM9-Sep-06 8:53 
AnswerRe: RMI JAVA Pin
Arjun "Mjolnir" Bahree9-Sep-06 9:36
Arjun "Mjolnir" Bahree9-Sep-06 9:36 
QuestionHow: one service program for two similar forms? Pin
N3croman9-Sep-06 7:24
N3croman9-Sep-06 7:24 
AnswerRe: How: one service program for two similar forms? Pin
Nader Elshehabi9-Sep-06 7:46
Nader Elshehabi9-Sep-06 7:46 
Hello

I hope i got you right. Two things to mention:
1- If you want to access control by name like you stated use this.Controls["MyControlName"]
2- If you want to make a sinle event handler for several controls, select them all in the designer, then in the PropertyGrid write the name of the method you wish to handle the event in that event's field.
Or in the code write this:
MyButtonA.Click += new EventHandler(MyHandler);
MyButtonB.Click += new EventHandler(MyHandler);


Then MyHandler will handle the Click event in both buttons.

If you need more similar help, or if I missed something, please post more details of what you need.

RegardsRose | [Rose]

GeneralRe: How: one service program for two similar forms? Pin
N3croman9-Sep-06 9:57
N3croman9-Sep-06 9:57 
GeneralRe: How: one service program for two similar forms? [modified] Pin
Nader Elshehabi9-Sep-06 11:24
Nader Elshehabi9-Sep-06 11:24 
GeneralRe: How: one service program for two similar forms? Pin
N3croman10-Sep-06 6:33
N3croman10-Sep-06 6:33 
QuestionCommand Line Arguments for an existing process Pin
Guinness4Strength9-Sep-06 6:58
Guinness4Strength9-Sep-06 6:58 
AnswerRe: Command Line Arguments for an existing process Pin
Nader Elshehabi9-Sep-06 7:06
Nader Elshehabi9-Sep-06 7:06 
GeneralRe: Command Line Arguments for an existing process Pin
Arjun "Mjolnir" Bahree9-Sep-06 10:03
Arjun "Mjolnir" Bahree9-Sep-06 10:03 
AnswerRe: Command Line Arguments for an existing process Pin
Arjun "Mjolnir" Bahree9-Sep-06 9:59
Arjun "Mjolnir" Bahree9-Sep-06 9:59 
QuestionHow is made documentation Pin
papa809-Sep-06 4:08
papa809-Sep-06 4:08 
AnswerRe: How is made documentation Pin
Ravi Bhavnani9-Sep-06 4:40
professionalRavi Bhavnani9-Sep-06 4:40 
AnswerRe: How is made documentation Pin
Suelinda_W20-Sep-06 8:06
Suelinda_W20-Sep-06 8:06 
QuestionApplication.Exit() not working very well Pin
J Liang9-Sep-06 3:52
J Liang9-Sep-06 3:52 
AnswerRe: Application.Exit() not working very well Pin
Nader Elshehabi9-Sep-06 6:01
Nader Elshehabi9-Sep-06 6:01 
GeneralRe: Application.Exit() not working very well Pin
J Liang10-Sep-06 2:28
J Liang10-Sep-06 2:28 
AnswerRe: Application.Exit() not working very well Pin
Arjun "Mjolnir" Bahree10-Sep-06 4:17
Arjun "Mjolnir" Bahree10-Sep-06 4:17 
Questionhow can i make wizard in c# Pin
Parshant Verma9-Sep-06 3:21
Parshant Verma9-Sep-06 3:21 
AnswerRe: how can i make wizard in c# Pin
Ravi Bhavnani9-Sep-06 3:58
professionalRavi Bhavnani9-Sep-06 3:58 
Questionhow can i integrate vc++ code in c# Pin
Parshant Verma9-Sep-06 3:20
Parshant Verma9-Sep-06 3:20 

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.