Ejemplo n.º 1
0
        private Table table; //Reference to the table that owns this display

        #endregion Fields

        #region Constructors

        public TableDisplayWindow(Table table)
        {
            InitializeComponent();
            this.lastPlayerHand = null;
            this.table = table;
            this.oddsCalculator = OddsCalculator.CreateFor(table.Game);
            this.DoubleBuffered = true;
            this.SetStyle(ControlStyles.ResizeRedraw, true);
            this.Size = LoadWindowSize();
            this.Location = LoadAbsoluteWindowPosition();
        }
Ejemplo n.º 2
0
 public TableDisplayWindow(Table table)
 {
     InitializeComponent();
     this.lastPlayerHand = null;
     this.table          = table;
     this.oddsCalculator = OddsCalculator.CreateFor(table.Game);
     this.DoubleBuffered = true;
     this.SetStyle(ControlStyles.ResizeRedraw, true);
     this.Size     = LoadWindowSize();
     this.Location = LoadAbsoluteWindowPosition();
 }