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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 887 - (show annotations) (download)
Wed Sep 17 04:17:44 2014 UTC (6 years, 5 months ago) by william
File size: 721 byte(s)


1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace RomCheater.Interfaces
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