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
- XmlSchemaComplexContentRestriction.cs
- SecureConversationDriver.cs
- UpdateTracker.cs
- IndexingContentUnit.cs
- PropertyTabChangedEvent.cs
- ThicknessAnimation.cs
- TextTreeTextNode.cs
- WebPartTracker.cs
- AssemblyCollection.cs
- _BaseOverlappedAsyncResult.cs
- WmiEventSink.cs
- DecimalConverter.cs
- HttpStreamXmlDictionaryReader.cs
- Convert.cs
- ResourceAssociationType.cs
- MethodImplAttribute.cs
- TypeLoadException.cs
- WorkflowServiceHostFactory.cs
- PeerCollaboration.cs
- PasswordBox.cs
- CodeTypeMember.cs
- ResourcesBuildProvider.cs
- WebUtil.cs
- CircleHotSpot.cs
- RectAnimationUsingKeyFrames.cs
- InlineUIContainer.cs
- DecimalConstantAttribute.cs
- FrameDimension.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- MappingException.cs
- TreeNodeMouseHoverEvent.cs
- _FtpDataStream.cs
- XamlPathDataSerializer.cs
- ViewBox.cs
- IProvider.cs
- __ComObject.cs
- TraceHandlerErrorFormatter.cs
- FileFormatException.cs
- DBDataPermissionAttribute.cs
- MenuScrollingVisibilityConverter.cs
- DataBindingCollection.cs
- TextElement.cs
- ManagedIStream.cs
- XmlSerializerOperationGenerator.cs
- ServiceXNameTypeConverter.cs
- RuntimeHelpers.cs
- SoapExtensionTypeElementCollection.cs
- ExpressionTextBox.xaml.cs
- FontInfo.cs
- ProcessThreadCollection.cs
- SystemGatewayIPAddressInformation.cs
- UInt64.cs
- CloseCollectionAsyncResult.cs
- QueryAsyncResult.cs
- CompositeActivityTypeDescriptorProvider.cs
- _SslStream.cs
- EntityDataSourceSelectingEventArgs.cs
- UpDownBase.cs
- SoapSchemaExporter.cs
- WaitHandle.cs
- CopyCodeAction.cs
- SettingsPropertyIsReadOnlyException.cs
- ProviderConnectionPointCollection.cs
- HttpResponseHeader.cs
- RadioButton.cs
- CompleteWizardStep.cs
- XamlWrapperReaders.cs
- OracleSqlParser.cs
- propertytag.cs
- WebPartAuthorizationEventArgs.cs
- CustomError.cs
- DrawingGroup.cs
- IdentifierService.cs
- EventMappingSettings.cs
- ClientSettings.cs
- TextStore.cs
- WaveHeader.cs
- List.cs
- CatalogPartChrome.cs
- SettingsPropertyValueCollection.cs
- nulltextcontainer.cs
- WebPartUserCapability.cs
- SqlCachedBuffer.cs
- LookupBindingPropertiesAttribute.cs
- SQLChars.cs
- DataRowChangeEvent.cs
- DelegateBodyWriter.cs
- wmiutil.cs
- LineInfo.cs
- EntityType.cs
- Command.cs
- NamedPipeTransportSecurity.cs
- EventProviderWriter.cs
- WbemException.cs
- WorkflowMarkupElementEventArgs.cs
- EmbeddedMailObject.cs
- SafeViewOfFileHandle.cs
- IgnoreFileBuildProvider.cs
- UnsafeNativeMethods.cs
- WpfSharedXamlSchemaContext.cs