Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / MonthChangedEventArgs.cs / 1 / MonthChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.Security.Permissions;
///
/// Provides data for the
/// event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class MonthChangedEventArgs {
DateTime newDate, previousDate;
///
/// Initializes a new instance of the class.
///
public MonthChangedEventArgs(DateTime newDate, DateTime previousDate) {
this.newDate = newDate;
this.previousDate = previousDate;
}
///
/// Gets the date that determines the month currently
/// displayed by the .
///
public DateTime NewDate {
get {
return newDate;
}
}
///
/// Gets the date that determines the month previously displayed
/// by the .
///
public DateTime PreviousDate {
get {
return previousDate;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.Security.Permissions;
///
/// Provides data for the
/// event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class MonthChangedEventArgs {
DateTime newDate, previousDate;
///
/// Initializes a new instance of the class.
///
public MonthChangedEventArgs(DateTime newDate, DateTime previousDate) {
this.newDate = newDate;
this.previousDate = previousDate;
}
///
/// Gets the date that determines the month currently
/// displayed by the .
///
public DateTime NewDate {
get {
return newDate;
}
}
///
/// Gets the date that determines the month previously displayed
/// by the .
///
public DateTime PreviousDate {
get {
return previousDate;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Certificate.cs
- PeerNameResolver.cs
- ZeroOpNode.cs
- TextOptionsInternal.cs
- ITreeGenerator.cs
- ExtentCqlBlock.cs
- MiniParameterInfo.cs
- EntityDataSourceWrapperCollection.cs
- IssuedTokenServiceElement.cs
- MD5.cs
- SmiConnection.cs
- CustomErrorCollection.cs
- SqlProvider.cs
- HuffCodec.cs
- ClientSettingsProvider.cs
- CodeArrayCreateExpression.cs
- ResourceDescriptionAttribute.cs
- Membership.cs
- IdnMapping.cs
- SmiGettersStream.cs
- Matrix.cs
- MultipleViewProviderWrapper.cs
- SQLByteStorage.cs
- WorkflowView.cs
- WindowHideOrCloseTracker.cs
- ContentFileHelper.cs
- XmlDocumentFragment.cs
- DataColumnChangeEvent.cs
- XPathCompileException.cs
- PauseStoryboard.cs
- IgnoreSection.cs
- StringComparer.cs
- BitmapImage.cs
- MsmqVerifier.cs
- Attributes.cs
- SimplePropertyEntry.cs
- HtmlControl.cs
- IdleTimeoutMonitor.cs
- FileDialog_Vista.cs
- TransactionBehavior.cs
- TypeDescriptionProvider.cs
- StylusPlugin.cs
- Message.cs
- ErrorLog.cs
- LogicalMethodInfo.cs
- PreservationFileWriter.cs
- HMAC.cs
- DrawToolTipEventArgs.cs
- RTTypeWrapper.cs
- XPathEmptyIterator.cs
- ReliabilityContractAttribute.cs
- TextFormatterContext.cs
- XmlStreamNodeWriter.cs
- newinstructionaction.cs
- ListBox.cs
- MenuAutomationPeer.cs
- RequestTimeoutManager.cs
- IncrementalReadDecoders.cs
- CommentAction.cs
- EntitySetRetriever.cs
- Object.cs
- XsltInput.cs
- BaseEntityWrapper.cs
- MarkupCompilePass1.cs
- ReversePositionQuery.cs
- odbcmetadatafactory.cs
- SectionRecord.cs
- EntityKeyElement.cs
- CompilerScopeManager.cs
- TypeBrowserDialog.cs
- TraceHandlerErrorFormatter.cs
- KoreanCalendar.cs
- DataObjectPastingEventArgs.cs
- FilterQuery.cs
- cache.cs
- DataGridCommandEventArgs.cs
- EntityParameter.cs
- TileModeValidation.cs
- ElementHost.cs
- PrintController.cs
- TraceListener.cs
- TableDetailsRow.cs
- GenericArgumentsUpdater.cs
- DataGridViewCellCollection.cs
- ProtectedConfigurationSection.cs
- Process.cs
- PreProcessInputEventArgs.cs
- BamlWriter.cs
- ObjectConverter.cs
- Matrix3DConverter.cs
- XPathNodePointer.cs
- XmlReflectionMember.cs
- RsaSecurityToken.cs
- HtmlWindow.cs
- CatalogPartDesigner.cs
- EntityContainerAssociationSet.cs
- PropertyKey.cs
- ConvertEvent.cs
- HttpContextServiceHost.cs
- SystemGatewayIPAddressInformation.cs