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

1
kicks
submitted by hockman 2 months, 15 days ago

hockblogs.net — Hi there, I'm currently working on a Visual Studio .NET 2005 Winforms project, where i've got multiple forms which have a DataGridView on it. So I decided, for maintenance sake, that I had to create a baseform, since alle the forms really must look-a-like. In the baseform I've set the modifier of the, to be inherited, control to public or protected. Nice job you would think! But guess again, cause visual inheritance on 2.0 controls, that can hold a collection, like the DataGridView is not possible. So you can throw away all your good meanings and efforts! This is what Microsoft has to say about it: "We disabled this scenario intentionally. We chose to not make the engineering effort it would have required to enable this scenario for Whidbey. This decision was not make lightly and we understand customers would like this functionality, but the existing visual inheritance architecture in combination with collection based controls makes it extremely costly to address. We hope to enable this in future versions".

tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

No comments so far




information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge