Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InvalidOleVariantTypeException.cs
- SevenBitStream.cs
- UndoEngine.cs
- LicenseContext.cs
- TextElementEditingBehaviorAttribute.cs
- IndentTextWriter.cs
- XmlFormatReaderGenerator.cs
- ColumnMap.cs
- LinqDataSourceEditData.cs
- HttpListenerElement.cs
- HandleCollector.cs
- COSERVERINFO.cs
- BitVector32.cs
- SqlRowUpdatedEvent.cs
- PageParser.cs
- RenderOptions.cs
- ConnectionManagementElement.cs
- TreeViewAutomationPeer.cs
- PackWebRequestFactory.cs
- FastEncoderWindow.cs
- MailDefinition.cs
- QueryOutputWriter.cs
- SrgsSemanticInterpretationTag.cs
- BooleanSwitch.cs
- CodeTypeReference.cs
- ADConnectionHelper.cs
- LinearKeyFrames.cs
- TraceLevelStore.cs
- RawKeyboardInputReport.cs
- PolicyManager.cs
- SqlConnectionFactory.cs
- DeclaredTypeValidator.cs
- SchemaMerger.cs
- BigInt.cs
- Encoder.cs
- RC2CryptoServiceProvider.cs
- SchemaImporterExtensionElementCollection.cs
- ComplexBindingPropertiesAttribute.cs
- RecognitionEventArgs.cs
- DateTimeConstantAttribute.cs
- SafeFileHandle.cs
- PingReply.cs
- ConfigurationManager.cs
- BamlLocalizabilityResolver.cs
- PackageRelationship.cs
- DataServiceRequestArgs.cs
- AutoGeneratedField.cs
- IntellisenseTextBox.designer.cs
- HtmlTableRowCollection.cs
- EventLogQuery.cs
- WebPartsSection.cs
- CreateSequence.cs
- SortAction.cs
- ADMembershipProvider.cs
- XmlAttributes.cs
- XmlSchemaException.cs
- PieceNameHelper.cs
- TransformerInfo.cs
- CanonicalizationDriver.cs
- AsyncInvokeContext.cs
- ProtocolElementCollection.cs
- DbConnectionOptions.cs
- XmlSchemaExporter.cs
- TextContainerHelper.cs
- Icon.cs
- ColumnResizeUndoUnit.cs
- CultureTable.cs
- ExpressionPrefixAttribute.cs
- BufferedStream.cs
- WorkflowMarkupSerializationException.cs
- Section.cs
- MediaTimeline.cs
- SubstitutionDesigner.cs
- HttpListenerContext.cs
- MsmqIntegrationProcessProtocolHandler.cs
- OrderByExpression.cs
- _IPv6Address.cs
- DataGridViewToolTip.cs
- StatusBar.cs
- SmtpNtlmAuthenticationModule.cs
- RoutedUICommand.cs
- HMAC.cs
- ToolStripSplitButton.cs
- AssemblyBuilder.cs
- Exceptions.cs
- PrintEvent.cs
- SizeAnimationUsingKeyFrames.cs
- dsa.cs
- GridView.cs
- MailMessage.cs
- SequenceDesigner.cs
- XmlSchemaRedefine.cs
- SafeThreadHandle.cs
- Regex.cs
- ZipIOLocalFileHeader.cs
- XmlSchemaComplexContentRestriction.cs
- MultipartContentParser.cs
- VariableDesigner.xaml.cs
- XmlSchemaAttributeGroup.cs
- OwnerDrawPropertyBag.cs