Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / DateRangeEvent.cs / 1 / DateRangeEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using Microsoft.Win32;
///
///
/// The SelectEvent is fired when the user makes an explicit date
/// selection within a month calendar control.
///
public class DateRangeEventArgs : EventArgs {
readonly DateTime start; // The date for the first day in the user's selection range.
readonly DateTime end; // The date for the last day in the user's selection range.
///
///
/// [To be supplied.]
///
public DateRangeEventArgs(DateTime start, DateTime end) {
this.start = start;
this.end = end;
}
///
///
/// [To be supplied.]
///
public DateTime Start {
get { return start; }
}
///
///
/// [To be supplied.]
///
public DateTime End {
get { return end; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using Microsoft.Win32;
///
///
/// The SelectEvent is fired when the user makes an explicit date
/// selection within a month calendar control.
///
public class DateRangeEventArgs : EventArgs {
readonly DateTime start; // The date for the first day in the user's selection range.
readonly DateTime end; // The date for the last day in the user's selection range.
///
///
/// [To be supplied.]
///
public DateRangeEventArgs(DateTime start, DateTime end) {
this.start = start;
this.end = end;
}
///
///
/// [To be supplied.]
///
public DateTime Start {
get { return start; }
}
///
///
/// [To be supplied.]
///
public DateTime End {
get { return end; }
}
}
}
// 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
- ManageRequest.cs
- ScrollItemProviderWrapper.cs
- InvalidContentTypeException.cs
- DataGridViewHitTestInfo.cs
- CharacterString.cs
- PropertyEmitterBase.cs
- StringAttributeCollection.cs
- XmlUnspecifiedAttribute.cs
- CompatibleIComparer.cs
- DataContractSet.cs
- FamilyMap.cs
- EntityDataSourceState.cs
- JsonDataContract.cs
- DrawTreeNodeEventArgs.cs
- DigitalSignatureProvider.cs
- Opcode.cs
- BuildTopDownAttribute.cs
- TransportDefaults.cs
- DataSourceProvider.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- WebPartMenuStyle.cs
- DesignerVerb.cs
- ValidationError.cs
- Number.cs
- ControlBuilder.cs
- PixelShader.cs
- HScrollProperties.cs
- GridSplitterAutomationPeer.cs
- HttpListenerPrefixCollection.cs
- GB18030Encoding.cs
- SupportingTokenProviderSpecification.cs
- XamlReader.cs
- ObjRef.cs
- Funcletizer.cs
- InvokeGenerator.cs
- XmlAutoDetectWriter.cs
- RelationshipEntry.cs
- SecurityContextSecurityTokenParameters.cs
- ViewBase.cs
- TextTabProperties.cs
- SystemInformation.cs
- BufferedOutputAsyncStream.cs
- MsmqDiagnostics.cs
- ScrollBar.cs
- MenuItemStyleCollection.cs
- GifBitmapDecoder.cs
- MappingException.cs
- PeerResolver.cs
- ListBindableAttribute.cs
- ObjectListFieldCollection.cs
- HttpModuleCollection.cs
- HttpClientProtocol.cs
- UndirectedGraph.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ApplicationDirectory.cs
- AssemblyHash.cs
- SecurityContext.cs
- NavigatorOutput.cs
- SoapEnumAttribute.cs
- UpDownEvent.cs
- PathParser.cs
- Win32Exception.cs
- PrintingPermission.cs
- FatalException.cs
- ReversePositionQuery.cs
- ViewPort3D.cs
- ExpandCollapseProviderWrapper.cs
- LeaseManager.cs
- _AcceptOverlappedAsyncResult.cs
- X509Utils.cs
- RIPEMD160.cs
- PartialCachingAttribute.cs
- ControlUtil.cs
- RelatedCurrencyManager.cs
- ImageSource.cs
- ProfileGroupSettingsCollection.cs
- RegistrationServices.cs
- future.cs
- DataViewListener.cs
- WorkflowClientDeliverMessageWrapper.cs
- InputGestureCollection.cs
- GPPOINT.cs
- BypassElement.cs
- TextBlockAutomationPeer.cs
- DataGridViewBand.cs
- TextRunTypographyProperties.cs
- _Connection.cs
- Msmq3PoisonHandler.cs
- TdsParserSessionPool.cs
- DurableMessageDispatchInspector.cs
- MetadataProperty.cs
- LocalizationComments.cs
- cookie.cs
- CodeAccessSecurityEngine.cs
- PlaceHolder.cs
- RadialGradientBrush.cs
- URLIdentityPermission.cs
- _HTTPDateParse.cs
- ObjectDataSourceStatusEventArgs.cs
- QilLoop.cs