showing up agian a form that lies in bakground.

M

Medes

Hi,

I have created a Shared Add-in it contains a button, when you click on it, a
System.Winidwos.Forms.Form shows up, now i have two problems that i can not
solve them,

1. every time you click on the button it shows a new form, I want that it
shows just one form not more, even if you clicked on button many times. I
mean I don't want to disable the button , the button must be enabled always,
because of the following point:

2. when you work on the office document the form lies in bakground, when you
clik on the button the form must shows up agin . how?

thanks you all
 
P

pavan

i didnt understand your 2nd Q but for 1st one you can use FormName.Hide
and FormName.Show.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top