/[RomCheater]/trunk/Win32/libWin32/Win32/UI/ValueChangedEventArgs.cs
ViewVC logotype

Contents of /trunk/Win32/libWin32/Win32/UI/ValueChangedEventArgs.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 287 - (show annotations) (download)
Tue Jun 5 08:52:07 2012 UTC (8 years, 3 months ago) by william
File size: 837 byte(s)

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace System.Windows.Forms
7 {
8 public interface IValueChangedEventArgs
9 {
10 object OldValue { get; }
11 object NewValue { get; }
12 }
13 public class ValueChangedEventArgs: EventArgs, IValueChangedEventArgs
14 {
15 public ValueChangedEventArgs() : this(0) { }
16 public ValueChangedEventArgs(object oldvalue) : this(oldvalue, oldvalue) { }
17 public ValueChangedEventArgs(object oldvalue, object newvalue)
18 {
19 this.OldValue = oldvalue;
20 this.NewValue = newvalue;
21 }
22 #region IValueChangedEventArgs members
23 public object OldValue { get; private set; }
24 public object NewValue { get; private set; }
25 #endregion
26 }
27 }

  ViewVC Help
Powered by ViewVC 1.1.22