protected virtual void OnFrameReceived(FrameReceivedEventArgs e) { if (FrameReceived != null) { FrameReceived(this, e); } }
void client_FrameReceived(object sender, FrameReceivedEventArgs e) { if (statusVisible) { HideStatus(); } frames++; width = e.Frame.Width; height = e.Frame.Height; RemoteImage.Source = e.Frame; }