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