/[RomCheater]/trunk/RomCheater.Core/ControlClosingEventArgs.cs
ViewVC logotype

Annotation of /trunk/RomCheater.Core/ControlClosingEventArgs.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 774 - (hide annotations) (download)
Thu Jun 20 22:33:04 2013 UTC (8 years, 5 months ago) by william
File size: 715 byte(s)

1 william 774 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5    
6     namespace RomCheater.Core
7     {
8     public interface IControlClosingEventArgs<T>
9     {
10     T Args { get; }
11     }
12     public class ControlClosingEventArgs<T> : BaseEventArgs
13     {
14     public ControlClosingEventArgs() :this(null) { }
15     public ControlClosingEventArgs(object sender) : this(sender, default(T)) { }
16     public ControlClosingEventArgs(object sender, T args) : base(sender) { this.Args = args; }
17     #region IControlClosingEventArgs<T> Members
18     private T _Args;
19     public T Args { get { return _Args; } private set { _Args = value; } }
20     #endregion
21     }
22     }

  ViewVC Help
Powered by ViewVC 1.1.22