示例#1
0
        private void AgentLockHandler(object sender, Agent.LockEventArgs e)
        {
//      Invoke((MethodInvoker)delegate()
//      {
//        UpdateVisibility();
//        UpdateButtonStates();
//      });
        }
示例#2
0
        private void AgentLockHandler(object sender, Agent.LockEventArgs e)
        {
            if (InvokeRequired)
            {
                Invoke((MethodInvoker) delegate()
                {
                    AgentLockHandler(sender, e);
                });
                return;
            }

            UpdateVisibility();
            UpdateButtonStates();
        }
示例#3
0
 private void Agent_Locked(object aSender, Agent.LockEventArgs aEventArgs)
 {
     UpdateUI();
 }
 private void Agent_Locked(object sender, Agent.LockEventArgs e)
 {
     UpdateUI();
 }
示例#5
0
 void mAgent_Locked(object sender, Agent.LockEventArgs e)
 {
     // TODO figure out how to invoke Qt UI thread
     UpdateUIState();
 }