DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'Struct' Subscribe to this feed
1
kicks
submitted by crpietschmann crpietschmann 2 months, 16 days ago

winterdom.com — This should've been simple, but it took me a far longer time than I expected to get working correctly. Getting the basic design time work done wasn't too much of a problem; since the property type was an array and not a custom collection, the default editors did the right thing and offered a good design time experience out of the box. However, you still need to provide the designers and ASP.NET a way to store the property contents as an string, so that you can use markup to specify the value of the property. Time to write a TypeConverter! I went ahead and wrote a simple TypeConverter that would take a string and return an array of structs based on its contents, or take an array and return a string based on the values in it. Nothing fancy. read more...

Add a comment add a comment | category: | Views: 7
tags: , , | tag it

5
kicks
submitted by senfo 8 months, 29 days ago

geekswithblogs.net — A little dry, but gets the basic concept about when to choose a structure over a class, and vice versa. read more...

Add a comment add a comment | category: | Views: 2
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge