Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/Microsoft.Win32/SessionEndingEventArgs.cs')
-rw-r--r--mcs/class/System/Microsoft.Win32/SessionEndingEventArgs.cs45
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{
+
+ }
+
+ }
+
+}
+
+}