Jump to content

[Resolvido] fechar Forms em conjunto


Recommended Posts

Alguém poderia me ajudar em uma duvida.

Tenho dois formS o frmPlanodeCorte e o frmEstoque.

Crio instancia dos dois


frmPlanodeCorte frm1 = new frmPlanodeCorte();

frm1.MdiParent = this;




frmEstoque frm2 = new frmEstoque();

frm2.MdiParent = this;



Os dois estão dentro de um FormPai de menu

O meu problema é que quando Clicar no botão sair do frm2 quero fechar o frm1 em conjunto.

Alguem sabe como fazer isso?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.