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
- DummyDataSource.cs
- FilterQuery.cs
- XappLauncher.cs
- CodeTypeParameterCollection.cs
- ToolboxDataAttribute.cs
- ImageField.cs
- Matrix.cs
- CodeAttributeArgumentCollection.cs
- TextProperties.cs
- MutexSecurity.cs
- SpeechRecognizer.cs
- UInt16Converter.cs
- AspNetCompatibilityRequirementsAttribute.cs
- PropertyInformationCollection.cs
- XmlDataSourceNodeDescriptor.cs
- StreamGeometry.cs
- UnmanagedMemoryAccessor.cs
- SimpleBitVector32.cs
- TypeUtil.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- BuildProvidersCompiler.cs
- TextEffectCollection.cs
- ResourceIDHelper.cs
- BufferAllocator.cs
- WebHostUnsafeNativeMethods.cs
- EdmComplexPropertyAttribute.cs
- DeferredElementTreeState.cs
- BaseAsyncResult.cs
- SqlIdentifier.cs
- GatewayDefinition.cs
- Vector3D.cs
- ActivationProxy.cs
- DataBoundControlAdapter.cs
- Vector3D.cs
- SelectionRange.cs
- ResXBuildProvider.cs
- XhtmlTextWriter.cs
- ConversionHelper.cs
- ObjectQueryExecutionPlan.cs
- HtmlListAdapter.cs
- AbstractExpressions.cs
- StorageModelBuildProvider.cs
- PathNode.cs
- SerializerWriterEventHandlers.cs
- ToolStripSystemRenderer.cs
- DataGridViewColumnCollection.cs
- HtmlTitle.cs
- __FastResourceComparer.cs
- UnsafeNetInfoNativeMethods.cs
- IndependentlyAnimatedPropertyMetadata.cs
- LayoutInformation.cs
- XPathDescendantIterator.cs
- ProgressBar.cs
- AgileSafeNativeMemoryHandle.cs
- ReferencedCategoriesDocument.cs
- Compensate.cs
- unsafenativemethodsother.cs
- StyleTypedPropertyAttribute.cs
- BufferModesCollection.cs
- contentDescriptor.cs
- InfoCardCryptoHelper.cs
- PropertyRef.cs
- ParameterCollection.cs
- CustomGrammar.cs
- ContentValidator.cs
- BindingSource.cs
- Rfc2898DeriveBytes.cs
- ProviderCommandInfoUtils.cs
- SyndicationDeserializer.cs
- StylusEventArgs.cs
- TraceRecords.cs
- FacetDescription.cs
- WhitespaceRuleReader.cs
- NameSpaceExtractor.cs
- WindowsGraphicsWrapper.cs
- SafeIUnknown.cs
- PeerEndPoint.cs
- CodePropertyReferenceExpression.cs
- GeometryModel3D.cs
- ToolStripItemImageRenderEventArgs.cs
- SafeHandle.cs
- StringPropertyBuilder.cs
- ContentIterators.cs
- WindowsSlider.cs
- NumericUpDownAccelerationCollection.cs
- AutomationProperty.cs
- MdiWindowListStrip.cs
- PropertyChangedEventManager.cs
- GeneralTransform3DGroup.cs
- Mutex.cs
- StrokeNode.cs
- ThicknessAnimationUsingKeyFrames.cs
- TraceUtility.cs
- HtmlInputButton.cs
- StorageModelBuildProvider.cs
- ActivatableWorkflowsQueryResult.cs
- ColumnHeader.cs
- ComboBoxDesigner.cs
- LayoutTable.cs
- WorkflowApplicationAbortedEventArgs.cs