/* DEPRECATED * private void ScheduleReturningToNormalExpression(int mseconds) * { * var t = new System.Timers.Timer(mseconds); * t.Elapsed += (s, e) => * { * NormalExpression(); * t.Stop(); * t.Dispose(); * }; * t.Start(); * }*/ public void SetVisible(Boolean status) { agent.Invoke((System.Windows.Forms.MethodInvoker) delegate { agent.Visible = status; }); }
public void acceptCall() { agent.Invoke((MethodInvoker) delegate { videoCaller.acceptCall(); agent.webBrowser.Visible = false; }); }