ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Core/ControlClosingEventArgs.cs
Revision: 774
Committed: Thu Jun 20 22:33:04 2013 UTC (9 years, 11 months ago) by william
File size: 715 byte(s)
Log Message:

File Contents

# Content
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 }