private bool AttemptConnectionToSelectedTicklet()
        {
            lock (LoxyPants)
            {
                if (selectedTicklet == null)
                {
                    return(false);
                }
            }
            try
            {
                //rdpViewer.StartReverseConnectListener(selectedTicklet.getConnectionString(), selectedTicklet.getClientID(), "");

                //rdpViewer.Connect(selectedTicklet.getConnectionString(), selectedTicklet.getClientID(), "");
                axRDPViewer1.Connect(selectedTicklet.getConnectionString(), selectedTicklet.getClientID(), "");
                axRDPViewer1.Show();
                connectButton.Enabled = false;
                voiceButton.Enabled   = true;
            }
            catch (System.Runtime.InteropServices.COMException e)
            {
                return(false);
            }
            catch (ArgumentException e)
            {
                return(false);
            }
            return(true);
        }
 private void SelectTicklet(Ticklet t)
 {
     selectedTicklet = t;
     if (t != null)
     {
         Action SetText = () => { tickletSelectionBox.Text = "ID: " + t.getID() + " Connection:" + t.getConnectionString(); };
         this.Invoke(SetText);
     }
     else
     {
         Action SetText = () => { tickletSelectionBox.Text = "no ticklet selected"; };
         this.Invoke(SetText);
     }
 }