Cette documentation est archivée et n’est pas conservée.

IStylusAsyncPlugin.StylusButtonUp, méthode

Notifies the implementing plug-in that the user has released a stylus button.

Espace de noms: Microsoft.StylusInput
Assembly : Microsoft.Ink (dans microsoft.ink.dll)

void StylusButtonUp (
	RealTimeStylus sender,
	StylusButtonUpData data
)
void StylusButtonUp (
	RealTimeStylus sender, 
	StylusButtonUpData data
)
function StylusButtonUp (
	sender : RealTimeStylus, 
	data : StylusButtonUpData
)
Non applicable.

Paramètres

sender

The RealTimeStylus object that sent the notification.

data

Information about the button that was released.

This C# example implements the StylusButtonUp method. It informs the developer when a stylus button has been released.

public void StylusButtonUp(RealTimeStylus sender, StylusButtonUpData data)
{
    Debug.Assert(false, "StylusButtonUp", "The " + 
      data.ButtonIndex.ToString() + " button was released.");
}

This Microsoft Visual Basic .NET example implements the StylusButtonUp method. It informs the developer when a stylus button has been released.

Public Sub StylusButtonUp(ByVal sender As RealTimeStylus, ByVal data As StylusButtonUpData) _
     Implements IStylusAsyncPlugin.StylusButtonUp
        Debug.Assert(False, "StylusButtonDown", "The " & _
          data.ButtonIndex.ToString() & " button was released.")
    End Sub 'StylusButtonUp

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile pour Pocket PC, Windows Mobile pour Smartphone, Windows Server 2003, Windows XP Édition Media Center, Windows XP Professionnel Édition x64, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0
Afficher: