コード例 #1
0
        /* 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;
            });
        }
コード例 #2
0
ファイル: AgentControl.xaml.cs プロジェクト: zessiez/always
 public void acceptCall()
 {
     agent.Invoke((MethodInvoker) delegate
     {
         videoCaller.acceptCall();
         agent.webBrowser.Visible = false;
     });
 }