Singer Instruments PIXL Client
RemainingCleavesOnCurrentBladeChanged Event
Example 



SI.PIXL.Client Namespace > PIXLClient Class : RemainingCleavesOnCurrentBladeChanged Event
Occurs when the PIXLClient.RemainingCleavesOnCurrentBlade property changes.
Syntax
'Declaration
 
Public Event RemainingCleavesOnCurrentBladeChanged As EventHandler(Of Integer)
'Usage
 
Dim instance As PIXLClient
Dim handler As EventHandler(Of Integer)
 
AddHandler instance.RemainingCleavesOnCurrentBladeChanged, handler
public event EventHandler<int> RemainingCleavesOnCurrentBladeChanged
public:
event EventHandler<int>^ RemainingCleavesOnCurrentBladeChanged
Example
This sample shows how to handle the RemainingCleavesOnCurrentBladeChanged event.
// Subscribe to RemainingCleavesOnCurrentBladeChanged events.
pixl.RemainingCleavesOnCurrentBladeChanged += (sender, cleaves) =>
{
    // Publish an update to the Console.
    Console.WriteLine($"PIXL's current blade has {cleaves} cleaves remaining.");
};
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members