void CorrectOrdersAndNotifications(IAsyncResult result) { if (result.IsCompleted) { // UpdateOrdersDelegate.BeginInvoke(null, null); UpdateNotificationsDelegate.Invoke(); CheckNotificationsDelegate.Invoke(); } }
/// <summary> /// Запустить обновление рдеров /// </summary> public void UpdateOrdersAndNotifications() { //UpdateOrdersDelegate.Invoke(); UpdateNotificationsDelegate.BeginInvoke(null, null); }