public void InvokeSocket() { this.Dispatcher.BeginInvoke(new Action(delegate() { _ClientEngine.NotifyReceiveData(); })); }
void TimerClock_Tick(object sender, EventArgs e) { //try //{ _ClientEngine.NotifyReceiveData(); if (_UserInfo != null) { counter++; if (counter >= 10) { _VideoEngine.Ping(_UserInfo); counter = 0; } } //} //catch { } }