Hi,
I have a button with two functions.
When you open the window has a symbol (symbol1). 
When I pressed want you to have another symbol (symbol2).
Is it possible to do that? What is education?
You can also function in a MenuItem?
Regards
Alberto Ferraz
1° Adicione uma imageList ao seu formulário.
2° Adicione as imagens ao seu imageList.
3° Atribua à propriedade imageList ao objeto, no caso o button
4° Atribua à propriedade ImageKey ou ImageIndex a chave ou indice do seu image list
set button::ImageIndex to 0 *> para mudar a imagem
Hi,
I have a button with two functions.
When you open the window has a symbol (symbol1). 
When I pressed want you to have another symbol (symbol2).
Is it possible to do that? What is education?
You can also function in a MenuItem?
Regards
Alberto Ferraz
Boa tarde:
Obrigado pela sua resposta.
Esta funcionalidade funciona em WPF? É que não consegui encontrar a imageList na toolbox para poder adicionar.
Cumprimentos
Alberto Ferraz
Hi,
I have a button with two functions.
When you open the window has a symbol (symbol1). 
When I pressed want you to have another symbol (symbol2).
Is it possible to do that? What is education?
You can also function in a MenuItem?
Regards
Alberto Ferraz
Não fiz teste com WPF. Preciso aprender a programar assim. Abraços
Hi,
I have a button with two functions.
When you open the window has a symbol (symbol1). 
When I pressed want you to have another symbol (symbol2).
Is it possible to do that? What is education?
You can also function in a MenuItem?
Regards
Alberto Ferraz
I have attached a small demo that will dynamically toggle the image of a button each time it is clicked between on and off state. This demo uses a button control outside of a menu and inside a menu.
Hi,
I have a button with two functions.
When you open the window has a symbol (symbol1). 
When I pressed want you to have another symbol (symbol2).
Is it possible to do that? What is education?
You can also function in a MenuItem?
Regards
Alberto Ferraz
Hi Chris
I apologize for not having answered before but I have a problem using Visual Cobol that have delayed development.
I have tried your solution and it works well.
I will try to adapt it to menuitem to get better.
Thank you.
Alberto Ferraz