Jump to content
Sign in to follow this  
Loira

ANSWERED Fechar um form ao clicar no botão

Recommended Posts

Loira

carrego no botao cancelar. vai po form dos menus. e fecha o form atual

private void btnCancelar_Click(object sender, EventArgs e)
	{
		menuadmin menuadminform = new menuadmin();
		menuadminform.Show();
		this.Close;
	}

isto da-me erro no this.close;

nao e assim que se faz? o.0

Edited by Loira

"Hello guys. You don't know me, but I know you. I want to play a game. Here's what happens if you lose"

"Só erra quem produz... Mas só produz quem não tem medo de errar"

irc @Login

NickServ Acesso a Number1 autorizado

Share this post


Link to post
Share on other sites
nelsonr

Experimenta assim:

this.Close();

Edited by nelsonr
  • Vote 1

Share this post


Link to post
Share on other sites
Loira

Experimenta assim:

this.Close();

UPS! tenho que me distrair menos :c ty*


"Hello guys. You don't know me, but I know you. I want to play a game. Here's what happens if you lose"

"Só erra quem produz... Mas só produz quem não tem medo de errar"

irc @Login

NickServ Acesso a Number1 autorizado

Share this post


Link to post
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
Sign in to follow this  

×
×
  • 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.