Esempio n. 1
0
        private void Form3_Load(object sender, EventArgs e)
        {
            richTextBox1.BackColor = Color.White;
            Score liste = new Score();

            richTextBox1.Text = "\n";
            richTextBox1.SelectionAlignment = HorizontalAlignment.Center;
            richTextBox1.AppendText("\t\t\t\t\t\t\t\tBestenliste");
            richTextBox1.AppendText(Environment.NewLine + "\n\n");


            richTextBox1.AppendText("\t\t\t\t\tName:\t\t\t\t\t\tPunkte:\n\n");
            for (int temp = 0; temp < 10; temp++)
            {
                richTextBox1.AppendText("\t\t\t\t\t" + liste.DruckenName(temp) + "\t\t\t\t\t\t" + Convert.ToString(liste.DruckenPunkte(temp)) + "\n");
            }
        }