Click here to Skip to main content
15,906,766 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Why can't .Net executable programs work on a system without .Net framework? Pin
leppie25-May-08 22:14
leppie25-May-08 22:14 
AnswerRe: Why can't .Net executable programs work on a system without .Net framework? Pin
Thomas Stockwell30-May-08 11:15
professionalThomas Stockwell30-May-08 11:15 
QuestionCreating assembley Pin
r aa j21-May-08 20:26
r aa j21-May-08 20:26 
AnswerRe: Creating assembley Pin
Laddie21-May-08 23:48
Laddie21-May-08 23:48 
AnswerRe: Creating assembley Pin
Vasudevan Deepak Kumar22-May-08 3:20
Vasudevan Deepak Kumar22-May-08 3:20 
GeneralRe: Creating assembley Pin
r aa j22-May-08 3:29
r aa j22-May-08 3:29 
QuestionThis GroupBox is taking my DataGridView's lunch money. Pin
Oddball21-May-08 12:12
Oddball21-May-08 12:12 
QuestionTypeDesciptor.GetConverter(customtype) doesn't return the converter for the custom type Pin
sowjanya_mudimala21-May-08 8:17
sowjanya_mudimala21-May-08 8:17 
Hi,

Below is my class that has its Type converter implemented.
TypeDesciptor.GetConverter(typeof(MyPoint)) doesn't return the converter for MyPoint but returns System.ComponentModel.TypeConverter.
if I implement a ICustomTypeDescriptor for MyPoint, then it works fine.
Does anyone have idea why it is not working?


[TypeConverter(typeof(MyPointTypeConverter))]
public class MyPoint
{
public int x;
public int y;

public MyPoint(int x, int y)
{
this.x = x;
this.y = y;
}
}
/// <summary>
/// Class that implements TypeConverter for MyPoint type.
/// </summary>
public class MyPointTypeConverter : TypeConverter
{
// Overrides the CanConvertFrom method of TypeConverter.
public override bool CanConvertFrom(ITypeDescriptorContext context,
Type sourceType)
{
// some code
return base.CanConvertFrom(context, sourceType);
}
// Overrides the ConvertFrom method of TypeConverter.
public override object ConvertFrom(ITypeDescriptorContext context,
CultureInfo culture, object value)
{
// some code
return base.ConvertFrom(context, culture, value);
}
// Overrides the CanConvertFrom method of TypeConverter.
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
{
// some code
return base.CanConvertTo(context, destinationType);
}

public override object ConvertTo(ITypeDescriptorContext context,
CultureInfo culture, object value, Type destinationType)
{
// some code
return base.ConvertTo(context, culture, value, destinationType);
}
}


Thanks,
Sowjanya.
AnswerRe: TypeDesciptor.GetConverter(customtype) doesn't return the converter for the custom type Pin
leppie25-May-08 22:21
leppie25-May-08 22:21 
QuestionThumbnails with black bars Pin
dascalos21-May-08 6:49
dascalos21-May-08 6:49 
QuestionThreading question Pin
kensai21-May-08 3:51
kensai21-May-08 3:51 
AnswerRe: Threading question Pin
Laddie21-May-08 4:15
Laddie21-May-08 4:15 
QuestionRe: Threading question [modified] Pin
kensai21-May-08 5:11
kensai21-May-08 5:11 
AnswerRe: Threading question Pin
led mike21-May-08 6:08
led mike21-May-08 6:08 
GeneralRe: Threading question Pin
kensai21-May-08 21:14
kensai21-May-08 21:14 
GeneralRe: Threading question Pin
Peter Josefsson Sweden22-May-08 10:50
Peter Josefsson Sweden22-May-08 10:50 
AnswerRe: Threading question Pin
supercat924-May-08 14:55
supercat924-May-08 14:55 
QuestionHow do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 17:41
Tako.Lee20-May-08 17:41 
AnswerRe: How do I know an assembly was created under which version of .net framework Pin
Laddie20-May-08 19:13
Laddie20-May-08 19:13 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 20:31
Tako.Lee20-May-08 20:31 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Laddie20-May-08 20:41
Laddie20-May-08 20:41 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 20:52
Tako.Lee20-May-08 20:52 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Laddie20-May-08 20:57
Laddie20-May-08 20:57 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 21:39
Tako.Lee20-May-08 21:39 
QuestionSoftware integration has always been a big problem Pin
angels77720-May-08 16:00
angels77720-May-08 16:00 

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.