HeapScroller.OnButtonReleaseEvent C# (CSharp) Méthode

OnButtonReleaseEvent() protected méthode

protected OnButtonReleaseEvent ( Gdk args ) : bool
args Gdk
Résultat bool
    protected override bool OnButtonReleaseEvent(Gdk.EventButton args)
    {
        double x = args.X + Allocation.X;
                double y = args.Y + Allocation.Y;

        if (glass.Dragging)
            glass.EndDrag (x, y);

        return base.OnButtonReleaseEvent (args);
    }