void proxy_PackageReceived(object sender, ArtemisComm.Proxy.Library.ProxyPackageEventArgs e)
        {
            if (EnableLogging)
            {
                object key = Logger.Process(e.ReceivedPacket, e.ID, e.TargetID, GetSubPacketType(e.ReceivedPacket));
                List<PropertyValue> PropertyList = new List<PropertyValue>();
                GetPropertyInformation(PropertyList, e.ReceivedPacket, e.ReceivedPacket.PacketType.ToString(), 0);
                foreach (PropertyValue prop in PropertyList)
                {

                    Logger.ProcessValues(key, prop.PropertyName, prop.Value, prop.ObjectType, prop.HexValue);
                }
            }
        }
        public void GetShipSelection(ArtemisComm.PlayerShip[] shipList)
        {
            SetVisible(false, true, false, false, false);
            Collection<PlayerShip> shps = new Collection<PlayerShip>(shipList);
            if (this.InvokeRequired)
            {

                this.BeginInvoke(new Action<Collection<PlayerShip>>(PromptShips), shps);
            }
            else
            {

                PromptShips(shps);
               
            }
           
        }
        public void GetShipSelection(ArtemisComm.PlayerShip[] shipList)
        {
            
            RadioGroup grp = FindViewById<RadioGroup>(Resource.Id.radioGroup1);
            grp.RemoveAllViews();
            int id = 1000;
            foreach (ArtemisComm.PlayerShip ship in shipList)
            {
                RadioButton rad = new RadioButton(this);
                rad.Text = ship.Name.Value;
                rad.Id = id++;
                grp.AddView(rad);   
            }
            SetContentView(Resource.Layout.ShipSelect);
            Button button = FindViewById<Button>(Resource.Id.btnSelectShip);
            button.Click += Select_Click;

        }
 void proxy_Connected(object sender, ArtemisComm.ConnectionEventArgs e)
 {
     ConnectionCount++;
 }
 void proxy_ConnectionLost(object sender, ArtemisComm.ConnectionEventArgs e)
 {
     ConnectionCount--;
     if (LostConnection != null)
     {
         LostConnection(this, EventArgs.Empty);
     }
 }
 void proxy_ExceptionEncountered(object sender, ArtemisComm.ExceptionEventArgs e)
 {
     if (EnableLogging)
     {
         Logger.AddException(e.ID, e.CapturedException);
     }
 }