Пример #1
0
 public void AddInvoke(DelegateCall c)
 {
     if (!c.Invoke())
     {
         _calls.Enqueue(c);
     }
 }
Пример #2
0
 public void AddInvoke(DelegateCall c)
 {
     if(!c.Invoke())
     {
         _calls.Enqueue(c);   
     }
 }
Пример #3
0
 private void Invoke(DelegateCall a)
 {
     if (!IsDisposed)
     {
         InvokeManager.Instance.AddInvoke(a);
     }
 }
Пример #4
0
 public void UpdateProgressBar(int persent, bool total)
 {
     var d = new DelegateCall(this, new MainForm.UpdateProgressBarDelegate(updateProgressBarUnsafe), persent,
                              total);
     Invoke(d);
 }
Пример #5
0
 public void SetVersionType(String va, VersionType a)
 {
     var d = new DelegateCall(this, new MainForm.SetVersionTypeDelegate(SetVersionTypeU), va,  a);
    
     Invoke(d);
 }
Пример #6
0
 public void Invoke(DelegateCall delegateCall)
 {
     if(IsCanInvoke)
     {
         InvokeManager.Instance.AddInvoke(delegateCall);
     }
 }