diff options
Diffstat (limited to 'mcs/class/System/Microsoft.Win32/SessionEndingEventArgs.cs')
-rw-r--r-- | mcs/class/System/Microsoft.Win32/SessionEndingEventArgs.cs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/mcs/class/System/Microsoft.Win32/SessionEndingEventArgs.cs b/mcs/class/System/Microsoft.Win32/SessionEndingEventArgs.cs new file mode 100644 index 00000000000..19279827fc6 --- /dev/null +++ b/mcs/class/System/Microsoft.Win32/SessionEndingEventArgs.cs @@ -0,0 +1,45 @@ +//
+// SessionEndingEventArgs.cs
+//
+// Author:
+// Johannes Roith (johannes@jroith.de)
+//
+// (C) 2002 Johannes Roith
+//
+namespace Microsoft.Win32 {
+
+ /// <summary>
+ /// </summary>
+public class SessionEndingEventArgs : System.EventArgs{
+
+ SessionEndReasons myreason;
+ bool mycancel;
+
+ public SessionEndingEventArgs(SessionEndReasons reason)
+ {
+ this.myreason = reason;
+ }
+
+ public SessionEndReasons Reason {
+
+ get{
+ return myreason;
+ }
+
+ }
+
+
+ public bool Cancel {
+
+ get{
+ return mycancel;
+ }
+ set{
+
+ }
+
+ }
+
+}
+
+}
|