private void GenerateBingoCard_Click(object sender, RoutedEventArgs e) { bi.StringSeed = Seed_TB.Text; bi.SetSeed(); bi.GenerateBingoCard(); Bingo_B_11.Content = bi.GetScrollsAt(0, 0); Bingo_B_12.Content = bi.GetScrollsAt(0, 1); Bingo_B_13.Content = bi.GetScrollsAt(0, 2); Bingo_B_14.Content = bi.GetScrollsAt(0, 3); Bingo_B_15.Content = bi.GetScrollsAt(0, 4); Bingo_B_21.Content = bi.GetScrollsAt(1, 0); Bingo_B_22.Content = bi.GetScrollsAt(1, 1); Bingo_B_23.Content = bi.GetScrollsAt(1, 2); Bingo_B_24.Content = bi.GetScrollsAt(1, 3); Bingo_B_25.Content = bi.GetScrollsAt(1, 4); Bingo_B_31.Content = bi.GetScrollsAt(2, 0); Bingo_B_32.Content = bi.GetScrollsAt(2, 1); Bingo_B_33.Content = bi.GetScrollsAt(2, 2); Bingo_B_34.Content = bi.GetScrollsAt(2, 3); Bingo_B_35.Content = bi.GetScrollsAt(2, 4); Bingo_B_41.Content = bi.GetScrollsAt(3, 0); Bingo_B_42.Content = bi.GetScrollsAt(3, 1); Bingo_B_43.Content = bi.GetScrollsAt(3, 2); Bingo_B_44.Content = bi.GetScrollsAt(3, 3); Bingo_B_45.Content = bi.GetScrollsAt(3, 4); Bingo_B_51.Content = bi.GetScrollsAt(4, 0); Bingo_B_52.Content = bi.GetScrollsAt(4, 1); Bingo_B_53.Content = bi.GetScrollsAt(4, 2); Bingo_B_54.Content = bi.GetScrollsAt(4, 3); Bingo_B_55.Content = bi.GetScrollsAt(4, 4); }
private void SeedTextBox_TextChanged(object sender, EventArgs e) { bingo.StringSeed = SeedTextBox.Text; bingo.SetSeed(); }