Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ActivityDefaults.cs
- PenContext.cs
- FrameworkReadOnlyPropertyMetadata.cs
- MetadataItem_Static.cs
- UpdateTranslator.cs
- XpsColorContext.cs
- DataServiceStreamResponse.cs
- ExceptionHelpers.cs
- XmlSchemaAttributeGroup.cs
- ToolStripDesigner.cs
- MetadataSet.cs
- CustomCategoryAttribute.cs
- ExtensionWindow.cs
- GiveFeedbackEvent.cs
- BCLDebug.cs
- FixedPageProcessor.cs
- CompilerInfo.cs
- SiteMapNodeItemEventArgs.cs
- RawAppCommandInputReport.cs
- ObjectTypeMapping.cs
- ListSourceHelper.cs
- safemediahandle.cs
- MouseButtonEventArgs.cs
- ACE.cs
- TextTreeDeleteContentUndoUnit.cs
- PartialCachingAttribute.cs
- SapiGrammar.cs
- PolicyManager.cs
- Transform.cs
- ComponentCommands.cs
- FileSecurity.cs
- PropertyStore.cs
- AssemblyAssociatedContentFileAttribute.cs
- SymmetricAlgorithm.cs
- MyContact.cs
- DataSourceNameHandler.cs
- UserNamePasswordServiceCredential.cs
- ClientProtocol.cs
- CodeAttributeArgumentCollection.cs
- BackStopAuthenticationModule.cs
- ECDiffieHellmanPublicKey.cs
- DefaultProxySection.cs
- SharedConnectionInfo.cs
- ProgressChangedEventArgs.cs
- SqlTransaction.cs
- TableLayout.cs
- PositiveTimeSpanValidatorAttribute.cs
- ExpressionParser.cs
- DefaultPrintController.cs
- ToolStripOverflow.cs
- PeerMaintainer.cs
- SHA256.cs
- SqlError.cs
- _BaseOverlappedAsyncResult.cs
- Assert.cs
- SecurityKeyEntropyMode.cs
- DataGridCaption.cs
- ContainerParaClient.cs
- XmlWriterSettings.cs
- Int32EqualityComparer.cs
- MenuItemCollection.cs
- WebPartAddingEventArgs.cs
- TraceSection.cs
- TemplatedEditableDesignerRegion.cs
- WindowsFormsSynchronizationContext.cs
- FormatVersion.cs
- DeflateStream.cs
- FlowDocumentPageViewerAutomationPeer.cs
- WebColorConverter.cs
- TypeRefElement.cs
- TypeGeneratedEventArgs.cs
- StylusPointCollection.cs
- WebHttpBehavior.cs
- Compiler.cs
- ProfileEventArgs.cs
- SQLConvert.cs
- ListBindingConverter.cs
- MetadataWorkspace.cs
- SplitContainer.cs
- CompoundFileStreamReference.cs
- XamlFilter.cs
- UxThemeWrapper.cs
- PasswordDeriveBytes.cs
- XmlSchemaNotation.cs
- DataGridItem.cs
- IconHelper.cs
- SecurityUniqueId.cs
- CompilationRelaxations.cs
- Expression.cs
- TextBlock.cs
- GroupLabel.cs
- _DynamicWinsockMethods.cs
- UnSafeCharBuffer.cs
- BufferModeSettings.cs
- Part.cs
- CoreSwitches.cs
- GridViewColumnCollectionChangedEventArgs.cs
- SqlRowUpdatedEvent.cs
- LocalizationParserHooks.cs
- HostExecutionContextManager.cs