Click here to Skip to main content
15,900,254 members
Home / Discussions / C#
   

C#

 
GeneralRe: event handler Pin
#realJSOP1-Nov-08 0:34
professional#realJSOP1-Nov-08 0:34 
GeneralRe: event handler Pin
Nicholas Butler1-Nov-08 3:19
sitebuilderNicholas Butler1-Nov-08 3:19 
GeneralRe: event handler Pin
#realJSOP1-Nov-08 3:49
professional#realJSOP1-Nov-08 3:49 
GeneralRe: event handler Pin
DaveyM691-Nov-08 4:48
professionalDaveyM691-Nov-08 4:48 
AnswerRe: event handler Pin
PIEBALDconsult31-Oct-08 15:32
mvePIEBALDconsult31-Oct-08 15:32 
AnswerRe: event handler Pin
DaveyM691-Nov-08 0:20
professionalDaveyM691-Nov-08 0:20 
GeneralRe: event handler Pin
nelsonpaixao3-Nov-08 12:48
nelsonpaixao3-Nov-08 12:48 
QuestionCan some body tell me why it behaves like this Pin
netJP12L31-Oct-08 11:14
netJP12L31-Oct-08 11:14 
Hi guys, if i loop on the attribute collection i can't get the RangeValidator, a custom class objct.
for(Attribute att in attributes)
{
if (att is RangeValidator)
{
Messagebox.show("RangeValidator");
}
}

but if i do like Attribute am= pd.Attributes[typeof(RangeValidator)]; then i am able to get the RangeValidator a custome attribute

public PropertyDescriptorCollection GetProperties(Attribute[] attributes)
{

foreach (PropertyDescriptor pd in TypeDescriptor.GetProperties(_obj, attributes))
{
Attribute am= pd.Attributes[typeof(RangeValidator)];--->how come now i can get the RangeValitor this way
}
}

[RangeValidator(10,20)]
public int foo
{
get{return _foo;}
set{_foo=value;}
}
Thanks
QuestionActivating last textbox in DataGridView on form active Pin
AndrusM31-Oct-08 10:37
AndrusM31-Oct-08 10:37 
QuestionCancel the transformMatrix in Graphics Pin
baranils31-Oct-08 9:58
baranils31-Oct-08 9:58 
QuestionWindow as seperate thread. Pin
vaseeem31-Oct-08 9:52
vaseeem31-Oct-08 9:52 
GeneralRe: Window as seperate thread. Pin
Luc Pattyn31-Oct-08 10:40
sitebuilderLuc Pattyn31-Oct-08 10:40 
QuestionNewbie Property Binding Question Pin
Chris Klepeis31-Oct-08 9:50
Chris Klepeis31-Oct-08 9:50 
QuestionLooking for C# example to create Image Metadata app [modified] Pin
DrGerm31-Oct-08 9:35
DrGerm31-Oct-08 9:35 
QuestionFtpWebRequest Upload question Pin
KaptinKrunch31-Oct-08 8:38
KaptinKrunch31-Oct-08 8:38 
Questionhow to retreive correct control.visible property of a hidden control in c# Pin
Dino2Dino31-Oct-08 8:32
Dino2Dino31-Oct-08 8:32 
AnswerRe: how to retreive correct control.visible property of a hidden control in c# Pin
EliottA31-Oct-08 9:50
EliottA31-Oct-08 9:50 
AnswerRe: how to retreive correct control.visible property of a hidden control in c# Pin
Giorgi Dalakishvili31-Oct-08 11:45
mentorGiorgi Dalakishvili31-Oct-08 11:45 
GeneralRe: how to retreive correct control.visible property of a hidden control in c# Pin
Luc Pattyn31-Oct-08 12:21
sitebuilderLuc Pattyn31-Oct-08 12:21 
QuestionRe: how to retreive correct control.visible property of a hidden control in c# Pin
nelsonpaixao31-Oct-08 13:49
nelsonpaixao31-Oct-08 13:49 
AnswerRe: how to retreive correct control.visible property of a hidden control in c# Pin
Dave Kreskowiak1-Nov-08 5:20
mveDave Kreskowiak1-Nov-08 5:20 
QuestionList<int> in wpf designer</int> [modified] Pin
vincentgr31-Oct-08 8:02
vincentgr31-Oct-08 8:02 
AnswerRe: List in wpf designer Pin
Pedram Behroozi31-Oct-08 8:16
Pedram Behroozi31-Oct-08 8:16 
GeneralRe: List in wpf designer Pin
vincentgr31-Oct-08 8:33
vincentgr31-Oct-08 8:33 
GeneralRe: List in wpf designer Pin
Pedram Behroozi31-Oct-08 8:41
Pedram Behroozi31-Oct-08 8:41 

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.