Click here to Skip to main content
15,896,507 members
Home / Discussions / C#
   

C#

 
QuestionGet selected in listview Pin
akkram20-May-07 9:28
akkram20-May-07 9:28 
AnswerRe: Get selected in listview Pin
Giorgi Dalakishvili20-May-07 9:49
mentorGiorgi Dalakishvili20-May-07 9:49 
QuestionWireless Programming Pin
Spyder_Snyper20-May-07 8:33
Spyder_Snyper20-May-07 8:33 
QuestionSplit string on size. Pin
teejayem20-May-07 6:45
teejayem20-May-07 6:45 
AnswerRe: Split string on size. Pin
Manoj Kumar Rai20-May-07 8:19
professionalManoj Kumar Rai20-May-07 8:19 
AnswerRe: Split string on size. Pin
S. Senthil Kumar20-May-07 8:54
S. Senthil Kumar20-May-07 8:54 
AnswerRe: Split string on size. Pin
Vikram A Punathambekar20-May-07 9:27
Vikram A Punathambekar20-May-07 9:27 
QuestionPass Controls and Buttons without (Object sender event ) Pin
Epsilone320-May-07 4:51
Epsilone320-May-07 4:51 
Hello My name is Guy .

I want to ask something maybe you can help me in C#.

I want to pass some Controllers & Buttons I build in Windows.Form , in to a method that can made them Enable & change there Background perhaps.

.
Any way what I Tryed all night is how to pass a Control / Button / Object to a method without ( Object Sender... , Event...) ,in to other function.


I want to take the Control object for example and send his name property trough string to a function and then to cast him into Object type or Basetype.

Something like :

this.TurnControlActive( UrlFile.Name ); // * UrlFile =// System.Windows.Forms.Control *//

and then pass in to ....

private void TurnControlActive( ....... )

{

// Here the Control / Object need to become Enabled //

}

Who to pass an Object / Control / Or how to retrieve a Control by his string name ..?


Thank a lot.

Guy D.


By the way how do I get all my controls in my form into Array ?


AnswerRe: Pass Controls and Buttons without (Object sender event ) Pin
Epsilone320-May-07 6:17
Epsilone320-May-07 6:17 
GeneralRe: Pass Controls and Buttons without (Object sender event ) Pin
Rob Graham20-May-07 6:46
Rob Graham20-May-07 6:46 
GeneralRe: Pass Controls and Buttons without (Object sender event ) Pin
Epsilone320-May-07 6:58
Epsilone320-May-07 6:58 
QuestionHow to fire text changed event for combobox Pin
Rahul8320-May-07 3:55
Rahul8320-May-07 3:55 
AnswerRe: How to fire text changed event for combobox Pin
Dave Kreskowiak20-May-07 5:15
mveDave Kreskowiak20-May-07 5:15 
QuestionProgram stuck by regex Pin
sharpiesharpie20-May-07 3:14
sharpiesharpie20-May-07 3:14 
QuestionConstructing an avi file from multiple image frames Pin
enamulhoque20-May-07 2:34
enamulhoque20-May-07 2:34 
QuestionSolution with multi projects talk to each other how? Pin
Darkman_nofear20-May-07 1:21
Darkman_nofear20-May-07 1:21 
AnswerRe: Solution with multi projects talk to each other how? Pin
Arun.Immanuel20-May-07 3:16
Arun.Immanuel20-May-07 3:16 
AnswerRe: Solution with multi projects talk to each other how? Pin
Arun.Immanuel20-May-07 3:24
Arun.Immanuel20-May-07 3:24 
QuestionA registry scrow up!! Pin
Muammar©20-May-07 1:07
Muammar©20-May-07 1:07 
AnswerRe: A registry scrow up!! Pin
Luc Pattyn20-May-07 1:26
sitebuilderLuc Pattyn20-May-07 1:26 
GeneralRe: A registry scrow up!! Pin
Muammar©20-May-07 1:37
Muammar©20-May-07 1:37 
GeneralRe: A registry scrow up!! Pin
Muammar©20-May-07 1:40
Muammar©20-May-07 1:40 
QuestionVisual Studion 2005 to 2003... Pin
jackptoke19-May-07 23:51
jackptoke19-May-07 23:51 
AnswerRe: Visual Studion 2005 to 2003... Pin
Christian Graus20-May-07 0:07
protectorChristian Graus20-May-07 0:07 
AnswerRe: Visual Studion 2005 to 2003... Pin
jackptoke20-May-07 0:11
jackptoke20-May-07 0:11 

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.