Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DateRangeEvent.cs / 1305376 / 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
- XPathNavigatorKeyComparer.cs
- ConnectionOrientedTransportBindingElement.cs
- ZeroOpNode.cs
- _IPv6Address.cs
- MailBnfHelper.cs
- WindowsTokenRoleProvider.cs
- RangeBaseAutomationPeer.cs
- ImageMap.cs
- MtomMessageEncodingBindingElement.cs
- ProtocolsSection.cs
- SupportsEventValidationAttribute.cs
- PlanCompiler.cs
- WmlFormAdapter.cs
- SqlBulkCopy.cs
- TextEndOfLine.cs
- CharacterString.cs
- Point3D.cs
- PermissionListSet.cs
- EUCJPEncoding.cs
- InputMethodStateChangeEventArgs.cs
- FunctionMappingTranslator.cs
- MetadataItem.cs
- XmlNode.cs
- TemplateBamlRecordReader.cs
- clipboard.cs
- _SSPIWrapper.cs
- ReaderWriterLock.cs
- ControlTemplate.cs
- TagPrefixCollection.cs
- Page.cs
- MeasureData.cs
- PlatformNotSupportedException.cs
- TypedElement.cs
- OracleMonthSpan.cs
- SystemInfo.cs
- GPRECT.cs
- LinkLabelLinkClickedEvent.cs
- ImportCatalogPart.cs
- DESCryptoServiceProvider.cs
- ASCIIEncoding.cs
- StringStorage.cs
- NamespaceExpr.cs
- _Connection.cs
- SmiConnection.cs
- CodeLabeledStatement.cs
- Compiler.cs
- Binding.cs
- XmlAttributeProperties.cs
- XpsSerializerFactory.cs
- PersonalizationStateQuery.cs
- PartitionResolver.cs
- NamespaceQuery.cs
- ChannelManager.cs
- GeometryGroup.cs
- SimpleWorkerRequest.cs
- DataColumnCollection.cs
- SourceLocationProvider.cs
- WindowsPen.cs
- Crc32.cs
- Attributes.cs
- ExtenderControl.cs
- UnknownWrapper.cs
- TypeBuilderInstantiation.cs
- ProfileGroupSettingsCollection.cs
- EventLogWatcher.cs
- WbmpConverter.cs
- ErrorBehavior.cs
- CodeThrowExceptionStatement.cs
- UnsafeCollabNativeMethods.cs
- SequentialUshortCollection.cs
- HeaderLabel.cs
- CompressStream.cs
- LOSFormatter.cs
- propertytag.cs
- Deserializer.cs
- EncryptedReference.cs
- IteratorDescriptor.cs
- ParentUndoUnit.cs
- PageHandlerFactory.cs
- DiscoveryProxy.cs
- WorkflowMessageEventHandler.cs
- CurrentTimeZone.cs
- HttpListenerPrefixCollection.cs
- WarningException.cs
- ImageMapEventArgs.cs
- XamlPointCollectionSerializer.cs
- SqlNotificationRequest.cs
- uribuilder.cs
- CultureInfo.cs
- QueryCursorEventArgs.cs
- XmlObjectSerializerReadContext.cs
- SqlDataReaderSmi.cs
- DesignerCalendarAdapter.cs
- FixedDocumentSequencePaginator.cs
- TransformPattern.cs
- RankException.cs
- MenuItemStyle.cs
- MdiWindowListItemConverter.cs
- DEREncoding.cs
- CredentialCache.cs