Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Leaderboards lb = new Leaderboards();

            lb.Show();
            this.Hide();
        }
Beispiel #2
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            Leaderboards lb = new Leaderboards();

            lb.Show();
            this.Hide();
        }
Beispiel #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            string path = Directory.GetCurrentDirectory();

            sw = File.AppendText(path + "\\Scores.txt");
            sw.WriteLine(textBox1.Text);
            sw.WriteLine(Form1.score);
            sw.Close();
            Leaderboards lb = new Leaderboards();

            lb.Show();
            this.Close();
        }