Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Reguli reguli = new Reguli();

            this.Hide();
            reguli.Closed += (s, args) => this.Close();
            reguli.Show();
        }
Exemplo n.º 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;
        }