Пример #1
0
 private IInvonker GetInvoker()
 {
     return(_invonker ?? (_invonker = new WinFormInvonker()));
 }
Пример #2
0
 /// <summary>
 /// Must be called in main thread.
 /// </summary>
 public void Initialize()
 {
     _mainThreadId = Thread.CurrentThread.ManagedThreadId;
     _invonker     = new WinFormInvonker();
 }