
Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
Hi Nicholas,
Just to precise: if rodchar said about web MonthChangedEventArgs (http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.monthchangede
ventargs.aspx)
then it is not derived from EventArgs, or we are talking about something
else? :)
Regards, Alex
[TechBlog] http://devkids.blogspot.com
N> rodchar,
N>
N> You don't have to do anything to cast it. Since
N> MonthChangedEventArgs derives from EventArgs, you can assign an
N> instance of MonthChangedEventArgs to an EventArgs variable without a
N> cast.
N>
N> "rodchar" <rodchar@discussions.microsoft.com> wrote in message
N> news:73EDC11D-DDF6-4127-AA8F-E30FF16FF663@microsoft.com...
N>
>> hey all,
>> is there a way to convert/cast MonthChangedEventArgs to EventArgs?
>> thanks,
>> rodchar
Nicholas Paldino [.NET/C# MVP] - 31 Oct 2007 19:18 GMT
Unngh, it pains me to see this. The class should be derived from
EventArgs. This is obviously an oversight.
There is a bug listed in the community connect site for this already:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID
=98320
And I've updated the community content section of the documentation to
point to it:
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.monthchangede
ventargs.aspx

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> Hi Nicholas,
>
[quoted text clipped - 18 lines]
>>> thanks,
>>> rodchar