public void AddInvoke(DelegateCall c) { if (!c.Invoke()) { _calls.Enqueue(c); } }
public void AddInvoke(DelegateCall c) { if(!c.Invoke()) { _calls.Enqueue(c); } }
private void Invoke(DelegateCall a) { if (!IsDisposed) { InvokeManager.Instance.AddInvoke(a); } }
public void UpdateProgressBar(int persent, bool total) { var d = new DelegateCall(this, new MainForm.UpdateProgressBarDelegate(updateProgressBarUnsafe), persent, total); Invoke(d); }
public void SetVersionType(String va, VersionType a) { var d = new DelegateCall(this, new MainForm.SetVersionTypeDelegate(SetVersionTypeU), va, a); Invoke(d); }
public void Invoke(DelegateCall delegateCall) { if(IsCanInvoke) { InvokeManager.Instance.AddInvoke(delegateCall); } }