Esempio n. 1
0
        private void Draw_Click(object sender, RoutedEventArgs e)
        {
            Lottokone     test  = new Lottokone();
            string        txt   = Comboinput.SelectedItem.ToString();
            List <string> test5 = test.Draw(txt, Convert.ToInt32(Draws_input.Text));

            foreach (string row in test5)
            {
                output.Text += row;
            }

            //output.Text = test.Draw(txt, Convert.ToInt32(Draws_input.Text));
        }
Esempio n. 2
0
        private void Draw_Click(object sender, RoutedEventArgs e)
        {
            Lottokone test = new Lottokone();
            string txt = Comboinput.SelectedItem.ToString();
            List<string> test5 = test.Draw(txt, Convert.ToInt32(Draws_input.Text));

            foreach (string row in test5)
            {
                output.Text += row;
            }

            //output.Text = test.Draw(txt, Convert.ToInt32(Draws_input.Text));
        }