예제 #1
0
        //Menu
        private void BtnContas_Click(object sender, EventArgs e)
        {
            frmConta conta = new frmConta();
            Form     cad   = Application.OpenForms["frmConta"];

            if (cad != null)
            {
                cad.Close();
            }
            conta.Show();
        }
예제 #2
0
        private void btnConta_Click(object sender, EventArgs e)
        {
            frmConta frm = new frmConta();

            frm.ShowDialog();
        }