private void button2_Click(object sender, RoutedEventArgs e)
        {
            teplorej tep = new teplorej(lx, ly, d, b, len);

            tep.Show();
            Close();
        }
        private void teprej_Click(object sender, RoutedEventArgs e)
        {
            teplorej teplorej = new teplorej(lx, ly, d, b, len);

            teplorej.Show();
        }