Ejemplo n.º 1
0
        /// <summary>
        /// Show Bid Dialog and sets the player BID
        /// </summary>
        /// <param name="gData"></param>
        /// <returns></returns>
        public override int Bid(GameData gData)
        {
            BidForm BF = new BidForm(gData);
            BF.StartPosition = FormStartPosition.CenterParent;

            if (BF.ShowDialog() == DialogResult.OK)
            {
                return (int)BF.BidTrackBar.Value;
            }

            else return 0;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Show Bid Dialog and sets the player BID
        /// </summary>
        /// <param name="gData"></param>
        /// <returns></returns>
        public override int Bid(GameData gData)
        {
            BidForm BF = new BidForm(gData);

            BF.StartPosition = FormStartPosition.CenterParent;

            if (BF.ShowDialog() == DialogResult.OK)
            {
                return((int)BF.BidTrackBar.Value);
            }


            else
            {
                return(0);
            }
        }