MouseDoubleClickTriggerTests DoubleClickToCloseWindow Method Delta Engine Documentation

Namespace: DeltaEngine.Input.Tests
Assembly: DeltaEngine.Input.Tests (in DeltaEngine.Input.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void DoubleClickToCloseWindow()
Examples

[Test]
public void DoubleClickToCloseWindow()
{
    new FontText(Font.Default, "Double Click Mouse Button to close window", Rectangle.One);
    new Command(() => Resolve<Window>().CloseAfterFrame()).Add(new MouseDoubleClickTrigger());
}
See Also