private void UpdateTimeLastDeal(DateTime dt) { try { if (m_plaza2Connector.IsDealsOnline) { if (!CUtilTime.IsEqualTimesSecondsAcc(dt, TimeLastDeal)) { // m_plaza2Connector.GUIBox.ExecuteWindowsUpdate(new Action(() => TimeLastDeal = dt)); m_plaza2Connector.GUIBox.ExecuteWindowsDealsUpdate(new Action(() => TimeLastDeal = dt)); } } // TimeLastDeal = dt; } catch (Exception e) { Error("UpdateTimeLastDeal", e); } }