Ejemplo n.º 1
0
 private void OpenAgentWindow(string username)
 {
     this.Dispatcher.Invoke(() =>
     {
         Windows.AgentWindow agentWindow = new Windows.AgentWindow(username);
         agentWindow.Show();
         this.Close();
     });
 }
 private void OpenAgentWindow(string username)
 {
     this.Dispatcher.Invoke(() =>
         {
             Windows.AgentWindow agentWindow = new Windows.AgentWindow(username);
             agentWindow.Show();
             this.Close();
         });
 }