DateRangeEvent.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / 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.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK