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
- DataError.cs
- SqlClientPermission.cs
- ViewRendering.cs
- UnmanagedHandle.cs
- InvalidBodyAccessException.cs
- DocumentXPathNavigator.cs
- ColumnHeaderConverter.cs
- TopClause.cs
- LinqDataSourceValidationException.cs
- ColumnHeader.cs
- SqlStream.cs
- DataRecord.cs
- ApplicationHost.cs
- DataGridViewCellPaintingEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- XmlSchemaException.cs
- SqlClientPermission.cs
- SystemUnicastIPAddressInformation.cs
- KeyBinding.cs
- ControlPropertyNameConverter.cs
- CodeIndexerExpression.cs
- FontCacheUtil.cs
- ColumnCollection.cs
- filewebrequest.cs
- TemplateLookupAction.cs
- XmlSchemaComplexContent.cs
- Header.cs
- UnsafeNativeMethods.cs
- MappingException.cs
- BitmapImage.cs
- EdmComplexPropertyAttribute.cs
- DataGridViewCellCollection.cs
- SqlDuplicator.cs
- DateTimeOffsetStorage.cs
- SqlRetyper.cs
- SafeNativeMethodsCLR.cs
- ContentType.cs
- ObjectManager.cs
- SignatureHelper.cs
- RowUpdatedEventArgs.cs
- CursorConverter.cs
- StatusBar.cs
- RegistryConfigurationProvider.cs
- DiscreteKeyFrames.cs
- ParameterReplacerVisitor.cs
- ConfigurationPropertyCollection.cs
- SelectionItemPattern.cs
- HtmlEmptyTagControlBuilder.cs
- ViewPort3D.cs
- StateDesignerConnector.cs
- ClientApiGenerator.cs
- BuildProvider.cs
- ParseNumbers.cs
- TypeTypeConverter.cs
- OutOfMemoryException.cs
- HMACMD5.cs
- DispatcherEventArgs.cs
- WebDescriptionAttribute.cs
- NavigationCommands.cs
- ClientScriptManagerWrapper.cs
- Model3DGroup.cs
- RoutedCommand.cs
- SqlDataSourceConnectionPanel.cs
- OperandQuery.cs
- RowParagraph.cs
- Attributes.cs
- SimpleWorkerRequest.cs
- TextSelectionHelper.cs
- DataColumnMappingCollection.cs
- UrlAuthorizationModule.cs
- MasterPageParser.cs
- FontCacheLogic.cs
- StringConcat.cs
- sqlstateclientmanager.cs
- ClaimTypeRequirement.cs
- InputLanguageManager.cs
- AssemblyName.cs
- Version.cs
- PhysicalOps.cs
- ApplicationTrust.cs
- Queue.cs
- ToolStripPanelSelectionGlyph.cs
- ProviderConnectionPoint.cs
- MinimizableAttributeTypeConverter.cs
- SafeSystemMetrics.cs
- XmlWrappingReader.cs
- ServiceDescriptionData.cs
- HtmlToClrEventProxy.cs
- ExpressionDumper.cs
- WmfPlaceableFileHeader.cs
- SoapSchemaImporter.cs
- DocumentViewer.cs
- Selection.cs
- DataGridViewImageCell.cs
- ImageIndexEditor.cs
- SmiSettersStream.cs
- TraceSource.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- RelationshipDetailsRow.cs
- VectorConverter.cs