Click here to Skip to main content
15,891,976 members
Home / Discussions / C#
   

C#

 
AnswerMy vote of 1 Pin
Keith Barrow12-Apr-10 0:31
professionalKeith Barrow12-Apr-10 0:31 
JokeRe: Multiple Inheritance in C# Pin
Eddy Vluggen12-Apr-10 0:44
professionalEddy Vluggen12-Apr-10 0:44 
GeneralRe: Multiple Inheritance in C# Pin
Keith Barrow12-Apr-10 0:47
professionalKeith Barrow12-Apr-10 0:47 
GeneralRe: Multiple Inheritance in C# Pin
Eddy Vluggen12-Apr-10 2:51
professionalEddy Vluggen12-Apr-10 2:51 
QuestionFrames extraction in C# Pin
Saira1311-Apr-10 22:19
Saira1311-Apr-10 22:19 
AnswerRe: Frames extraction in C# Pin
Pete O'Hanlon11-Apr-10 22:30
mvePete O'Hanlon11-Apr-10 22:30 
AnswerRe: Frames extraction in C# Pin
Richard MacCutchan11-Apr-10 22:31
mveRichard MacCutchan11-Apr-10 22:31 
QuestionGet List of All Controls and their properties C# Pin
jojoba201111-Apr-10 21:16
jojoba201111-Apr-10 21:16 
How can i get list of all controls in my form (also i wanna all controls that i add to form dynamically) and thier properties , cause i wanna to set some properties with my own values and show to users!

I have this piece of code but it doesnt do this for me.

Control[] controls = this.Controls.Find("OpenToolStripMenuItem",true);
System.ComponentModel.TypeConverter tc;
 if (controls.Length > 0)
  {
    Control control = controls[0];
    PropertyInfo propertys = control.GetType().GetProperty("Text");
    tc = System.ComponentModel.TypeDescriptor.GetConverter(propertys.PropertyType);
    propertys.SetValue(control, tc.ConvertFrom("OPEN", null);
  }

AnswerRe: Get List of All Controls and their properties C# Pin
Calla11-Apr-10 21:37
Calla11-Apr-10 21:37 
QuestionRe: Get List of All Controls and their properties C# Pin
jojoba201111-Apr-10 21:45
jojoba201111-Apr-10 21:45 
AnswerRe: Get List of All Controls and their properties C# Pin
dan!sh 11-Apr-10 21:49
professional dan!sh 11-Apr-10 21:49 
AnswerRe: Get List of All Controls and their properties C# Pin
Calla11-Apr-10 22:16
Calla11-Apr-10 22:16 
AnswerRe: Get List of All Controls and their properties C# Pin
Luc Pattyn11-Apr-10 22:47
sitebuilderLuc Pattyn11-Apr-10 22:47 
AnswerRe: Get List of All Controls and their properties C# Pin
yu-jian15-Apr-10 6:59
yu-jian15-Apr-10 6:59 
QuestionHow to remove particular character from the string Pin
M Riaz Bashir11-Apr-10 20:59
M Riaz Bashir11-Apr-10 20:59 
AnswerRe: How to remove particular character from the string Pin
Rajesh Anuhya11-Apr-10 21:02
professionalRajesh Anuhya11-Apr-10 21:02 
GeneralRe: How to remove particular character from the string Pin
M Riaz Bashir11-Apr-10 21:10
M Riaz Bashir11-Apr-10 21:10 
AnswerRe: How to remove particular character from the string Pin
Sandesh M Patil12-Apr-10 0:48
Sandesh M Patil12-Apr-10 0:48 
QuestionSetting [assembly: InternalsVisibleTo("UI Test")] Conditionally if it is DEBUG Mode Pin
Nadia Monalisa11-Apr-10 20:24
Nadia Monalisa11-Apr-10 20:24 
AnswerRe: Setting [assembly: InternalsVisibleTo("UI Test")] Conditionally if it is DEBUG Mode Pin
Abhinav S11-Apr-10 20:41
Abhinav S11-Apr-10 20:41 
AnswerRe: Setting [assembly: InternalsVisibleTo("UI Test")] Conditionally if it is DEBUG Mode Pin
Ravi Bhavnani12-Apr-10 1:58
professionalRavi Bhavnani12-Apr-10 1:58 
GeneralRe: Setting [assembly: InternalsVisibleTo("UI Test")] Conditionally if it is DEBUG Mode Pin
Nadia Monalisa12-Apr-10 21:17
Nadia Monalisa12-Apr-10 21:17 
GeneralRe: Setting [assembly: InternalsVisibleTo("UI Test")] Conditionally if it is DEBUG Mode Pin
Ravi Bhavnani13-Apr-10 4:44
professionalRavi Bhavnani13-Apr-10 4:44 
QuestionExecute a segment of code conditionally IF it is DEBUG mode or RELEASE mode Pin
Nadia Monalisa11-Apr-10 20:16
Nadia Monalisa11-Apr-10 20:16 
AnswerRe: Execute a segment of code conditionally IF it is DEBUG mode or RELEASE mode Pin
Abhinav S11-Apr-10 20:43
Abhinav S11-Apr-10 20:43 

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.