private void stat_Click(object sender, RoutedEventArgs e)
        {
            statistics s = new statistics();

            s.Show();
            this.Close();
        }
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            statistics ed = new statistics();

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