You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Ui Namespace > Classes > LoginScopeUi Class > LoginScopeUi Methods > LoginScopeUi.SetApplicationHandle Method
Close
Ofcas.Lk.Api.Client - Version 3.0
LoginScopeUi.SetApplicationHandle Method

Sets an ui handle. All opened user interfaces used this handle as parent. After an operation the default handle from the login scope will be used (ServiceProxyBase{TService,TCoreObject}.Login).

Syntax
C#
public void SetApplicationHandle(IntPtr uiHandle, bool setAsDefaultHandle = false);
Parameters
Description
IntPtr uiHandle
the ui handle to be used for opened user interfaces from this class.
bool setAsDefaultHandle = false
If true, the given handle will be set as the application's default handle.
Copyright © 2020. All rights reserved.