Ejemplo n.º 1
0
 public override void SetPunter(CockBet c**k, int cash, RadioButton radioButton, Label label)
 {
     MyCockBet = c**k;
     Cash      = cash;
     mrdbtn    = radioButton;
     mlbl      = label;
 }
Ejemplo n.º 2
0
        //public Button MyButton;

        public CockClient(string Name, CockBet MyCockBet, int Cash, RadioButton mrdbtn, Label mlbl) //this is constructor
        {
            this.Name      = Name;
            this.MyCockBet = MyCockBet;
            this.Cash      = Cash;
            this.mrdbtn    = mrdbtn;
            this.mlbl      = mlbl;
        }
Ejemplo n.º 3
0
        public bool PlaceCockBet(int Amount, int Bike)//this function is for placing the CockBet
        {
            if (Amount <= Cash)
            {
                //mlbl.Text = "Busted";
                MyCockBet = new CockBet(Amount, Bike, this);
                return(true);
            }

            return(false);
        }
Ejemplo n.º 4
0
 public abstract void SetPunter(CockBet c**k, int cash, RadioButton radioButton, Label label);