Page 1 of 1

RaiseEventsInMainThread

Posted: Sun Apr 07, 2013 3:43 pm
by mobilyws
dear alt,

could please explain to me the use of "RaiseEventsInMainThread"

best regards

Re: RaiseEventsInMainThread

Posted: Sat Apr 13, 2013 6:50 pm
by alt
Hi mobilyws,

RaiseEventsInMainThread was added to help to avoid Control.Invoke and Control.InvokeRequired routine in UI.
When this property is true all events run in the same thread where SmppClient was created. When it is false event raised in different thread.
By default it is true.