Click here to Skip to main content
15,905,782 members
Home / Discussions / C#
   

C#

 
AnswerRe: global variables in c#- the 'extern' alternative Pin
Colin Angus Mackay20-May-07 13:30
Colin Angus Mackay20-May-07 13:30 
GeneralRe: global variables in c#- the 'extern' alternative Pin
Christian Graus20-May-07 13:36
protectorChristian Graus20-May-07 13:36 
QuestionDatagrid Query [modified] Pin
nandya20-May-07 10:25
nandya20-May-07 10:25 
AnswerRe: Datagrid data entry Pin
Christian Graus20-May-07 11:32
protectorChristian Graus20-May-07 11:32 
QuestionChange GUI Style Setup and Deployment Pin
realmontanakid20-May-07 10:13
realmontanakid20-May-07 10:13 
AnswerRe: Change GUI Style Setup and Deployment Pin
Joseph Guadagno20-May-07 15:36
Joseph Guadagno20-May-07 15:36 
QuestionWindows To Web Application Pin
Darkman_nofear20-May-07 9:41
Darkman_nofear20-May-07 9:41 
AnswerRe: Windows To Web Application Pin
Christian Graus20-May-07 13:17
protectorChristian Graus20-May-07 13:17 
GeneralRe: Windows To Web Application Pin
Darkman_nofear20-May-07 22:05
Darkman_nofear20-May-07 22:05 
QuestionMessage Removed Pin
20-May-07 9:40
Miguel Sarafana20-May-07 9:40 
AnswerRe: C++ or C# as a combination with MatLab? Pin
Judah Gabriel Himango20-May-07 10:08
sponsorJudah Gabriel Himango20-May-07 10:08 
AnswerRe: C++ or C# as a combination with MatLab? Pin
BAIJUMAX20-May-07 18:28
professionalBAIJUMAX20-May-07 18:28 
GeneralRe: C++ or C# as a combination with MatLab? Pin
BeniCohen15-Jul-09 3:02
BeniCohen15-Jul-09 3:02 
GeneralRe: C++ or C# as a combination with MatLab? Pin
BAIJUMAX15-Jul-09 6:04
professionalBAIJUMAX15-Jul-09 6:04 
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 

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.