View on GitHub

SARAFF SOFTWARE

All products / Saraff.Twain.DS / Contents

OnDisableDS

If the Source’s user interface is displayed, it should be lowered. The Source returns to State 4 and is again available for capability negotiation.

Syntax

protected virtual void OnDisableDS(IntPtr hwnd)

Parameters

Examples

protected override void OnDisableDS(IntPtr hwnd) {
    if(this._acquireForm!=null) {
        this._acquireForm.Dispose();
        this._acquireForm=null;
    }
    base.OnDisableDS(hwnd);
}