private void button1_Click(object sender, EventArgs e)
        {
            Reguli reguli = new Reguli();

            this.Hide();
            reguli.Closed += (s, args) => this.Close();
            reguli.Show();
        }
Example #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            Reguli reguli = new Reguli();

            this.Hide();
            reguli.Closed += (s, args) => this.Close();
            reguli.Show();
            timer1.Enabled = false;
        }