private void button2_Click(object sender, EventArgs e)
        {
            RepaintsList rl = new RepaintsList();

            rl.ShowDialog();
        }
        private void repaintsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RepaintsList rl = new RepaintsList();

            rl.ShowDialog();
        }