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(); }
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(); }
public InitialCashTransmitter(Betters mike) { _mike = mike; }