Is it possible to override a entire class? I know I can create new class
and inherit from another but what if I want to override the functionality of
winform control in my whole application..do I have to change the declaration
everywhere? Can I achieve this another way? Say I wanted to make all
Anthony, it sounds like you do actually want to derive a new class. A
control is just a class. In large WinForm apps I usually create FooLabel,
FooButton, FooPanel, etc classes and use them in place of the usual base
classes. My FooLabel could detect a settings change for example and they
would
Greg...that's what i was afraid of...yeh..good idea..will create my own
toolbox with derived controlsmmm...now i have to do a search and replace
on my current project J
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of Greg Keogh
Sent: Friday, 29 April
Some of you may be interested in this; voting is open now:
http://www.dddmelbourne.com/agenda
--
Noon Silk
http://dnoondt.wordpress.com/ (Noon Silk) | http://www.mirios.com.au:8081
Fancy a quantum lunch?
http://www.mirios.com.au:8081/index.php?title=Quantum_Lunch
Every morning when I wake
Refactoring like this is where R# really pays its way...
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On
Behalf Of Anthony
Sent: Friday, 29 April 2011 8:02 AM
To: 'ozDotNet'
Subject: RE: Is it possible to override a class?
R#?
On Fri, Apr 29, 2011 at 10:39 AM, ben.robb...@jlta.com.au wrote:
Refactoring like this is where R# really pays its way...
--
*From:* ozdotnet-boun...@ozdotnet.com [mailto:
ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Anthony
*Sent:* Friday, 29 April 2011
Oh, Resharper, hadn't heard of R# before to refer to that.
On Fri, Apr 29, 2011 at 10:58 AM, David Burstin david.burs...@gmail.comwrote:
Resharper - www.jetbrains.com/resharper
***
*
On 29 April 2011 10:56, Hoss Ravanparsa hitman.h...@gmail.com wrote:
R#?
On Fri, Apr 29, 2011 at 10:39
By an easier approach I assume you mean a time machine to go back and a crystal
ball to ensure that the people that developed the system you are now working on
do everything perfectly and with perfect anticipation of future changes to
requirements...
-Original Message-
From:
By an easier approach I assume you mean a time machine to go back and a
crystal ball to ensure that the
people that developed the system you are now working on do everything
perfectly and with perfect anticipation
of future changes to requirements...
Indeed; in Visual Studio just press
I use Ctrl-Alt-Butterfly to do that
http://xkcd.com/378/
http://xkcd.com/378/Also, this is the price we pay for using designers.
They create code that is useful for the tool, not the developer.
Back in the old-school days of Java at uni we have a widget-factory that
would create our controls
-- Forwarded message --
From: Korny Sietsma ko...@sietsma.com
Date: Fri, Apr 29, 2011 at 12:18 PM
Subject: [mxug:1593] libraryhack
To: Mxug List m...@googlegroups.com
This just came across my twitter-radar, and I thought it might be of
interest to folks here:
Noon Silk,
I've gathered you dislike Resharper from this post and previous posts.
Are you using an alternative? (eg CodeRush)
I think you have stuck yourself in a corner where you've said 'i don't
like it' and wont go back on your position even if it can cure cancer.
I would like to show
Noon Silk,
I've gathered you dislike Resharper from this post and previous posts.
Are you using an alternative? (eg CodeRush)
I think you have stuck yourself in a corner where you've said 'i don't
like it' and wont go back on your position even if it can cure cancer.
I would like to show
Damn. And here I was looking forward to a good old fashioned Silky
style stoush for a Friday afternoon :)
On 29 April 2011 12:52, Noon Silk noonsli...@gmail.com wrote:
Noon Silk,
I've gathered you dislike Resharper from this post and previous posts.
Are you using an alternative? (eg CodeRush)
How can I do a replace of all buttons with my inherited version using
resharper? I have resharper but would have no idea how to do this? I
assume just a search and replace or is it more clever?
-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
Kirsten, did you download from MSDN Subscriber downloads? Did you use the
Web Installer? [1]
I downloaded and applied SP1 to my VS2010 Professional yesterday after your
post, and it went smoothly (Win7, 64-bit) - and VS still works!
If you search on your error, and go to the Connect hits [2],
On 29 April 2011 13:43, ben.robb...@jlta.com.au wrote:
Actually in this scenario I'd just do a search and replace too.
However Resharper can help here and what I typically do in this situation is
select a usage of the class I want to replace (e.g. Button) and use the
find usages feature to
17 matches
Mail list logo