[This is preliminary documentation and is subject to change.]

Argument of Closing event

Namespace: Tools
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public class ConsoleClosingEventArgs : CancelEventArgs
Visual Basic
Public Class ConsoleClosingEventArgs _
	Inherits CancelEventArgs
Visual C++
public ref class ConsoleClosingEventArgs : public CancelEventArgs
F#
type ConsoleClosingEventArgs =  
    class
        inherit CancelEventArgs
    end
JScript
public class ConsoleClosingEventArgs extends CancelEventArgs

Remarks

Cancelling the event does not prevent user from closing the console. System dialog mey be shown, or application is simply terminated (Vista)

Inheritance Hierarchy

System..::..Object
  System..::..EventArgs
    System.ComponentModel..::..CancelEventArgs
      Tools..::..ConsoleT..::..ConsoleClosingEventArgs

See Also