//using System;
//using System.Collections;
//using System.ComponentModel;
//using System.Drawing;
//using System.Data;
//using System.Windows.Forms;
//using System.Reflection;
//using Betfair.Gamex.API.Entities;
//using Betfair.Gamex.API.UberClient.Classes;

//namespace Betfair.Gamex.API.UberClient.Controls
//{
//    /// <summary>
//    /// Summary description for ctlPokerHistory.
//    /// </summary>
//    public class ctlPokerHistory : System.Windows.Forms.UserControl
//    {
//        #region Declarations
//        /// <summary> 
//        /// Required designer variable.
//        /// </summary>
//        private System.ComponentModel.Container components = null;
//        private System.Windows.Forms.PictureBox pbCC1;
//        private System.Windows.Forms.PictureBox pbCC2;
//        private System.Windows.Forms.PictureBox pbCC3;
//        private System.Windows.Forms.PictureBox pbCC4;
//        private System.Windows.Forms.PictureBox pbCC5;
//        private System.Windows.Forms.PictureBox pbPlayer1a;
//        private System.Windows.Forms.PictureBox pbPlayer1b;
//        private System.Windows.Forms.PictureBox pbPlayer2b;
//        private System.Windows.Forms.PictureBox pbPlayer2a;
//        private System.Windows.Forms.PictureBox pbPlayer3b;
//        private System.Windows.Forms.PictureBox pbPlayer3a;
//        private System.Windows.Forms.PictureBox pbPlayer4b;
//        private System.Windows.Forms.PictureBox pbPlayer4a;
//        private System.Windows.Forms.Label lblGameTitle;
//        private System.Windows.Forms.Label lblCommunityCards;
//        private System.Windows.Forms.Label lblPlayer1;
//        private System.Windows.Forms.Label lblPlayer2Status;
//        private System.Windows.Forms.Label lblPlayer2;
//        private System.Windows.Forms.Label lblPlayer3Status;
//        private System.Windows.Forms.Label lblPlayer3;
//        private System.Windows.Forms.Label lblPlayer4Status;
//        private System.Windows.Forms.Label lblPlayer4;
//        private System.Windows.Forms.Label lblLoading;
//        private System.Windows.Forms.Label lblPlayer1Status;
//        private System.Windows.Forms.Label lblPlayer1Description;
//        private System.Windows.Forms.Label lblPlayer2Description;
//        private System.Windows.Forms.Label lblPlayer3Description;
//        private System.Windows.Forms.Label lblPlayer4Description;
//        private System.Windows.Forms.Button btnLogout;
//        private System.Windows.Forms.Button button1;

//        private channelSnapshot channelSnapshot;
//        #endregion
		
//        public ctlPokerHistory()
//        {
//            // This call is required by the Windows.Forms Form Designer.
//            InitializeComponent();
//        }

//        public channelSnapshot CurrentChannelSnapshot
//        {
//            get{return(channelSnapshot);}
//            set{
//                channelSnapshot=value;
//                updateDisplay();
//            }
//        }

//        private void updateDisplay() 
//        {
//            lblLoading.Hide();
//            paintGameInfo();
//            paintCards();
//            paintMarketData();
//        }

//        private void paintMarketData() 
//        {
//            for(int i=0; i<channelSnapshot.channel.game.gameData.Length - 1; i++) 
//            {
//                switch(i) 
//                {
//                    case 0: util.SetPlayerDescription(channelSnapshot.channel.game.gameData[i].description, lblPlayer1Description); break;
//                    case 1: util.SetPlayerDescription(channelSnapshot.channel.game.gameData[i].description, lblPlayer2Description); break;
//                    case 2: util.SetPlayerDescription(channelSnapshot.channel.game.gameData[i].description, lblPlayer3Description); break;
//                    case 3: util.SetPlayerDescription(channelSnapshot.channel.game.gameData[i].description, lblPlayer4Description); break;
//                }
//            }
//        }

//        private void setPlayerStatus(selectionStatusEnum status, Label lblStatus, IOddsPanel backOddsPanel, IOddsPanel layOddsPanel)
//        {
//            switch (status)
//            {
//                case selectionStatusEnum.WINNER:
//                    lblStatus.Text = "Winner";
//                    lblStatus.BackColor = Color.Navy;
//                    backOddsPanel.Enabled = false;
//                    layOddsPanel.Enabled = false;
//                    break;
//                case selectionStatusEnum.TIED_DEAD_HEAT:
//                    lblStatus.Text = "Tied";
//                    lblStatus.BackColor = Color.Navy;
//                    backOddsPanel.Enabled = false;
//                    layOddsPanel.Enabled = false;
//                    break;
//                case selectionStatusEnum.LOSER:
//                    lblStatus.Text = "Eliminated";
//                    lblStatus.BackColor = Color.Red;
//                    backOddsPanel.Enabled = false;
//                    layOddsPanel.Enabled = false;
//                    break;
//                default:
//                    lblStatus.Text = "Active";
//                    lblStatus.BackColor = Color.Green;
//                    backOddsPanel.Enabled = true;
//                    layOddsPanel.Enabled = true;
//                    break;
//            }
//        }

//        //actually set the odds and prices in our panels
//        private void setOddsPanel(IOddsPanel oddsPanel, selectionSnapshot selection, betBidTypeEnum backOrLay)
//        {
//            if (backOrLay == betBidTypeEnum.BACK) 
//            {
//                if (selection.bestAvailableToBackPrices.Length > 0) 
//                {
//                    oddsPanel.Price=selection.bestAvailableToBackPrices[0].Value;
//                    oddsPanel.Available=selection.bestAvailableToBackPrices[0].amountUnmatched;
//                }
//            }
//            else 
//            {
//                if (selection.bestAvailableToLayPrices.Length > 0)
//                {
//                    oddsPanel.Price=selection.bestAvailableToLayPrices[0].Value;
//                    oddsPanel.Available=selection.bestAvailableToLayPrices[0].amountUnmatched;
//                }
//            }
//        }

//        private void paintGameInfo()
//        {
//            //set title
//            lblGameTitle.Text=channelSnapshot.channel.name;			
//        }


//        private void paintCards()
//        {
//            try 
//            {
//                if(channelSnapshot.channel.game.gameData.Length==5)
//                {
//                    for(int i=0; i<5; i++) 
//                    {
//                        switch(i) 
//                        {
//                            case 0:
//                                pbPlayer1a.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[0].value), false);
//                                pbPlayer1b.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[1].value), false);
//                                break;
//                            case 1:
//                                pbPlayer2a.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[0].value), false);
//                                pbPlayer2b.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[1].value), false);
//                                break;
//                            case 2:
//                                pbPlayer3a.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[0].value), false);
//                                pbPlayer3b.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[1].value), false);
//                                break;
//                            case 3:
//                                pbPlayer4a.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[0].value), false);
//                                pbPlayer4b.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[1].value), false);
//                                break;
//                            case 4:
//                                pbCC1.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[0].value), true);
//                                pbCC2.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[1].value), true);
//                                pbCC3.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[2].value), true);
//                                pbCC4.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[3].value), true);
//                                pbCC4.Image = util.GetCardResourceImage(util.GetCardValue(channelSnapshot.channel.game.gameData[i].property[4].value), true);
//                                break;
//                        }
//                    }
//                }
//            }
//            catch(Exception ex) 
//            {
//                MessageBox.Show("Error: " + ex.Message + "\n\n" + ex.StackTrace);
//            }
//        }

//        /// <summary> 
//        /// Clean up any resources being used.
//        /// </summary>
//        protected override void Dispose( bool disposing )
//        {
//            if( disposing )
//            {
//                if(components != null)
//                {
//                    components.Dispose();
//                }
//            }
//            base.Dispose( disposing );
//        }

//        #region Component Designer generated code
//        /// <summary> 
//        /// Required method for Designer support - do not modify 
//        /// the contents of this method with the code editor.
//        /// </summary>
//        private void InitializeComponent()
//        {
//            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ctlPokerHistory));
//            this.pbCC1 = new System.Windows.Forms.PictureBox();
//            this.pbCC2 = new System.Windows.Forms.PictureBox();
//            this.pbCC3 = new System.Windows.Forms.PictureBox();
//            this.pbCC4 = new System.Windows.Forms.PictureBox();
//            this.pbCC5 = new System.Windows.Forms.PictureBox();
//            this.pbPlayer1a = new System.Windows.Forms.PictureBox();
//            this.pbPlayer1b = new System.Windows.Forms.PictureBox();
//            this.pbPlayer2b = new System.Windows.Forms.PictureBox();
//            this.pbPlayer2a = new System.Windows.Forms.PictureBox();
//            this.pbPlayer3b = new System.Windows.Forms.PictureBox();
//            this.pbPlayer3a = new System.Windows.Forms.PictureBox();
//            this.pbPlayer4b = new System.Windows.Forms.PictureBox();
//            this.pbPlayer4a = new System.Windows.Forms.PictureBox();
//            this.lblGameTitle = new System.Windows.Forms.Label();
//            this.lblCommunityCards = new System.Windows.Forms.Label();
//            this.lblPlayer1 = new System.Windows.Forms.Label();
//            this.lblPlayer1Status = new System.Windows.Forms.Label();
//            this.lblPlayer2Status = new System.Windows.Forms.Label();
//            this.lblPlayer2 = new System.Windows.Forms.Label();
//            this.lblPlayer3Status = new System.Windows.Forms.Label();
//            this.lblPlayer3 = new System.Windows.Forms.Label();
//            this.lblPlayer4Status = new System.Windows.Forms.Label();
//            this.lblPlayer4 = new System.Windows.Forms.Label();
//            this.lblLoading = new System.Windows.Forms.Label();
//            this.lblPlayer1Description = new System.Windows.Forms.Label();
//            this.lblPlayer2Description = new System.Windows.Forms.Label();
//            this.lblPlayer3Description = new System.Windows.Forms.Label();
//            this.lblPlayer4Description = new System.Windows.Forms.Label();
//            this.btnLogout = new System.Windows.Forms.Button();
//            this.button1 = new System.Windows.Forms.Button();
//            this.SuspendLayout();
//            // 
//            // pbCC1
//            // 
//            this.pbCC1.BackColor = System.Drawing.Color.White;
//            this.pbCC1.Image = ((System.Drawing.Image)(resources.GetObject("pbCC1.Image")));
//            this.pbCC1.Location = new System.Drawing.Point(88, 60);
//            this.pbCC1.Name = "pbCC1";
//            this.pbCC1.Size = new System.Drawing.Size(44, 60);
//            this.pbCC1.TabIndex = 0;
//            this.pbCC1.TabStop = false;
//            // 
//            // pbCC2
//            // 
//            this.pbCC2.BackColor = System.Drawing.Color.White;
//            this.pbCC2.Image = ((System.Drawing.Image)(resources.GetObject("pbCC2.Image")));
//            this.pbCC2.Location = new System.Drawing.Point(136, 60);
//            this.pbCC2.Name = "pbCC2";
//            this.pbCC2.Size = new System.Drawing.Size(44, 60);
//            this.pbCC2.TabIndex = 1;
//            this.pbCC2.TabStop = false;
//            // 
//            // pbCC3
//            // 
//            this.pbCC3.BackColor = System.Drawing.Color.White;
//            this.pbCC3.Image = ((System.Drawing.Image)(resources.GetObject("pbCC3.Image")));
//            this.pbCC3.Location = new System.Drawing.Point(184, 60);
//            this.pbCC3.Name = "pbCC3";
//            this.pbCC3.Size = new System.Drawing.Size(44, 60);
//            this.pbCC3.TabIndex = 2;
//            this.pbCC3.TabStop = false;
//            // 
//            // pbCC4
//            // 
//            this.pbCC4.BackColor = System.Drawing.Color.White;
//            this.pbCC4.Image = ((System.Drawing.Image)(resources.GetObject("pbCC4.Image")));
//            this.pbCC4.Location = new System.Drawing.Point(232, 60);
//            this.pbCC4.Name = "pbCC4";
//            this.pbCC4.Size = new System.Drawing.Size(44, 60);
//            this.pbCC4.TabIndex = 3;
//            this.pbCC4.TabStop = false;
//            // 
//            // pbCC5
//            // 
//            this.pbCC5.BackColor = System.Drawing.Color.White;
//            this.pbCC5.Image = ((System.Drawing.Image)(resources.GetObject("pbCC5.Image")));
//            this.pbCC5.Location = new System.Drawing.Point(280, 60);
//            this.pbCC5.Name = "pbCC5";
//            this.pbCC5.Size = new System.Drawing.Size(44, 60);
//            this.pbCC5.TabIndex = 4;
//            this.pbCC5.TabStop = false;
//            // 
//            // pbPlayer1a
//            // 
//            this.pbPlayer1a.BackColor = System.Drawing.Color.White;
//            this.pbPlayer1a.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer1a.Image")));
//            this.pbPlayer1a.Location = new System.Drawing.Point(85, 141);
//            this.pbPlayer1a.Name = "pbPlayer1a";
//            this.pbPlayer1a.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer1a.TabIndex = 5;
//            this.pbPlayer1a.TabStop = false;
//            // 
//            // pbPlayer1b
//            // 
//            this.pbPlayer1b.BackColor = System.Drawing.Color.White;
//            this.pbPlayer1b.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer1b.Image")));
//            this.pbPlayer1b.Location = new System.Drawing.Point(117, 141);
//            this.pbPlayer1b.Name = "pbPlayer1b";
//            this.pbPlayer1b.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer1b.TabIndex = 6;
//            this.pbPlayer1b.TabStop = false;
//            // 
//            // pbPlayer2b
//            // 
//            this.pbPlayer2b.BackColor = System.Drawing.Color.White;
//            this.pbPlayer2b.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer2b.Image")));
//            this.pbPlayer2b.Location = new System.Drawing.Point(160, 221);
//            this.pbPlayer2b.Name = "pbPlayer2b";
//            this.pbPlayer2b.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer2b.TabIndex = 8;
//            this.pbPlayer2b.TabStop = false;
//            // 
//            // pbPlayer2a
//            // 
//            this.pbPlayer2a.BackColor = System.Drawing.Color.White;
//            this.pbPlayer2a.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer2a.Image")));
//            this.pbPlayer2a.Location = new System.Drawing.Point(128, 221);
//            this.pbPlayer2a.Name = "pbPlayer2a";
//            this.pbPlayer2a.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer2a.TabIndex = 7;
//            this.pbPlayer2a.TabStop = false;
//            // 
//            // pbPlayer3b
//            // 
//            this.pbPlayer3b.BackColor = System.Drawing.Color.White;
//            this.pbPlayer3b.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer3b.Image")));
//            this.pbPlayer3b.Location = new System.Drawing.Point(264, 221);
//            this.pbPlayer3b.Name = "pbPlayer3b";
//            this.pbPlayer3b.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer3b.TabIndex = 10;
//            this.pbPlayer3b.TabStop = false;
//            // 
//            // pbPlayer3a
//            // 
//            this.pbPlayer3a.BackColor = System.Drawing.Color.White;
//            this.pbPlayer3a.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer3a.Image")));
//            this.pbPlayer3a.Location = new System.Drawing.Point(232, 221);
//            this.pbPlayer3a.Name = "pbPlayer3a";
//            this.pbPlayer3a.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer3a.TabIndex = 9;
//            this.pbPlayer3a.TabStop = false;
//            // 
//            // pbPlayer4b
//            // 
//            this.pbPlayer4b.BackColor = System.Drawing.Color.White;
//            this.pbPlayer4b.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer4b.Image")));
//            this.pbPlayer4b.Location = new System.Drawing.Point(296, 142);
//            this.pbPlayer4b.Name = "pbPlayer4b";
//            this.pbPlayer4b.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer4b.TabIndex = 12;
//            this.pbPlayer4b.TabStop = false;
//            // 
//            // pbPlayer4a
//            // 
//            this.pbPlayer4a.BackColor = System.Drawing.Color.White;
//            this.pbPlayer4a.Image = ((System.Drawing.Image)(resources.GetObject("pbPlayer4a.Image")));
//            this.pbPlayer4a.Location = new System.Drawing.Point(264, 142);
//            this.pbPlayer4a.Name = "pbPlayer4a";
//            this.pbPlayer4a.Size = new System.Drawing.Size(30, 35);
//            this.pbPlayer4a.TabIndex = 11;
//            this.pbPlayer4a.TabStop = false;
//            // 
//            // lblGameTitle
//            // 
//            this.lblGameTitle.BackColor = System.Drawing.Color.Transparent;
//            this.lblGameTitle.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblGameTitle.ForeColor = System.Drawing.Color.Black;
//            this.lblGameTitle.Location = new System.Drawing.Point(58, 24);
//            this.lblGameTitle.Name = "lblGameTitle";
//            this.lblGameTitle.Size = new System.Drawing.Size(334, 16);
//            this.lblGameTitle.TabIndex = 13;
//            this.lblGameTitle.Text = "Loading Exchange Poker History...";
//            // 
//            // lblCommunityCards
//            // 
//            this.lblCommunityCards.BackColor = System.Drawing.Color.Transparent;
//            this.lblCommunityCards.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblCommunityCards.ForeColor = System.Drawing.Color.Black;
//            this.lblCommunityCards.Location = new System.Drawing.Point(88, 46);
//            this.lblCommunityCards.Name = "lblCommunityCards";
//            this.lblCommunityCards.Size = new System.Drawing.Size(88, 14);
//            this.lblCommunityCards.TabIndex = 21;
//            this.lblCommunityCards.Text = "Community Cards:";
//            // 
//            // lblPlayer1
//            // 
//            this.lblPlayer1.BackColor = System.Drawing.Color.White;
//            this.lblPlayer1.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer1.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer1.Location = new System.Drawing.Point(19, 144);
//            this.lblPlayer1.Name = "lblPlayer1";
//            this.lblPlayer1.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer1.TabIndex = 22;
//            this.lblPlayer1.Text = "Player 1";
//            this.lblPlayer1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer1Status
//            // 
//            this.lblPlayer1Status.BackColor = System.Drawing.Color.Green;
//            this.lblPlayer1Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer1Status.ForeColor = System.Drawing.Color.White;
//            this.lblPlayer1Status.Location = new System.Drawing.Point(19, 159);
//            this.lblPlayer1Status.Name = "lblPlayer1Status";
//            this.lblPlayer1Status.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer1Status.TabIndex = 23;
//            this.lblPlayer1Status.Text = "Active";
//            this.lblPlayer1Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer2Status
//            // 
//            this.lblPlayer2Status.BackColor = System.Drawing.Color.Green;
//            this.lblPlayer2Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer2Status.ForeColor = System.Drawing.Color.White;
//            this.lblPlayer2Status.Location = new System.Drawing.Point(61, 239);
//            this.lblPlayer2Status.Name = "lblPlayer2Status";
//            this.lblPlayer2Status.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer2Status.TabIndex = 25;
//            this.lblPlayer2Status.Text = "Active";
//            this.lblPlayer2Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer2
//            // 
//            this.lblPlayer2.BackColor = System.Drawing.Color.White;
//            this.lblPlayer2.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer2.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer2.Location = new System.Drawing.Point(61, 224);
//            this.lblPlayer2.Name = "lblPlayer2";
//            this.lblPlayer2.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer2.TabIndex = 24;
//            this.lblPlayer2.Text = "Player 2";
//            this.lblPlayer2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer3Status
//            // 
//            this.lblPlayer3Status.BackColor = System.Drawing.Color.Green;
//            this.lblPlayer3Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer3Status.ForeColor = System.Drawing.Color.White;
//            this.lblPlayer3Status.Location = new System.Drawing.Point(296, 239);
//            this.lblPlayer3Status.Name = "lblPlayer3Status";
//            this.lblPlayer3Status.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer3Status.TabIndex = 27;
//            this.lblPlayer3Status.Text = "Active";
//            this.lblPlayer3Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer3
//            // 
//            this.lblPlayer3.BackColor = System.Drawing.Color.White;
//            this.lblPlayer3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer3.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer3.Location = new System.Drawing.Point(296, 224);
//            this.lblPlayer3.Name = "lblPlayer3";
//            this.lblPlayer3.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer3.TabIndex = 26;
//            this.lblPlayer3.Text = "Player 3";
//            this.lblPlayer3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer4Status
//            // 
//            this.lblPlayer4Status.BackColor = System.Drawing.Color.Green;
//            this.lblPlayer4Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer4Status.ForeColor = System.Drawing.Color.White;
//            this.lblPlayer4Status.Location = new System.Drawing.Point(328, 159);
//            this.lblPlayer4Status.Name = "lblPlayer4Status";
//            this.lblPlayer4Status.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer4Status.TabIndex = 29;
//            this.lblPlayer4Status.Text = "Active";
//            this.lblPlayer4Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer4
//            // 
//            this.lblPlayer4.BackColor = System.Drawing.Color.White;
//            this.lblPlayer4.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer4.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer4.Location = new System.Drawing.Point(328, 144);
//            this.lblPlayer4.Name = "lblPlayer4";
//            this.lblPlayer4.Size = new System.Drawing.Size(64, 14);
//            this.lblPlayer4.TabIndex = 28;
//            this.lblPlayer4.Text = "Player 4";
//            this.lblPlayer4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblLoading
//            // 
//            this.lblLoading.BackColor = System.Drawing.Color.Transparent;
//            this.lblLoading.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
//            this.lblLoading.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblLoading.ForeColor = System.Drawing.Color.Black;
//            this.lblLoading.Location = new System.Drawing.Point(120, 320);
//            this.lblLoading.Name = "lblLoading";
//            this.lblLoading.Size = new System.Drawing.Size(184, 56);
//            this.lblLoading.TabIndex = 30;
//            this.lblLoading.Text = "Loading...";
//            this.lblLoading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//            // 
//            // lblPlayer1Description
//            // 
//            this.lblPlayer1Description.BackColor = System.Drawing.Color.Transparent;
//            this.lblPlayer1Description.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer1Description.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer1Description.Location = new System.Drawing.Point(32, 176);
//            this.lblPlayer1Description.Name = "lblPlayer1Description";
//            this.lblPlayer1Description.Size = new System.Drawing.Size(100, 28);
//            this.lblPlayer1Description.TabIndex = 41;
//            this.lblPlayer1Description.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//            // 
//            // lblPlayer2Description
//            // 
//            this.lblPlayer2Description.BackColor = System.Drawing.Color.Transparent;
//            this.lblPlayer2Description.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer2Description.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer2Description.Location = new System.Drawing.Point(80, 256);
//            this.lblPlayer2Description.Name = "lblPlayer2Description";
//            this.lblPlayer2Description.Size = new System.Drawing.Size(100, 28);
//            this.lblPlayer2Description.TabIndex = 42;
//            this.lblPlayer2Description.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//            // 
//            // lblPlayer3Description
//            // 
//            this.lblPlayer3Description.BackColor = System.Drawing.Color.Transparent;
//            this.lblPlayer3Description.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer3Description.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer3Description.Location = new System.Drawing.Point(248, 256);
//            this.lblPlayer3Description.Name = "lblPlayer3Description";
//            this.lblPlayer3Description.Size = new System.Drawing.Size(100, 28);
//            this.lblPlayer3Description.TabIndex = 43;
//            this.lblPlayer3Description.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//            // 
//            // lblPlayer4Description
//            // 
//            this.lblPlayer4Description.BackColor = System.Drawing.Color.Transparent;
//            this.lblPlayer4Description.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.lblPlayer4Description.ForeColor = System.Drawing.Color.Black;
//            this.lblPlayer4Description.Location = new System.Drawing.Point(280, 176);
//            this.lblPlayer4Description.Name = "lblPlayer4Description";
//            this.lblPlayer4Description.Size = new System.Drawing.Size(100, 28);
//            this.lblPlayer4Description.TabIndex = 44;
//            this.lblPlayer4Description.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//            // 
//            // btnLogout
//            // 
//            this.btnLogout.BackColor = System.Drawing.Color.Transparent;
//            this.btnLogout.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnLogout.BackgroundImage")));
//            this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
//            this.btnLogout.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.btnLogout.ForeColor = System.Drawing.Color.Black;
//            this.btnLogout.Image = ((System.Drawing.Image)(resources.GetObject("btnLogout.Image")));
//            this.btnLogout.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
//            this.btnLogout.Location = new System.Drawing.Point(368, 296);
//            this.btnLogout.Name = "btnLogout";
//            this.btnLogout.Size = new System.Drawing.Size(48, 22);
//            this.btnLogout.TabIndex = 45;
//            this.btnLogout.Text = "Next";
//            this.btnLogout.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//            // 
//            // button1
//            // 
//            this.button1.BackColor = System.Drawing.SystemColors.Control;
//            this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
//            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
//            this.button1.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//            this.button1.ForeColor = System.Drawing.Color.Black;
//            this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
//            this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
//            this.button1.Location = new System.Drawing.Point(8, 296);
//            this.button1.Name = "button1";
//            this.button1.Size = new System.Drawing.Size(48, 22);
//            this.button1.TabIndex = 46;
//            this.button1.Text = "Prev";
//            this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//            // 
//            // ctlPokerHistory
//            // 
//            this.BackColor = System.Drawing.SystemColors.Control;
//            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
//            this.Controls.Add(this.button1);
//            this.Controls.Add(this.btnLogout);
//            this.Controls.Add(this.lblLoading);
//            this.Controls.Add(this.lblPlayer4Status);
//            this.Controls.Add(this.lblPlayer4);
//            this.Controls.Add(this.lblPlayer3Status);
//            this.Controls.Add(this.lblPlayer3);
//            this.Controls.Add(this.lblPlayer2Status);
//            this.Controls.Add(this.lblPlayer2);
//            this.Controls.Add(this.lblPlayer1Status);
//            this.Controls.Add(this.lblPlayer1);
//            this.Controls.Add(this.lblCommunityCards);
//            this.Controls.Add(this.lblGameTitle);
//            this.Controls.Add(this.pbPlayer4b);
//            this.Controls.Add(this.pbPlayer4a);
//            this.Controls.Add(this.pbPlayer3b);
//            this.Controls.Add(this.pbPlayer3a);
//            this.Controls.Add(this.pbPlayer2b);
//            this.Controls.Add(this.pbPlayer2a);
//            this.Controls.Add(this.pbPlayer1b);
//            this.Controls.Add(this.pbPlayer1a);
//            this.Controls.Add(this.pbCC5);
//            this.Controls.Add(this.pbCC4);
//            this.Controls.Add(this.pbCC3);
//            this.Controls.Add(this.pbCC2);
//            this.Controls.Add(this.pbCC1);
//            this.Controls.Add(this.lblPlayer4Description);
//            this.Controls.Add(this.lblPlayer3Description);
//            this.Controls.Add(this.lblPlayer2Description);
//            this.Controls.Add(this.lblPlayer1Description);
//            this.ForeColor = System.Drawing.Color.White;
//            this.Location = new System.Drawing.Point(-1, 40);
//            this.Name = "ctlPokerHistory";
//            this.Size = new System.Drawing.Size(426, 393);
//            this.ResumeLayout(false);

//        }
//        #endregion
//    }
//}
