コード例 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form f = new frmConsultaProdutos();

            f.Closed += (s, args) => this.Close();
            f.Show();
        }
コード例 #2
0
        private void produtosCategoriaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form f = new frmConsultaProdutos();

            f.Closed += (s, args) => this.Close();
            f.Show();
        }