DateRangeEvent.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
                        

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