Overide closing behavior to cancel synchronization and not close until synchronization has processed the cancel request.
' Visual Basic
Overrides Protected Sub OnClosing( _
ByVal e As System.ComponentModel.CancelEventArgs _
)
// C#
protected override void OnClosing(
System.ComponentModel.CancelEventArgs e
);
e a CancelEventArgs that contains the event data.
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.