Table of Contents

Class OperatingModeChangingEventArgs

Namespace
Loehnert.Lisrt.OperatingMode
Assembly
Loehnert.Lisrt.dll

Provides data for a cancel able operating mode changing event.

public class OperatingModeChangingEventArgs : CancelEventArgs
Inheritance
OperatingModeChangingEventArgs
Inherited Members

Constructors

OperatingModeChangingEventArgs(IOperatingMode, IOperatingMode)

Initializes a new instance of the OperatingModeChangingEventArgs class.

public OperatingModeChangingEventArgs(IOperatingMode currenMode, IOperatingMode newMode)

Parameters

currenMode IOperatingMode

The old (current) operating mode.

newMode IOperatingMode

The new operating mode.

Properties

CurrentMode

Gets the old (current) operating mode.

public IOperatingMode CurrentMode { get; }

Property Value

IOperatingMode

NewMode

Gets the new operating mode.

public IOperatingMode NewMode { get; }

Property Value

IOperatingMode