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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 774 - (show annotations) (download)
Thu Jun 20 22:33:04 2013 UTC (7 years, 1 month ago) by william
File size: 715 byte(s)

1 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