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(); }
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(); }