Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            _mike = new Betters((int)mikeStartingMoney.Value);
            _john = new Betters((int)johnStartingMoney.Value);
            _kim  = new Betters((int)kimStartingMoney.Value);

            var trans = new BettingScreen(_mike, _john, _kim);

            trans.Show();
        }
Пример #2
0
        public BettingScreen(Betters mike, Betters john, Betters kim)
        {
            _mike = mike;
            _john = john;
            _kim  = kim;
            InitializeComponent();

            mikeMoney.Text = _mike.Money.ToString(); // get the
            johnMoney.Text = _john.Money.ToString();
            kimMoney.Text  = _kim.Money.ToString();
        }
Пример #3
0
 public InitialCashTransmitter(Betters mike)
 {
     _mike = mike;
 }