private void button2_Click(object sender, EventArgs e) { StatisticsForm form = new StatisticsForm(); form.ShowDialog(); }